Home
Name Modified Size InfoDownloads / Week
include 2014-01-31
css 2014-01-31
images 2014-01-31
README 2014-01-31 2.6 kB
COPYING 2014-01-31 35.8 kB
Self Service AD Password Reset.docx 2014-01-31 18.8 kB
jquery.notifyBar.js 2014-01-30 2.6 kB
jquery.min.js 2014-01-30 72.2 kB
index.php 2014-01-30 797 Bytes
changepass.php 2014-01-30 4.1 kB
adipart.js 2014-01-30 5.2 kB
passreset.php 2014-01-30 3.4 kB
resetcode.php 2014-01-30 6.2 kB
gencode.php 2014-01-30 5.0 kB
genpass.php 2014-01-20 1.9 kB
Totals: 15 Items   158.5 kB 1
Self Service AD Password Reset
This toolset allows users to 
1) Reset their (forgotten) password to a random one link is sent to the email address contained in AD
2) Change their password if they don't have direct workstation access to the domain (remote users) 

Credits : 
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. 

Installation instructions: 

-	Make sure your server is registered in your DNS (required for Captcha)
-	Install IIS 
-	Install PHP for IIS from : http://www.php.net/manual/fr/install.windows.iis7.php (follow the CGI and following instructions for a safe installation of php)
-	Create a new website (e.g. c:\inetpub\wwwroot\ssadpr\) (responding to a specific port if 80 is already used) 
-	Register with google captcha webservice (you will need server name) : http://www.google.com/recaptcha/whyrecaptcha
-	Download SSADPR from SourceForge : https://sourceforge.net/projects/selfserviceadreset/files/?source=navbar
-	Install the files on your website (e.g. c:\inetpub\wwwroot\ssadpr\) 
-	From your DC, Export your CA certificate (no private key export, base64 format) and save it as " exported_root_CA.cer"  
-	Create  a folder : C:\OpenLdap\sysconf\ (case is important, this is apparently hard coded in the LDAP extension for PHP/IIS)
-	In this folder put a copy of your exported certificate
-	In this folder put the following file : C:\OpenLdap\sysconf\ldap.conf with the following 2 lines
o	TLS_REQCERT never
o	TLS_CACERT c:\OpenLDAP\sysconf\exported_root_CA.cer
-	Edit ..\include\configpage.php as follows: 
o	$LDAPHOST="name of your DC";
o	 $LDAPADMIN="AD account with password reset priviledges";
o	 $LDAPADMINPASS="password of account above";
o	 $LDAPDATAFIELD="mail"; // name of the " mail " field in your AD . normally "mail" 
o	 $LDAPDOMAIN="dc=company,dc=com";
o	 $LDAPLOCALDOMAIN="full domain name";
o	 $LOGO="images/self.png";
o	 $mailsender="name.of.email.sender@your.domain.com";
o	 $LOCALMTA="Full name of the SMTP Server"; 
o	 $sendername="Name to sign the emails";
o	 $website="http://website this application is running on/adipart/";
o	 $recaptcha_pub="public key given by google captcha registration";
o	 $recaptcha_priv="private key given by google captcha registration";

-	That should be it.  Point your browser to http://your.web.site/index.php and enjoy

PO

Source: README, updated 2014-01-31