fixed: error in implementation of LdapAdapter