Modifying the LDAP security adapter