log error cause when ldap backend fails