Passwd/smbpasswd Sync

Matt Chapman m.chapman at
Fri Jan 22 20:24:10 GMT 1999

Chris Wood wrote:

> I see how samba wants to sync the smbpasswd->/etc/passwd, but how does it
> handle it when the passwd file is changed first?
> My first guess is to just have users use smbpasswd to change the password
> and then it will update /etc/passwd automatically.  So, I'd always change
> smbpasswd first and let it change /etc/passwd.  I would never go
> passwd->smbpasswd.  Is that how everyone else is handling it?

If you are using the "unix password sync" option , then yes, you should give
your users smbpasswd instead of passwd to make sure their passwords stay in

If you are not using "unix password sync" then Samba will never change the
/etc/passwd passwords.


Matt Chapman
m.chapman at

More information about the samba-ntdom mailing list