In the PROVISIONING FROM LDAP TO DRUPAL MAPPINGS: section

I placed [attribute] in the Source LDAP Tokens
and selected
LDAP Entries that

What I get is

CN=good_part1\, good_part2,OU=Section,OU=Accounts,OU=LOC,OU=AMER,OU=Regions,DC=p1,DC=p2,DC=p3,DC=com

How can I just get good_part1 and good_part2?

or does this have to do with how the Active Directory is set up?

Comments

johnbarclay’s picture

[cn]

CodyS’s picture

Just [cn]? If I do that I get the value of the name of the user.

johnbarclay’s picture

what attribute do you want? [cn] will get you the cn attribute.

CodyS’s picture

It is the manager.
I put [manager] in the line and when I view the value it contains cn= manager_Last, manager_first OU= ... etc

Is the Active Directory set up so you can use that attribute to get to the manager?

johnbarclay’s picture

I get it. No there is no built in functionality for what you are trying to do. An approach to add this functionality would be a patch that had a token such as [manager.rdn.cn]

CodyS’s picture

Is this something that would need to change in the Active Directory?

Where do you recommend that I manually parse this string and only extract the value I need?

larowlan’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

no update for > 12 months - closing