hmm just noticed someone else did write something similar middle of last year, if I recall I was on vaction that whole week so doubtless I missed it.Old LDAP Thread
I will review that threads code and see what I can find that may help my code. I already have the code down for pulling all needed info from AD to create GL users, my next task will be to reverse the flow use php to create the user as an admin tool this will obvious require some careful code work inorder to prevent hacking of the AD by a user or internet hacker if the site is exposed (See my Lockdown Hack to help with that)
My code is a bit more streamlined, as it does not require an alternate login screen, as it uses a more inline approach.
The Only thing I may not be able to do is change the password, well right away anyhow, as AD requires SSL to change the password I believe. However the easy work around there is to exicute a command line or server local vbs script for setting the password.