LDAP sync with MS Active Directory

is it possible to just synchronize one distribution group from AD , not all distribution groups ? 

I have all the groups, all the users for now, kind of too much :-) 

1 answer

0 votes

Yep!

 

In User Management > User Directories, edit your User Directory, and open the Group Schema Setting section. From there, you can use an LDAP Object Filter to declare which groups you want to sync, or which groups you explicitly do not want to sync.

 

For example, this filter query would sync all groups except "DistGroup1" :

 

(&(objectClass=group)(!(cn=*DistGroup1*))

 

Here is some good info:

https://confluence.atlassian.com/crowd/restricting-ldap-scope-for-user-and-group-search-169118612.html

(&(objectClass=group)(cn=*DistGroupIwant*))   I used for just one group to sync, working , but result kind of confusing, although other groups disappeared, the group I want kind of nobody inside after sync from LDAP :-(

so I wonder whether I should adjust other settings as I only 'touched' the following:

Group Schema Settings:

Group Object Class:  top:group

Group Object Filter:  (&(objectClass=group)(cn=*DistGroupIwant*)) 

Group Name Attribute:  cn

Group Description Attribute: description

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

467 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you