So its come to that point in your life where a project is using LDAP. In my case, it was a php Laravel app.
The environment: Mac OSX 10.8.5 with MAMP and openldap. The error? Can’t bind to server.
Use something like Apache Directory Studio with the same settings as your app is configured to use. If it works, your issue lies in self-signed certificates and connecting over secure ldaps://
protocol.
On OSX, edit your /etc/openldap/ldap.conf
and change TLS_REQCERT
from demand
to never
Your hazing is now complete.