Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3257 by LDAP Authentication Error with Email Attribute

What version are you running?


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

Intranet instance

What steps will reproduce the problem?
1.Configure LDAP with "E-Mail LDAP Attribute" set to "mail"
  All others fields are set and TLS Authentication is OFF.
2.Try to log in with username not existing in system
3.Push login

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

Observe "Please enter a correct username and password. Note that both fields are case-sensitive." message. In ReviewBoard log you can see entry
 - WARNING -  - An error while LDAP-authenticating: KeyError(u'mail',)

What operating system are you using? What browser?
Windows 7 Enterprise, Firefox ESR 24.3.0

Please provide any additional information below.

If you will try to use different LDAP attribute as e-mail address, for example "userPrincipalName", it will accept it and populate ReviewBoard account list with it. Problem is not present if you will try to log in to user already existing in database, it is issue only for new users.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to