added ldap lookup