Reputation: 83
we use Sonarqube 6.2 with the LDAP Plugin 2.1.0.507. We have a connection to our Active Diretory. Normal user authentication and group mapping is working. But we have problems with nested groups.
I try to use the specificy LDAP memberOf Filter (memberof:1.2.840.113556.1.4.1941:) but unfortunally it is not working.
Questions
Attached you find my LDAP filter sonar.properties
ldap.user.request=(&(objectClass=user)(sAMAccountName={login}))
ldap.group.request=(&(objectClass=group)(member=memberof:1.2.840.113556.1.4.1941:={dn}))
I hope this are enough informations.
Best Regards
Adam
Upvotes: 4
Views: 997
Reputation: 83
I found the answer.
You need only use the LDAP Reverse Code between the search pattern member={dn}
# Nested Group Search
ldap.group.request=(&(objectClass=group)(member:1.2.840.113556.1.4.1941:={dn}))
Upvotes: 3