I am working on an internal in and out board for our work place. Our current application is having issues plus it is being hosted on Windows Serer 2003 which is losing support come July (2015). We are starting on a new application since our old one is now 7 years old and we have no staff able to edit it. Our old application is written in asp.net while we want to be able to use PHP with our new product. My question is basically what do I need to research to learn LDAP and php. I know our current application uses the current windows user to authenicate, no logging in or anything. All it does is use the user to display "Welcome John Smith!" and has options for the user to indicate whether they are in or out at the current time as well as a comments field, it then takes the information and pushes it into SQL 2005 with a table that has users, status and comment and that is it. Our new application is going to be running on a Windows 2008 R2 server with IIS 7.5, PHP, FastCGI and LDAP extentions running. I have been googleing around but I don't know what exactly to look for. I haven't found any good code that is really newbie friendly to help start learning LDAP. I was using PHP's manuels on various parts but still don't really know if I understand any of it. I figured I would post here with what we are trying to do and see if you could point me in the right direction to resources to help me accomplish our task. I know we'll need to connect to LDAP and I've done that and then we have to do something with LDAP_BIND like:
$ldapbind = ldap_bind($ldapconn, $ldapuser, $ldappass);
I have the $ldapconn down but the $ldapuser is not the local user right, it is our ldap user set up to be able to access AD correct?
Anyways, I don't really know how else to explain it so if anyone can help in any way please let us know. Our old system is litrally falling apart and we would like to establish a new system that will work for many years to come.