LDAP - distinguished name

a_qulatein
Mega Contributor

Using a transform map. I have mapped the manager field in AD to the manager field in ServiceNow users table. This is currently pulling the full distinguished name with the LDAP query e.g.   CN=John Doe,OU=Service Desk,OU=Users,OU=TEST

 

How can I filter this in the transform map so that it only pulls the displayed value (John Doe)?

4 REPLIES 4

poyntzj
Kilo Sage

in our transform map, in the main script, we have the following line that does this



ldapUtils.setManager(source, target);



No mapping of field sourcefield to the target.manager field


Thanks Julian. That worked.


Hi @poyntzj 

i am trying to mapping where can we map the whole path the DN is there a default field where it get sets or do we need any custom field to have the whole DN

Thanks

Nisha30
Kilo Sage

Hi @a_qulatein 

i am trying to mapping where can we map the whole path the DN is there a default field where it get sets or do we need any custom field to have the whole DN

Thanks