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 Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

429 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot