How to use Authentication but no Authorization with LDAP

ldap
permissions

(Andreas Kosmala) #1

Hi,
we are using SonarQube 6.7.1 with LDAP plugin 2.2
Is it possible to use LDAP Authentication without synchronizing user groups (would omitting the ldap.group.* properties help)? My Sonar administrators tried to add my user to sonar-administrators and were both surprised that this association was deleted when i logged in. In my opinion it makes sense that the user Administration works as one would expect.
Thanks
Andreas


(Nicolas Bontoux) #2

Hi Andreas,

LDAP Group Mapping is entirely optional. As you hinted, simply don’t set any ldap.group property (see documented properties), and user-group membership would remain managed in SonarQube.