How to populate AD synced groups with members

Chris199
Kilo Contributor

Hey there,

I've got my company's AD users and groups synced with AD using an LDAP and MID server. But I haven't been able to sync the group membership.  Any tips?

LDAP Server attributes:
sAMAccountName,userPrincipalName,l,givenName,sn,telephoneNumber,title,userAccountControl, manager,CN,memberOf,dn,member,description

I'm using the default script that says:
//
// After a group has been inserted the line of code below will get
// all the users that belong to the group according to LDAP and
// put the users into this group. This is done by getting
// the value from the u_members field from the source record.
// If you do not want to put the users in the group then you
// can comment out or remove the line below. If you are using
// something other than Active Directory and user membership is
// not indicated via the 'member' attribute then you can add the
// following line to indicate what field should be used. This
// line would be added before the the call to addMembers.
//
// ldapUtils.setMemberField('u_yourAttributeNameGoesHere');
//
ldapUtils.addMembers(source, target);

 

The members aren't pulling into the ldap group imports table.

 

Thanks for any help.

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

Prateek kumar
Mega Sage