Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Crowd Directory - Group Configuration with multiple OUs - syntax

what would be the correct syntax for the situation like:

base DN:

DC=example,DC=com

would want to include groups from both:

OU=Global Groups,OU=Global,DC=example,DC=com
OU=E-mail Distribution Lists,OU=Email Resources,DC=example,DC=com

my current Group Object Filter (filters out curly braces - a bug in Confluence 5.1.2):

(&(objectCategory=Group)(!(CN=*{*}*)))

I understand I could create 2 directories, but my gut feeling tells me there should be a better way...

6 answers

0 votes

Should be

(&(objectCategory=Group)(!(CN=*{*}*))(|(OU=Global Groups)(OU=E-mail Distribution Lists)))

according to this.

i hoped this would work - but it returns "No results were found from your search." thanks

You may try the example here:

(&(objectClass=group)(|(ou:dn:=Chicago)(ou:dn:=Miami)))

Or you can use a different approch like using the infomation of another attribute to "mark" the groups you want to retrieve in your filter. i.e.:

(&(objectClass=group)(description=atlassian))

I hope this helps.

Cheers

thank you - have found this page as well and as Philip Parkinson writes - MS ActiveDirectory might be not willing to play by the rules and does not filter groups correctly... will keep digging

tried:

(&(objectClass=group)(ou:dn:=Email Resources))

=> "no results were found"

0 votes
Teck-En Atlassian Team Jun 05, 2013

(&(objectCategory=Group)) itself should have return all the groups within both OUs. Did you want to only include certain specific groups from both OUs?

Andrei,

Have you found a solution yet?

no... I had to create 2 directories, which is a pain to maintain, but it works

Is there any update on support for this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Upgrading your Confluence Cloud for Microsoft Teams app

If you were upgrading the legacy app to our new one, you might have run into the error below while trying to authenticate. We're still investigating the cause of this but here's a workaround...

20 views 0 0
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you