Yesterday I had to do some debugging to find out why an LDAPS connection didn’t work.
The main trouble was that the authLdap plugin for WordPress didn’t work for someone. After a bit of back and forth we figured out that it worked for other applications but not for PHPs LDAP-extension.
The error they got was the usual cryptic Can't contact LDAP server
which says nothing at all as that can mean so many different things.