Fix the LDAP logging