Added ldap logging - partial