2836: LDAP auth fails

horati******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 29, 2013
What version are you running?
1.7.1

What's the URL of the page containing the problem?
https://.../reviews/account/login/

What steps will reproduce the problem?
1. Enable LDAP auth with User Mask (uid=%s) (as stated in description text)
2. Try to login with a valid user/pass
3. Login failed

What is the expected output? What do you see instead?
Login successful

What operating system are you using? What browser?
RHEL 6.3, Firefox & Chrome

Please provide any additional information below.
User Mask (uid=%s) used to work in 1.6.x
Starting with 1.7.1 the user mask is used as a prefix for the LDAP Base DN instead of being used for the Search filter. The user DN is constructed wrong as: "(uid=user1),cn=users,cn=accounts,dc=company,dc=com"
david
#1 david
  • +Component-Accounts
#2 brav****@gmai***** (Google Code) (Is this you? Claim this profile.)
A detailed description of the problem and workaround is available at http://www.bravegnu.org/blog/reviewboard-ldap.html
david
#3 david
Fixed in release-1.7.x (39c6ab6). Thanks!
  • +Fixed