SAMBA digest 2259 / Tree connect failed: ERRSRV - ERRbadpw

Axel Neumann amn at
Tue Oct 5 07:54:56 GMT 1999

Jens Rieck wrote:

	>>Can anyone help me?
	>>I have Samba 2.0.5a running on SuSE Linux 6.0 (2.0.36) and
	>>Windows NT Server 4.0 SP4 (PDC).
	>>When I try to do a "smbclient -L MYUNIX" (according to the trouble
	>>shooting guide) I get the following message:
	>>Addes interface bcast= nmask=
	>>Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a]
	>>tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in
	>>a Tree Connect or Session Setup are invalied.)
	>>I added my Linux machine to the NT Domain, and even if I try
	>>to do "smbclient -L MYUNIX -U myuser" and enter the correct
	>>password, I get this error message. But if I do "smbclient
	>>-L MYWINNT -U myuser", I get the list of shares on the NT
	>>machine. "myuser" is a regular user in Linux.
	>>What can be the reason of this? Any idea?
	[snip ..]
	I have not setup any Samba server in conjunction with a NT PDC, but the error message means
	that there is a problem with encryption. 

	On a stand-alone Samba Server I would say that you have misconfigured one of the following things:
	- Samba expects plain text passwords but client uses encrypted password or vice versa
	- smbpasswd file is not setup correctly.

	Maybe this information (see also ENCRYPTION.TXT in the source distribution) helps you a little further.


Axel Neumann
Cromemco MPCT GmbH                                                 Tel:      Int+49 6172 967860
Dietrich-Bonhoeffer-Str. 4                                                 Fax:    Int+49 6172 304519
D-61350 Bad Homburg                                                    E-Mail: amn at

More information about the samba mailing list