Hello Everyone,

Greetings.

I am unable to bind to active directory using TLS. I get the following error while executing my script via the browser

PHP Warning:  ldap_start_tls() [<a href='function.ldap-start-tls'>function.ldap-start-tls</a>]: Unable to start TLS: Connect error

The same script when executed from the command line works!.

I have compiled PHP with flags --with-ldap  --with-ldap-sasl --with-openssl  . 

Can you help me further trouble shoot this problem?.

Thanks
Harish