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?
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.