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
Comment #1
johnbarclay commented[cn]
Comment #2
CodyS commentedJust [cn]? If I do that I get the value of the name of the user.
Comment #3
johnbarclay commentedwhat attribute do you want? [cn] will get you the cn attribute.
Comment #4
CodyS commentedIt 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?
Comment #5
johnbarclay commentedI 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]
Comment #6
CodyS commentedIs 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?
Comment #7
larowlanno update for > 12 months - closing