With a little more searching, I found....
On Fri, 2013-05-10 at 21:22 +0200, Dr. Michael Cinti wrote:
> is there anyone who can explain me how to use "passwd program" in
samba4
The Samba 4.0 AD DC does not use this parameter currently.
You can use tools like pam_winbind to have PAM-based programs
authenticate against Samba however, or ask them to authenticate against
LDAP.
Sorry,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
So, I guess the answer is no.
----- Original Message -----> From: "Bo Kersey" <bo at vircio.com>
> To: "samba" <samba at lists.samba.org>
> Sent: Monday, March 31, 2014 3:05:19 PM
> Subject: [Samba] 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 passwords are changed, this script is never executed.
>
>
>
>
> --
> Bo Kersey
> VirCIO - managed network solutions
> 4314 Avenue C
> Austin, TX 78751
> phone: (512)374-0500
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
Bo Kersey
VirCIO - managed network solutions
4314 Avenue C
Austin, TX 78751
phone: (512)374-0500