This code is copied and simplified from ADIPART (on SourceForge) originally written by Leon Garcia https://sourceforge.net/users/leongarcia
All credits to him.
This simplified version doesn't require a Database but simply the presence of the email field for all AD users.
On username or mail address entering, the user receives an Email with a link to have his/her password reset.
Very simple,
Requires PHP 5 with LDAP and SSL : from here : http://www.php.net/manual/fr...