Must-share information (formatted with Markdown):
- Sonarqube dev 8.5.1.38104)
- connect my sonar qube serveur to an active directory
Must-share information (formatted with Markdown):
Hi Giraud,
Welcome to the community!
So, it is not clear from your post what did you try to do already and what the problem is?
Please read the official docs on Delegating Authentication.
Cheers,
Daniel
Hi,
I try to connect my sonar qube dev to an active directory domain
I got the user , the password ,the name of the domain, the port
I ve try that (see below) but sonat don’t start .
sonar.security.realm=LDAP
ldap.url=ldap://adcgy01.tts.thales:389
ldap.bindDn=adminstar
ldap.bindPassword=xxxxx
ldap.authentication=simple
Hi Giraud,
Please, share any error logs you may have from the server - otherwise it will be very difficult to help.
Cheers,
Daniel
Hi Daniel,
You ask me for the log but do you think configuration is correct
for
account adminstar
domain tts.thales
(there is no group all user from domain can access)
#--------------------------------------------------------------------------------------------------
sonar.security.realm=LDAP
ldap.url=ldap://adcgy01.tts.thales:389
ldap.bindDn=tts.thales\adminstar
ldap.bindPassword=hide
ldap.user.baseDn=ou=users,dc=tts,dc=thales
ldap.user.request=(&(objectClass=user)(sAMAccountName={login}))
ldap.user.realNameAttribute=cn
ldap.user.emailAttribute=mail
ldap.group.baseDn=cn=groups,dc=tts,dc=thales
ldap.group.request=(&(objectClass=group)(member={dn}))
from logs
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error, data 52e, v3839 ]
at java.naming/com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3259)
at java.naming/
Hi have you find the time to watch the conf and the logs i give ?
Hi,
Your LDAP configuration may not be right. A few tips in order for you to troubleshoot:
Hope that helps, best regards,
Daniel