[Samba] Unix Password Sync

Bo Kersey bo at vircio.com
Mon Mar 31 14:05:19 MDT 2014

Does unix password sync still work in Samba 4.1.6?

I'm trying to debug setting passwords on a system...  I have this in smb.conf

        passdb backend = samba_dsdb
        passwd program = /usr/local/sbin/passtest.sh %u
        passwd chat = *password* %n\n
        passwd chat debug = Yes
        unix password sync = Yes

My passtest.sh script is very simple...

set -e


echo "enter password"
read pass

echo "$user:$pass" >> /tmp/passtest

It seems that when passwords are changed, this script is never executed.

Bo Kersey 
VirCIO - managed network solutions 
4314 Avenue C 
Austin, TX 78751 
phone: (512)374-0500 

More information about the samba mailing list