Displaying 1 result from an estimated 1 matches for "passtest".
2014 Mar 31
1
Unix Password Sync
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...
#!/bin/bash
set -e
user=$1
echo "enter password"
read pass
echo "$user:$pass" >> /tmp/passtest
It seems that when pas...