[Samba] update google password using samba password chat

Johan Verdoodt johan.verdoodt at bednet.be
Mon Jul 3 08:41:29 UTC 2017


>The 'passwd program' does not operate on the AD DC.

Ok that explains a lot.

Thanks  !   I will checkout the docs :-)

2017-07-03 10:34 GMT+02:00 Andrew Bartlett <abartlet at samba.org>:

> On Mon, 2017-07-03 at 09:35 +0200, Johan Verdoodt via samba 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
> >  )
> >
>
> If you are running the Samba AD DC, then for 4.5 you can use the
> 'samba-tool user syncpasswords' tool.
> https://www.samba.org/samba/history/samba-4.5.0.html
>
> For Samba 4.7 you can use the new 'password hash userPassword schemes'
> option to store a crypt() password when the user's password is changed,
> rather than a GPG encrypted plaintext.
>
> The 'passwd program' does not operate on the AD DC.
>
> I hope this helps,
>
> Andrew Bartlett
>
>
> --
> Andrew Bartlett                       http://samba.org/~abartlet/
> Authentication Developer, Samba Team  http://samba.org
> Samba Developer, Catalyst IT          http://catalyst.net.nz/
> services/samba
>
>


-- 
Mvg,

Bednet vzw - synchroon internetonderwijs
Met steun van de Vlaamse Overheid

Johan Verdoodt
Stapsteenweg 1B, 9070 Destelbergen
✆ +32 (0) 479/ 45 19 17

Volg ons op Facebook <http://www.facebook.com/bednet> en Twitter
<http://www.twitter.com/BednetBE>
https://www.bednet.be


More information about the samba mailing list