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

Limit users in Confluence when connected to LDAP or Active Directory

Peter Meier Sep 08, 2011

Hi all,

I'm trying to limit the number of users that are displayed in Confluence when connected to an Active Directory or LDAP server.

According to (even if this is a Crowd documentation it should work for Confluence as well):

http://confluence.atlassian.com/display/CROWD/Restricting+LDAP+Scope+for+User+and+Group+Search

I can change the filter to:

(&(objectCategory=Person)(sAMAccountName=*)
(|(memberOf=cn=confluence-users,ou=Groups,dc=sydney,dc=atlassian,dc=com)
(memberOf=cn=confluence-administrators,ou=Groups,dc=sydney,dc=atlassian,dc=com)))

This implies, that the membership of a user is defined in the user object via the attribute "memberOf". Unfortunately in our environment, the user doesn't have this attribute, instead, the group has several entries "member", listing all people connected to this group.

Is there a way to filter based on this setup?

Thanks

Peter

2 answers

1 accepted

1 vote
Answer accepted
Jim Birch Sep 11, 2011

AFAIK Active directory creates the backlink entries for group membership automatically, ie each member entry in group should have a corresponding memberOf attibute in the user object. If you are using AD I'd check that there isn't something wrong with your query or the rights of the account read to the member attribute.

Other LDAP directories may not do this - I wouldn't know.

(BTW If you need a tool to view or query an LDAP server, I've found Apache Directory Studio very useful.)

Peter Meier Oct 02, 2011

Thanks Jim,

That solved my problem. The user hadn't had enough permissions to view the membership.

Thanks

Peter

0 votes
Konnie McCauley Jan 11, 2012

is there a limit to how many users are brought into confluence through an AD group?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,528 views 11 28
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