For all users,admins how are using or taying to connect to Microsoft Active Directory with PHP openLDAP extension, Apache,OpenSSL and they are getting:
"Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server"
here is the solution as i did:
--------------------------------
upgrade to PHP 5.4.x
creat a directory as: C:\openldap\sysconf\ldap.conf
write into this file (ldap.conf):
TLS_CACERT path\to\your\CA\cert\file.crt
(like d:\monCA_Cert\ca.crt)
restart your apache web server, and refresh your page and tell me (allah yar7am lwalidin)in arabic
for more here's my mail:[email protected]