itdc Posted May 19, 2011 Report Posted May 19, 2011 Hello All, I have windows server 2003 and I install IIS 6 on it and we need to use PHP script to connect to active directory but when we try ldap_connect(...) it is not working I try a lot of things to do but the same any help please?????? All the best, IT Dubai College.
itdc Posted May 20, 2011 Author Report Posted May 20, 2011 Dear acerf1, We use php script for connection to AD. And we have a lot of scripts. And we need to go to internet and we need https not http in the internet for security and we try with apache server to do https but we don't success and we don't have time to rewrite the scripts in ASP do you have any solution for this problem??? Best, IT Dubai College.
AshEarl Posted May 20, 2011 Report Posted May 20, 2011 Hiya ldap in iis6 and php works fine once you have [php_LDAP] extension=php_ldap.dll at the end of your php.ini file. The php.ini file should be in c:\Program Files\PHP\ directory Once done restart IIS services Double check c:\Program Files\PHP\ext\ directory for the php_ldap.dll file, it should be there from the php installer. Fingers crossed for you 1
AshEarl Posted May 20, 2011 Report Posted May 20, 2011 Also, for a great LDAP class that you can use for all LDAP connections, visit: adLDAP - LDAP Authentication with PHP for Active Directory
itdc Posted May 20, 2011 Author Report Posted May 20, 2011 Dear AshEarl, I'll try thanks. Best, IT Dubai College
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now