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');
commit;

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
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