Hello, I'm using the 4.3.0 version of php on Windows 2000 SP3. I'm trying to get php to make a secure connection to our ldap server. I am able to make insecure connections and queries just fine. In the php.ini file I have enabled php_ldap.dll and php_openssl.dll. If I attempt to use ldap_start_tls I get an error: 'Call to undefined function'. So I'm assuming the ldap libs were not compiled with TLS. Unfortunately I cannot get ldaps to work either. Using a statement like: ldap_connect("ldaps://ldap.host.com") or ldap_connect("ldap.host.com", 636) produces the error: 'Unable to bind to server', when a bind is attempted. Our ldap logs show a connection being opened and then immediately closed.
I also tried downloading and installing libsasl.dll, but this had no effect on my problem. Does this version php for windows suppport secure connections? --Daniel Fisher -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php