[Samba] update google password using samba password chat
Rowland Penny
rpenny at samba.org
Mon Jul 3 07:49:42 UTC 2017
On Mon, 3 Jul 2017 09:35:15 +0200
Johan Verdoodt via samba <samba at lists.samba.org> wrote:
> 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
>
OK, 'unix password sync' is meant to be used in [global], you seem to
have it in a share.
Can we see your entire smb.conf.
Rowland
More information about the samba
mailing list