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

filter users by openldap group

Vladimir Rora Oct 19, 2017

Hi,
We use openldap 2.4 for user authentication.
We want to hide all users in confluence if they don't members of one ldap group.
But in openldap we don't have memberOf attribute.
How we can filter users in confluence?

1 answer

0 votes
Shannon Spaniol Atlassian Team Oct 19, 2017

Vladimir,

Can you let us know what you mean by "hide" the users? You mean they shouldn't have Confluence accounts created for them at all, or do you just not want them to be visible to other users?

You should be able to use the memberOf attribute to restrict to a certain group, and according to this article online, it's possible to enable it for OpenLDAP.

Kind Regards,
Shannon

Vladimir Rora Oct 19, 2017

We have many system accounts, fired users accounts, locked users, etc.
And we have one group for actual user accounts "alive_users".

We want to see only users from "alive_users" group in "Users managment" and others pages in Confluence.

Our ldap don't have memberOf, we try enable it, but our ldap dont use "cn=config", so, try failed.

Can we filter users by group in Confluence?

Ann Worley Atlassian Team Oct 20, 2017

If the user objects in OpenLDAP have an attribute that indicates they are in a group then you can filter on that attribute. Confluence uses LDAP queries to filter users and groups but if there is no attribute, Confluence doesn't have anything to use in the query.

Would it be possible to put all the users (alive_users) you want to see in Confluence in the same OU? Then you could use the Additional User DN field to filter the users.

Screen Shot 2017-10-20 at 10.36.09 AM.png

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...

853 views 6 16
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