Accenture / adop-sonar

Apache License 2.0
11 stars 45 forks source link

LDAP Authentication Issue #15

Open zarifsamar opened 7 years ago

zarifsamar commented 7 years ago

The LDAP authentication fails when there is a white space in any of the LDAP variables. In our case there is a white space in LDAP_BIND_DN. Please can we update the relevant scripts (run.sh) to cater for such cases with white spaces?

Thanks, Zarif

RobertNorthard commented 6 years ago

Thanks @zarifsamar. Were you able to raise a PR for this?

imranity commented 6 years ago

@zarifsamar @RobertNorthard i have created the PR for the fix here https://github.com/Accenture/adop-sonar/pull/28 This happens because bash doublequotes and whitespaces are not preserved when passed around the scripts.
The fix in PR worked for me as I also had a whiltespace in LDAP_BIND_DN

BKShalini commented 5 years ago

Is the LDAP authentication issue still not fixed, I have upgraded from Sonar 5.1 to Sonar 5.6.7 LTS and then when i upgrade from Sonar 5.6.7 LTS to Sonar 6.7.3 LTS i am only able to login with admin credentials and the LDAP credentials gives me an authentication failed with the error "User password=NULL" Can any of you please help?