I have a custom client attribute called "manager" that pulls the "manager" field from our active directory during LDAP import. Unfortunately, it pulls in the full DN of the manager, not the friendly name. So, for instance, for my account it pulls in my manager as:
Any idea how I can get it to just pull ManagerFirst and ManagerLast?
In other contexts, I've created follow-up queries to retrieve records by DN; so I can subsequently get at the first (givenName) and last (sn) names of the manager. Of course, this can really kill you if this is inside a loop and you've not optimized it.