filter users by openldap group

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

This widget could not be displayed.

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

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
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