I've got it working 90% of the way, but I cannot get LDAP over SSL ("LDAPS") working. Non-encrypted LDAP works fine.
LDAPS reports that my username/password is invalid, but this is not true. I ran into this problem when setting up AD integration with LDAP on IIS, and the solution was for me to put a file at C:\OpenLDAP\sysconf\ldap.conf with the contents:
- Code: Select all
On IIS, this worked fine.
The problem seems to be that Apache does not look for the ldap.conf file at this location, and I'm not sure how to fix it. I ran process monitor while attempting to log into a test website running XAMPP with my AD credentials, and process monitor shows that httpd.exe is trying to read the file at C:\xampp\apache\%SYSCONFDIR%\ldap.conf. I created an environment variable, %SYSCONFDIR% and set it to 'conf', and put my ldap.conf file in C:\xampp\apache\conf\ldap.conf but this didn't work either.
Does anyone know how to fix this problem? How do I tell Apache the correct location of ldap.conf?