Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to change active directory passwords via a Linux/Apache based webpage. This would be a self serve web page for the user. I have SSL-LDAP setup on the Active Directory to make this happen. Is there any project or code out there that will do this?

I've looked at this phpadadmin and I cannot get it to work. I think this is for IIS/php/mySQL

Another thing to note is I would like the user to authenticate to change their own password. The product/service should not need a privileged account to run.

Thanks Keith

share|improve this question
Active Directory uses some sort of proprietary hashing. I dropped a similar project, unable to find a solution. – Andrioid Aug 30 '09 at 8:10
up vote 2 down vote accepted

I don't know of any pre-built solutions, but you could pretty easily create a web page which shells out and executes 'adtool'.

See a nice overview here:

share|improve this answer

phpadadmin is just a wrapper for adLDAP.

Both of which require the php-ldap extension be installed.

share|improve this answer

Check out some of the PERL Win32:OLE modules or just any LDAP module for that matter. I once wrote a perl CGI web app for doing the same thing using the Win32:OLE module but AD is just LDAP.

share|improve this answer

For a paid solution, myPassword from Namescape handles this pretty nicely.

share|improve this answer
Looks like this is a webpage solution. However, this does not fulfill my requirements. I'm looking for something that runs in a Linux/Apache environment. – keithosu Aug 30 '09 at 20:10

checkout this link, it should be possible to get phpldapadmin to tie in with an Active Directory server to get the job done.

share|improve this answer

The LDAP Tool Box Self Service Password does exactly this. And it is open source!

share|improve this answer

From the LDAP toolbox Self Service Password docs for Active Directory: Due to PHP LDAP API limitations, changing password as user is not possible. You need to change it as manager.

share|improve this answer
Editing your answer to add a link to those docs would be helpful. – pjmorse Sep 23 '12 at 17:38

CorendalDirectory is FREE and a pretty sophisticated LAMP and Web-based AD management tool.

It has the self-service password changing you are looking for and even user and group template based object creation, too.

share|improve this answer

Self-service password from the LTB-project is a simple open source PHP application to allow users to change their own password on any LDAP server. It is compatible with AD.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.