[Samba] Linux and SMB using single passwd

Steven Mackenzie sjm at activenavigation.com
Tue Feb 19 08:46:03 GMT 2002

I don't use PAM, but I get the functionality that you want (I think!).

(I use 2.2.X as a PDC, but I don't think any of this is PDC specific).

I have
encrypt passwords=yes
passwd program=/usr/bin/passwd %u
passwd chat=*New*password* %n\n *new*password* %n\n *updated*
unix password sync=yes

This means I've had to set up a smbpasswd file, and have to use smbpasswd to
addusers to it after I've created their linux accounts. This is described in
the docs supplied with the samba code.

The unix password sync works, so smbpasswd can change both passwords at the
same time. It did take me a couple of goes to get the right password chat

----- Original Message -----
From: "Macky" <macky at opusvl.com>
To: <samba at lists.samba.org>
Sent: Tuesday, February 19, 2002 2:28 PM
Subject: [Samba] Linux and SMB using single passwd

> Hi All,
> I would like to set up a samba server but using the same user / pass for
> 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
> then use encrypted smb passwords?
> I understand that if the smb is not running, unix users will not be able
> log in but this will not be a problem.
> Macky
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list