[ELY-16] Add the mapNameToPrincipal implementation for LDAP.