shadow password

Ashish Lal lal at
Fri Oct 29 19:35:44 GMT 1999

Here are some more details. The host name of the computer where samba is
installed is "star"
(1) "smbclient -L star" gives the following output -

Added interface ip=.(actual IP address) bcast= (actual IP address)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.0.3]

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        public         Disk      Public Stuff
        IPC$           IPC       IPC Service (Samba Server)
        lp             Printer

        Server               Comment
        ---------            -------
        STAR                Samba Server

        Workgroup            Master
        ---------            -------
        MYGROUP              STAR

   (2) smbclient //star/tmp -Uroot
(note: w.x.y.z below is a valid IP address.)

Added interface ip=w.x.y.z  bcast=w.x.y.255 nmask=
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)

>From /var/log/samba/
[1999/10/29  3:26:25, 0] smbd/password.c:pass_check_smb(513)
  Error : UNIX and SMB uids in password files do not match for user 'root'!

The smbpasswd file was generated using the method descibed in
So my guess is that this is due to the shadow password problem. Is there a
way to fix it?

>> workstation. I am using version 2.0.3 that comes with RedHat 6.0. I have
>> gone through the steps in UNIX_INSTALL.txt. But TEST 7 in DIAGNOSIS.txt
>> always fails (bad password). I think this is because of the fact that my
>Does it say what Domain you're trying to authenticate against?  Is your
>box functioning as PDC?  On NT4 box, try
> net use \\server\share /user:samba-domain\samba-user
>and be explicit when telling the NT box (and the Samba against which you
>are authenticating) what's going on.
>Certainly it could be shadow-passwords as well, although usually you have
>your smbpasswd file anyway.
>Paul Hirose          : pthirose at : Sysadm Motto: rm -fr /my/life
>1035 Academic Surge  : Programmer/Analyst   : Backup Motto  : rm -fr /
>One Shields Avenue   : Fax   (530) 752-4465
>Davis, CA 95616-8770 : Voice (530) 752-7181 :

More information about the samba-ntdom mailing list