Updated how use names are retrieved from LDAP to not use depricated
methods