user_ldap: Log something on failure due to SSL problems
|Reported by:||Olivier Mehani||Owned by:|
The SSL certificate of my LDAP server lapsed yesterday. I renwed it but forgot to restart the server.
My MediaGoblin instance authenticates users against this LDAP server, and started refusing logins, showing just “Login failed” in the UI.
Nothing appeared in the log suggesting that, rather than an invalid user or password, the reason of the failure was an SSL error when connecting to the server.
It would be good to log this explicitely, to help debugging those weird issues.