How to populate AD synced groups with members
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 11:58 AM
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.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 12:04 PM
Please see solution below
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 02:35 PM
These will help you.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks