smbpasswd problem

Christian Barth barth at cck.uni-kl.de
Wed Feb 28 19:39:46 GMT 2001


May be you have a samba from your distribution and a self compailed 
on your system and the files and programms are mixed. Also: first 
generate the smbpasswd-file form /etc/passwd, then enable the user by 
setting his password with the smbpasswd-command. Make sure you are 
using .../samba/bin/smbpasswd and .../samba/private/smbpasswd OR the 
distributions files (may be /usr/sbin/smbpasswd and /etc/smbpasswd).

Also: Leave the domain beside first, try just to connect to a samba-
share from an NT PC. If this works, try the domain stuff.

Christian


> I have a domain set up using Samba 2.0.7. However, none of the users
> can login because of the smbpasswd file.  Even after running the
> 'smbpasswd' for each user when I added them to the system, it did not
> add them to the file. So I just generated one, as described in
> ENCRYPTION.txt, from a copy of the /etc/passwd file that had only the
> users I wanted added in it. It generated one, but the passwords don't
> match and I have no idea what the passwords are.  I believe that I
> have the shadow passwords option enabled on the Linux system. What can
> I do to get the users to login? The only issue according to log.smb is
> that it is not finding the password or the correct password in the
> smbpasswd file.

_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)




More information about the samba-ntdom mailing list