[Samba] Linux and SMB using single passwd

Michael Heironimus
2002-02-19T09:17:04Z

Look at the "unix password sync" in smb.conf. It will allow you to
have
Samba automatically change the user's UNIX password to match the Samba
password. The first time a user uses smbpasswd after you configure that
it should update their UNIX password to be the same. Of course, if
somebody runs passwd directly it will change the password on the UNIX
side without updating the Samba password, if you think that's a big deal
you can (carefully) replace the passwd command with a script or symbolic
link for the ordinary users.

On Tue, Feb 19, 2002 at 02:28:13PM +0000, Macky wrote:
> Hi All,
>
> I would like to set up a samba server but using the same user / pass for
unix
> logins and smb logins.
>
> This works fine if I use non-encrypted passwords but I have to apply the
> registry patch to set my win98 clients to use non-encrypted passwords.
>
> Could I use pam_smb to authenticate the Linux box against its own smb
server
> then use encrypted smb passwords?
>
> I understand that if the smb is not running, unix users will not be able to
> log in but this will not be a problem.

--
That feeling just came over me.
                -- Albert DeSalvo, the "Boston Strangler"