LDAP Manager Field

carlosrlara
Mega Expert

I presently have the LDAP looking for the following attributes

sn,name,telephonenumber,samaccountname,source,mobile,mail,physicaldeliveryofficename,givenname,useraccountcontrol,manager

When i tested an import the manager field comes in as such

i have edited below

CN=user,OU=company,OU=location,OU=location...

From the posts i have read

on the LDAP user import field i have the script as such

ldapUtils.setManager(source, target);

// Set the source LDAP server into the target record

target.ldap_server = source.sys_import_set.data_source.ldap_target.server;

We also have an onStart script in the transform map

gs.include('LDAPUtils');  

var ldapUtils = new LDAPUtils();  

ldapUtils.setLog(log);  

and an onComplete script with

ldapUtils.processManagers();

i need helping with converting the hpw the manager information comes to be simply the name of the manager without all the AD information.

6 REPLIES 6

Hi Berny,



I am not able to view "manager" and User Account Control" field when i browse in the AD.


Can you please suggest what could be the Possible reason for it.



Thanks,


Anureet


Hi Anureet,



Have you included the userAccountControl and manager within the attributes field under the advanced options at the LDAP server definition?



Thanks,


Berny