Crowd Directory - Group Configuration with multiple OUs - syntax

Andrei [errno] Community Champion May 15, 2013

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 vote

Should be

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

according to this.

0 vote
Andrei [errno] Community Champion May 15, 2013

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

Andrei [errno] Community Champion May 16, 2013

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"

(&(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?

Andrei [errno] Community Champion Oct 14, 2013

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

39 views 3 1
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