LDAP users keep getting removed from local groups

Hi there :slight_smile: We’re using Sonarqube Enterprise 9.9.5. Ever since our 8 → 9 upgrade we’ve been having weird problems with users being removed from groups that are local to Sonarqube. We’ll add an LDAP user to a group and after a successful login they get removed from the group.

I see in the documentation that “membership in a group is synched only if a group with the same name exists in SonarQube”. The local group we’re focusing on today is unique to our world - there is no matching group of this same name in LDAP.

Are “LDAP as auth provider” and local groups just impossible from 9.0 onward? It seems that way from my reading of various other community posts, but I’m not 100% sure given that sentence in the paragraph above.

Hey Jeff!

For as long as I’ve used SonarQube (7+ years), what you’re describing is how SonarQube works. If a user syncs their groups with LDAP, they will get plucked out of local groups at every login. This is not new to SonarQube 9.x.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.