Web lists-archives.com

Re: [Samba] update google password using samba password chat




On Mon, 3 Jul 2017 09:35:15 +0200
Johan Verdoodt via samba <samba@xxxxxxxxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba