Fixed LDAP lookup for getting a users name