[Samba] Unix password sync

flinchlock fst6x7v02 at sneakemail.com
Tue Feb 24 14:04:00 GMT 2004

Quoting "Ben Jensz"
> So basically because it won't even work via smbpasswd from the
> machine 
> as the unprivileged user, then changing from Windows won't (and
> doesn't) 
> work either.

I'm running SuSE 9.0 samab-2.2.8a, and the default settings for
"passwd program" are NOT correct.

I had to add "%u" to: passwd program = /usr/bin/passwd %u

According to my smb.conf.5.html...

"Note that if the unix password sync parameter is set to yes then
this program is called AS ROOT before the SMB password in the
smbpasswd(5) file is changed. If this UNIX password change fails,
then smbd will fail to change the SMB password also (this is by

This is the reason you need to add "%u".


More information about the samba mailing list