This is driving me up the wall. I've had a basic samba server up for a couple of years and it was easy to do. Now with a second server I try to mount the same shares from the new linux box but I can get nothing to work. I would use NFS between the linux boxes but the support isn't compiled into my kernel, and I don't want to tackle that beast tonight... To test I tried the smbclient first: smbclient //myhost/myshare /mnt/mymount username=myname/MYHOUSE It prompts me for a password but I get an ERRbadpw (Bad password - name/password pair is in a Tree Connection or Session Setup are invalid.) Is it a problem with password encryption or something? When I do a 'smbclient -L myhost' I can see the shares. I think my lmhosts is correct and I have 'name resolve order = lmhosts bcast' in my smb.conf. All the addresses are internal 192.x with names given to them via the /etc/hosts file (I'm not running DNS). Using Samba 2.0.7. So, for another test I decided to create a share on my NT desktop and tried to attach using my admin username/password... on that one I get an Access Denied, so I checked the permissions on the NT box and everyone gets access. What gives? I don't care about access to this one but I am feeling lost tonight -- I'd really like to get the two linux machines talking over samba. k -- kelly's red beet factory http://www.redbeet.com A boy, not a girl in Calgary Canada.
On Sat, 17 Mar 2001, Kelly Martin wrote:> To test I tried the smbclient first: > > smbclient //myhost/myshare /mnt/mymount username=myname/MYHOUSEWhere did you get that syntax from? If it is smbmount you need a -o before the options, and smbclient doesn't look like that at all. What is "myname/MYHOUSE"? If it is domain/workgroup related use the workgroup option to specify domain/workgroup. Finally, I think you may be happier using NFS between 2 unix boxes. But it is of course your choice. /Urban
>> To test I tried the smbclient first: >> >> smbclient //myhost/myshare /mnt/mymount username=myname/MYHOUSE> Where did you get that syntax from?I got it from a long night with lots of coffee. I was thinking smbmount with -o, sorry. Was playing with both.> If it is smbmount you need a -o before the options, and smbclient doesn't > look like that at all. What is "myname/MYHOUSE"? If it is domain/workgroup > related use the workgroup option to specify domain/workgroup.Let's try this again, then: smbclient \\\\MYHOST\MYSHARE password -U username -W workgroup Yay, it works! Duh. The wonders of a good night's sleep and a gentle email prod.> Finally, I think you may be happier using NFS between 2 unix boxes. But it > is of course your choice.I figure it's easier than compiling a new kernel for the first time. :) -- kelly's red beet factory http://www.redbeet.com A boy, not a girl in Calgary Canada.