Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

filter users by openldap group

Vladimir Rora
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 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 S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 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?

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
TAGS
AUG Leaders

Atlassian Community Events