User missing from Crowd group when viewed through Stash

We have a stash server (2.5) set up with a authentication directory from crowd. It is mostly working fine but in once case we have a user who is a member of various groups (stash-admin, stash-users, etc..) but when we look at those groups in the stash interface, she isn't there. But when we look at her user properties (admin/users/view), we see the expected groups listed in the groups TAB. This doesn't seem to be a problem for other users. Any idea what the cause could be?

3 answers

1 accepted

This widget could not be displayed.

Support recomend that I create a second crowd directory entry in Stash with the same settings as the first, and then reorder the directories so the new one is first. Doing this seems to have fixed the issue.

This widget could not be displayed.

Ok, after some more investigation, I see that I am getting some warnings in the log like this

2013-09-10 06:29:46,613 WARN [scheduler_Worker-7] c.a.c.d.DbCachingRemoteChangeOperations remote username [ trice ] casing differs from local username [ TRice ]. User details will be kept updated, but the username cannot be updated

Which means that at some point some of the usernames were capitalized, and then they were changed to lowercase in the crowd directory. It seems that every user that I have a warning like this about is also not showing up in their assigned groups. So the new question is, how do I fix this? How do I remove all of the local info about the user from Stash, and then re-sync the directory?

This widget could not be displayed.

Hi Chris,

This seems to be the same symptom of this bug in JIRA, in this bug there's a suggested workaround, this can possibly work for Stash as well.

Cheers

Hi Chris,

If the suggested workaround doesn't fix the problem, or in any case, you may want to raise a support ticket so we can help you further.

Cheers,

Charles

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,320 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