[Samba] remote password change, if password is expired

Waishon waishon009 at gmail.com
Tue Mar 27 12:44:13 UTC 2018


if you like to write something on your own using PHP you can use this library:

Then ask the users on the webpage for their username and password and bind with it to the LDAP.

Then you've to send an delete request of the unicodePwd field with the old password and then an add request with the new password. Both requests have to be in one query otherwise samba is denying the change.

The password is encoded in UTF-16-LE. The library has a class to convert it:
From: samba <samba-bounces at lists.samba.org> on behalf of Marco Gaiarin via samba <samba at lists.samba.org>
Sent: Tuesday, March 27, 2018 2:29:35 PM
To: samba at lists.samba.org
Subject: Re: [Samba] remote password change, if password is expired

Mandi! Dr. Peer-Joachim Koch via samba
  In chel di` si favelave...

> we have a couple of users which "forget" to change the passwords even if
> they get an reminder.
> Normally we tell them to use a windows machine, where you can change your
> password if it's expired.
> But how can a remote user change his password if it's expired ?
> Is there any secure solution for this  ?

...for things like that, normally i use:


dott. Marco Gaiarin                                     GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

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

More information about the samba mailing list