SonarQubeCommunity / sonar-activedirectory

GNU Lesser General Public License v3.0
16 stars 6 forks source link

Cannot group sync to work #15

Open gustavdw opened 7 years ago

gustavdw commented 7 years ago

My users can login fine using the username@domain syntax. Since adding the users to sonarqube groups doesnt work (as soon as the user logs in the membership in the sonarqube group is revoked), I'm trying to add an AD group. I've added it using the groupname@domain syntax, and added permissions to it but it doesn't appear to do anything and users don't have the permissions that are associated with the group.

I can't see anything about the group in the logs, how do I troubleshoot this? My configuration is:

Active Directory configuration

sonar.security.realm=ACTIVE_DIRECTORY ldap.windows.group.downcase=true

The group is called "Development", and I've added it as development@domain

BlackAngelTiger commented 7 years ago

What worked for me was to check how the @domain was written after the usernames and then copied this to the group and this worked. the downcase worked for the group but not for the domain extension in my case. I had development@DOMAIN. Hope this helps.

spoelly commented 7 years ago

got the same issue, somebody got some tips?