Configuring LDAP User Directory in Stash

Hi,

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., firstname.lastname@mycompany.com

Recently. I installed a windows directory server serving the domain mycompany.com. This allows me to login in windows as firstname.lastname@mycompany.com. 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 firstname.lastname@mycompany.com

Thanks in advance for your help.

Merijn

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

23,365 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