[Samba] Re: Password Syncing

Ulf Dettmer ulf.dettmer at imk.fraunhofer.de
Mon Aug 16 08:23:53 GMT 2004


Hi,
the file you need to modify is /etc/pam.d/passwd . You should include a 
line like this:
password required       pam_smbpass.so  use_authtok use_first_pass 
smbconf=/etc/samba/smb.conf
cheers, Ulf


Stephen Le schrieb:
> Hello,
> 
> Is there a way to sync the Unix password database with Samba's
> database? I know that Samba is able to update the Unix database if a
> user changes their password via smbpasswd, but what if a user changes
> their Unix password with passwd?
> 
> I looked into libpam-smbpass, but it didn't seem to work; the
> documentation was rather sparse, so I just overwrote my
> /etc/pam.d/samba with the provided "password-sync" in the samples
> directory.
> 
> Additionally, I would prefer not to use unencrypted passwords.
> 
> Thanks,
> Stephen Le



More information about the samba mailing list