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

0 votes
Accepted answer

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 vote
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 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,932 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