Configuring LDAP User Directory in Stash


I've been using stash for q while and created local user accounts. Now I want to integrate stash with a windows LDAP user directory. I'm able to do so, however the displayed user names are not as I want them.

I was used to use email names for stash user names, e.g.,

Recently. I installed a windows directory server serving the domain This allows me to login in windows as Exaclty as I want it. However in stash I now only see firstname.lastname as user name and I cannot use the fully qualified name to log in.

How can I configure stash to use the fully qualified user name

Thanks in advance for your help.


2 answers

1 accepted

Hi Jeff,

Thanks again.

I had to set User Name Attribute to userPrincipalName and User Display Name Attribute to cn.

Now it works like a charm.

Thanks a lot!

Jeff Thomas Atlassian Team Oct 24, 2013

Glad you got it working!

1 votes
Jeff Thomas Atlassian Team Oct 23, 2013

When you're adding the new LDAP directory, if you look under User Schema Settings you should be able to set the User Name Attribute to the appropriate attribute.

Thanks for your quick reply!

IN my case, what would be the appropriate attrbute? I'm by far an ldap expert so it is all pretty new to me.

Jeff Thomas Atlassian Team Oct 23, 2013

I'm no LDAP expert either, but maybe email? Without knowing how your LDAP is setup, it's hard to say. There are several tools out there for browsing your LDAP directory and finding all attributes available. JXplorer is the first one I found.

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...

681 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