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

0 votes

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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

276 views 2 10
Read article

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