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

New issue 2284 by ldap authentication with anonymous bind fails due to referrals

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?

What steps will reproduce the problem?

When authenticating by LDAP against a windows domain controller, using an "anonymous user", the search operation fails if the ldap server replies with a referral.

See, question 12 for more details.

I've fixed this by adding
            ldapo.set_option(ldap.OPT_REFERRALS, 0)
in and LDAPBackend.get_or_create_user (just after setting protocol version).

Maybe a better fix would be to set this only if LDAP_ANON_BIND_UID is set.

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

This is the logged error message:

2011-09-14 09:03:17,800 - WARNING - LDAP error: {'info': '000004DC: LdapErr: DSI D-0C0906DD, comment: In order to perform this operation a successful bind must b
e completed on the connection., data 0, v1772', 'desc': 'Operations error'}

What operating system are you using? What browser?

Gentoo linux.

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