Stash connected to LDAP counts too many users against license


I just exceeded my Stash license and I was clueless why this happened. After some investigation I found out the following scenario:

  1. I have Stash connected to LDAP and synchronize everything
  2. I have setup the LDAP User Directory to automatically add users on first login to the internal group: stash-users
  3. The internal group stash-users is granted Stash User permissions
  4. When I try to login for the first time with a new user I get the Invalid User error message
  5. I grant an LDAP group, including the new user, Stash User permissions
  6. Now I can login with the new user and it is auto-added to the stash-users group

This is a strange catch22 situation in my opinion. The reason I want to have the auto-add function is to automatically add the users logging in to Stash to the licensing scheme via the stash-users group. It is not necessary for all people e.g. in the LDAP engineering group to get a Stash license.

This is how JIRA/Confluence work, you take a license when you login for the first time and are added to the jira-users/confluence-users groups. Why is Stash behaving differently?!

The auto-add function is really great and saves a lot of waiting for enabling accounts at the same time as the number of licenses are kept optimal. Is the only solution here to maintain a separate LDAP group for those that "may" use Stash at some point?


// Svante

1 answer

1 vote

Hi Svante,

I've raised a Suggestion to improve this behaviour for Stash some time ago:

I'd encourage you to start watching this issue as news come up.

Best regards,
Thiago Bomfim
Atlassian Support

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,995 views 26 12
Join discussion

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