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

New issue 959 by kimonp: LDAP authentication scope

The LDAP server at my (very large) company would not authenticate with
reviewboard using LDAP.  The problem was the SCOPE settings used in
ldapo.search_s() in accounts/

It was set to: SCOPE_ONELEVEL
I changed it to: SCOPE_SUBTREE

This was in 2 places in (which is all of the instances of

This was the setting used in our company's example script which is why I
tried it.

When I changed both instances is accounts/ it was able to
authenticate properly against our LDSP.

Based on the following, I think this is a better value for this script and
likely to work with more varied LDAP schemes:

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

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

Reply via email to