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

New issue 1641 by bryan.weingarten: Required LDAP OPT_REFERRALS option

I'm using version 1.5 beta 1 and I'm using authentication to our corporate
LDAP server.  I had to add an LDAP option to make it work.

File: ReviewBoard-1.5beta1-py2.6.egg/reviewboard/accounts/

Methods: LDAPBackend.authenticate and LDAPBackend.get_or_create_user

Both of these methods call this ldap method:

ldapo = ldap.initialize(settings.LDAP_URI)

But in our case, we require OPT_REFERRALS to be set:

ldapo = ldap.initialize(settings.LDAP_URI)
ldapo.set_option(ldap.OPT_REFERRALS, 0)

If adding this option doesn't break anyone else, then I recommend just
adding it.  If it's an option that others can't use, then please make this
an LDAP configuration option so I won't have to patch the code every release.


Attachments:  13.9 KB

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