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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,896 views 7 10
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