very simple (and old) PHP/web-based LDAP password change
This is old code. It was not written with heavy security in mind. It should only be used as a basis for learning how to change a users LDAP password.
Drop the two files in an LDAP authenticated directory. Configuring LDAP authentication per-directory is left as an excerise for the user.