Ron House
2007-Feb-27 05:46 UTC
[Samba] Can't solve: ERRSRV - ERRbadpw (Bad password - name/password pair
Hi, I have four computers on a home network: A) A 2004-era debian machine B) A 2005-era debian machine C) A 2007 xandros machine D) A 2007 kubuntu machine The problem: Machines B and C allow users to mount samba shares, but machines A and D don't. I get: smbmount //spk/homes ~/mnt Password: 3573: tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) SMB connection failed I have gone crazy trying to fix this problem, but it doesn't seem to depend at all on what is in the /etc/samba/smb.conf file. I even copied the working conf file from C to D (suitably editing machine names etc.), but got exactly the same error. I have run through so many totally different smb.conf files, I am sure that it isn't that that is causing the trouble. For example, here is one that works on C but not on D: [global] workgroup = gemmie server string=%h (Kubuntu Desktop) dns proxy=no name resolve order=lmhosts host wins bcast log file=/var/log/samba/log.%m max log size=1000 syslog=0 panic action=/usr/share/samba/panic-action %d security=SHARE encrypt passwords = true passdb backend=tdbsam ldap delete dn=yes obey pam restrictions=yes invalid users=root map to guest=Bad User passwd program=/usr/bin/passwd %u passwd chat=*Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . client use spnego=no load printers=no printing=cups printcap name=cups dos filetimes=yes socket options=TCP_NODELAY display charset=iso8859-1 unix charset=iso8859-1 preserve case=yes case sensitive=no short preserve case=yes os level=20 [homes] create mask = 0775 comment = Home Directories directory mask = 0775 writeable = yes path = /home/%u case sensitive = yes A few more facts: the user attempting to mount the share has the same uid and password on all machines, so unless there is some other password somewhere in the samba system, it _is_ getting the right password. Furthermore, all machines can ssh and scp to/from all others. To make matters worse, I can't find any error logs. A recursive grep on /var/log for samba only finds the startup messages from when the machine is turned on. I am desperate, desperate, I tell ya! All ideas VERY gratefully accepted!!! BTW, when changing smb.conf, what is the recommended way to restart the samba server with the new settings? The man pages aren't too clear on that. -- Ron House house@usq.edu.au http://www.sci.usq.edu.au/staff/house This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email. The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt. The University of Southern Queensland is a registered provider of education with the Australian Government (CRICOS Institution Code No's. QLD 00244B / NSW 02225M)
Apparently Analagous Threads
- Fatal Samba bug? Why can't anyone answer this question?
- smbmount and session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.
- SAMBA digest 2259 / Tree connect failed: ERRSRV - ERRbadpw
- I am getting "sessionsetup failed: ERRSRV - ERRbadpw (...)
- Tree connect failed: ERRSRV - ERRbadpw