ARGHHHH! Simple problem I'm sure.

Robert Dahlem Robert.Dahlem at
Sun Nov 5 10:08:01 GMT 2000


On Thu, 2 Nov 2000 15:55:09 -0500, King, Dwayne wrote:

>I have spent the last week spinning my wheels on many installs of 
>Samba. Finally found the HP specific CIFS and installed it, which 
>fixed some problems.

>Now I am stuck somewhere else (big surprise):

># smbclient -L localhost -U%
>added interface ip= bcast= nmask=
>Domain=[BELL] OS=[Unix] Server=[Samba 2.0.6]
>tree connect failed: code 0

According to the usenet this one ("tree connect failed: code 0") 
almost always has to do something with a mismatch between an older 
Linux kernel and a newer glibc. Well, this is clearly NOT your 
problem. :-) But indeed it points to some mismatch between your system 
and the Samba binary you installed.

I suggest you go and get yourself a fresh copy of the Samba sources 
(2.0.7) and recompile/reinstall from scratch.

># smbclient -L localhost
>added interface ip= bcast= nmask=
>session setup failed: ERRSRV - ERRbadpw (Bad password - name/password 
>pair in a Tree Connect or Session Setup are invalid.)

This might have to do with the above problem, but in most cases its 
just your user is not in smbpasswd or has no password set there (you 
will find more details in ENCRYPTION.txt).


Robert.Dahlem at           Fax +49-69-432647

Sent using PMMail ( - fast, decent, email
software; far better than Outlook. Try it sometime.

More information about the samba mailing list