3311: Not able to integrate LDAP with Review Board

aksh*****@gmai***** (Google Code) (Is this you? Claim this profile.)
July 24, 2014
What version are you running?
1.7.22. Recently upgraded from 1.6.21

What's the URL of the page containing the problem?
LDAP Authentication

What steps will reproduce the problem?

1. Login into RB-site using your admin credentials. 
2. Navigate to "admin" section by clicking on "admin" from the drop-down list on top right corner. 
3. Now click on Authentication option from the list displayed on left hand side.
4. Set following settings :

Allow anonymous read-only access = Check 

Authentication Method = LDAP 
LDAP Server = ldap://SERVERNAME:389 
LDAP BASE DN = DC=**,DC=**,DC=** 

Given Name Attribute = displayName 
Surname Attribute = sn 
Full Name Attribute = BLANK 
E-Mail Domain = BLANK 
E-Mail LDAP Attribute = BLANK 

Use TLS for authentication = UnChecked 

User Mask: sAMAccountName=%s 
Anonymous User Mask = sAMAccountName=******* 
Anonymous User Password = ********* 

Now save the settings 

5 Restart the http server. 

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

Expected : Users should be able to login using his/her LDAP credentials.
Actual : Not able to login. "Incorrect Username or Password" error.

From the reviewboard log file :

LDAP error: The specified object does not exist in the Directory or provided invalid credentials: sAMAccountName=******

What operating system are you using? What browser?

Linux/chrome

Please provide any additional information below.

We have recently migrated our DB backend from sql-lite to mysql.
david
#1 david
I believe that this is just a misconfiguration. The LDAP config UI in 2.0.x is much less confusing.
  • +SetupIssue