Use LDAP authentication without mail attribute

Our LDAP does not contain a user's email address, but Stash seems to require it. We want users to be able to log in without creating account manually and then they define their email address, but what happens is the next time they log in their email address is empty again.

 

Is there any way around this issue while keeping the same workflow?

2 answers

This widget could not be displayed.

What happens is that every time a user logs into Stash, as you have LDAP configured, Stash will try to authenticate with LDAP and, once the credentials are correct, Stash will re-sync the user details with LDAP and the email configured for the user in Stash is replaced by what's configured in LDAP (empty).

Can you please look at Delegating Stash authentication to an LDAP directory - Copying users on login and try to disable that option?

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer

 

This widget could not be displayed.

This would stop the problem over the email being reset after logging in again, but it doesn't help us to keep the flow where a user can login without their account having to be manually created ahead of time.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,238 views 8 11
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