LDAP Integration Security

Guys I’ve added the following config to the sonar.properties file, but I’m unable login with domain user. Am i missing something here ?

# LDAP Config:
sonar.security.realm=LDAP
ldap.url=ldap://iedc003:389
ldap.bindDn=CN=******,OU=users,OU=it,OU=IE,DC=*****,DC=global,DC=*****,DC=com
ldap.bindPassword=*******
ldap.authentication=simple

# User Mapping:
ldap.user.baseDn=OU=it,OU=IE,DC=*****,DC=global,DC=***,DC=com
ldap.user.request=(&(objectClass=user)(sAMAccountName={0}))
ldap.user.realNameAttribute=cn
ldap.user.emailAttribute=email

Regards,
Dave

Hi Dave,

What do you see in your logs? (Troubleshooting)

 
Ann

Hi Ann

Got it sorted by removing additional copy , then adding the appropriate LDAP entries into the sonar.properties file…

Am now able to authenticate users from Active Directory

P.S Thanks for all the feedback.

Regards,

Dave

1 Like