Stash connected to LDAP counts too many users against license

Hey,

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?

Rgrds,

// Svante

1 answer

Hi Svante,

I've raised a Suggestion to improve this behaviour for Stash some time ago: https://jira.atlassian.com/browse/STASH-5294

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

673 views 0 4
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