[Samba] update google password using samba password chat

Johan Verdoodt johan.verdoodt at bednet.be
Mon Jul 3 07:35:15 UTC 2017


Dear all,

I am checking out all possibilities to update  a google password when a
user changes his/her samba password..
I tested with  "passwd program="
But my script /sbin/update-google  never gets executed

The script uses GAM  to update the password ( https://github.com/jay0lee/GAM
 )



samba Version 4.2.14-Debian

[general]
       unix password sync = yes
       passwd program=/sbin/update-google %u
       passwd chat= *password* %n\n *google-password-updated*
       passwd chat debug = yes
       log level = 100

Every idea or suggestion is more than welcome....

regards,


Johan Verdoodt
Belgium


More information about the samba mailing list