[Samba] smbclient works, mount does not

James S. Martin james.martin at digex.com
Thu Jul 18 09:44:02 GMT 2002


For some stranger reason, I am able to authenticate to my samba server 
from a Linux client using

smbclient //10.1.1.1/stuff -U smbuser

I'm also able to map a drive from a Win2K machine.

however if I try to :

mount -t smbfs -o user=smbuser,password=doh //10.209.81.38/stuff /mnt

I get the following error:

7321: session setup failed: ERRSRV - ERRbadpw (Bad password - 
name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed

I'm using RH 7.2, Samba 2.2.1a.  My smb.conf looks like this:


[global]


workgroup = linux
server string = have a nice day
security = user
encrypt passwords=yes
smb passwd file = /etc/samba/smbpasswd
netbios name = linuxwoot

[stuff]

browseable=yes
comment = test files
path = /local/share
valid users = smbuser
writable = yes
printable = no
force create mode = 0777
force directory mode = 0777
delete readonly = yes

Any help would be appreciated,

James





More information about the samba mailing list