LDAP Imported 38,000 users for 10 user license

When I set up Jira, Stash, and then Confluence using Jira for authentication, with LDAP authentication, it added all the users from our University LDAP to the cache. So for my 10 user license, I have 38,000+ users in the cache. Most of these are students and alumni who will never be Jira/Confluence users. What is your recommendation for cleaning up the mess I've made? We are still early enough that I can start over, but I'm not sure what I should choose differently on the install to get LDAP authentication. Thanks - Gregg

1 answer

I think this should be OK as long as the count of members in 'jira-users' role does not exceed 10. Make sure that no more than 10 users can log in to your JIRA.

In your directory configuration, don't let it automatically add users to jira-users group.

If you already have 38k users in the jira-users group, you can use the following SQL query to clean-up.

delete from cwd_membership where directory_id = 10000 and lower(child_name) not in ('greggs', 'johndoe', 'janedoe');

Have up to 10 comma-separated names - make sure to keep at least one JIRA admin. Replace 10000 by the actual ID of your LDAP directory.

Our cwd_membership table is ok. It is the cwd_user table which has the extra records.

Having extra records on CWD_USER doesn't matter.

Only members of 'jira-users' group count towards the licensing limit. << I assume that, under Global Permissions --> JIRA Users, you have specified only 'jira-users' group

For further reference, see:

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

102 views 1 5
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