Search code examples
phpldapezpublish

using LDAPS authentication


I am using LDAPS authentication with Open source CMS ez publish. I have made all the configuration settings that I am suppoed to make. But, I still cannot get LDAPS authentication to work!

on debugging, I found that ldap_connect fails and it returns resourse id #80 or resource id #75 sometimes. Is there any documentation that describes what these resource ids mean? Even the php documentation of ldap_connect doesn't have any information on these resource ids. Or is there some thing else that I could have done wrong?


Solution

  • The PHP manual on resources. Seems like ldap_connect() is successful. If it fails, it returns FALSE.