ARGHHHH! Simple problem I'm sure.

King, Dwayne dwayne.king at bellnexxia.com
Sun Nov 5 18:40:24 GMT 2000


Robert,

Thanks for your reply.

Unfortunately, I went to the HPUX distrib of Samba because of problems with
the 2.0.7 source I tried.  The configure script fails on the 2.0.7
distribution with:

...
checking if large file support can be enabled
yes
checking configure summary
WARNING: No automated network interface determination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config

On another note, I have been taking a look in the logs, and found the
following:

[2000/11/05 13:37:03, 1] smbd/password.c:(505)
  Couldn't find user 'nobody' in smb_passwd file.
[2000/11/05 13:37:03, 1] smbd/reply.c:(909)
  Rejecting user 'nobody': authentication failed

Even though I have executed the following command successfully:

addtosmbpass dking strang root nobody < /dev/null >samba.pwd

BTW, how does samba know the name of the password file I want to use?

I'll keep plugging away, but I seem to be going in circles.  Thanks in
advance. 

DK

-----Original Message-----
From: Robert Dahlem [mailto:Robert.Dahlem at gmx.net]
Sent: November 5, 2000 5:08 AM
To: King, Dwayne; samba at lists.samba.org
Subject: Re: ARGHHHH! Simple problem I'm sure.


Dwayne,

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=142.183.217.206 bcast=142.183.217.255 nmask=
>255.255.255.0
>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=142.183.217.206 bcast=142.183.217.255 nmask=
>255.255.255.0
>Password: 
>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).


Regards,
        Robert


-- 
---------------------------------------------------------------
Robert.Dahlem at gmx.net           Fax +49-69-432647
---------------------------------------------------------------

Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email
software; far better than Outlook. Try it sometime.







More information about the samba mailing list