Connecting to LDAP
Posted on 2006-04-28
Im trying to create a simple PHP page to connect to LDAP.
Active Directory is installed on the server.
What im want to do is:
1) engineer logs into our machine on the network via AD.
2) when the engineer starts FF or IE to browse the web, display my PHP page as their homepage and display all that users details stored in AD. (so somehow the PHP php will have to know who is viewing the PHP page by connecting to LDAP and finding the current login creditinals... i think? )
3) allow the user write data back into AD if they decide to edit there details..
stages 1 & 2 is what im planning to getting working for now. stage 3 will be another question in a few days...
needing some code examples for satges 1 & 2 above.