I am using the Review Board 1.6.3 with LDAP backend, but the
authentication is always unavailable. Anybody can give me some
suggesions about how to resolve this issue?

The LDAP configuration info in Review Board Admin page:
LDAP Server: ldaps:/ldap.xxxxx.com:636
LDAP Base DN: ou=People, o=xxxxx.com
Given Name Attribute: givenName
Surname Attribute: sn
E-Mail LDAP Attribute: mail
Use TLS for authentication (checked)
User Mask: uid=%s
Anonymous User Mask: <Empty>
Anonymous User Password <Empty>

When I try to login Review Board, the traceback error messages are as
[Mon Mar 05 16:56:55 2012] [error] 2012-03-05 16:56:55,182 - WARNING -
Traceback (most recent call last):
[Mon Mar 05 16:56:55 2012] [error]   File "/usr/lib/python2.4/site-
backends.py", line 187, in authenticate
[Mon Mar 05 16:56:55 2012] [error]     ldapo.start_tls_s()
[Mon Mar 05 16:56:55 2012] [error]   File "/usr/lib64/python2.4/site-
line 564, in start_tls_s
[Mon Mar 05 16:56:55 2012] [error]     return
[Mon Mar 05 16:56:55 2012] [error]   File "/usr/lib64/python2.4/site-
line 99, in _ldap_call
[Mon Mar 05 16:56:55 2012] [error]     result = func(*args,**kwargs)
[Mon Mar 05 16:56:55 2012] [error] SERVER_DOWN: {'desc': "Can't
contact LDAP server"}
[Mon Mar 05 16:56:55 2012] [error]
[Mon Mar 05 16:56:55 2012] [error] 2012-03-05 16:56:55,183 - WARNING -
LDAP error: {'desc': "Can't contact LDAP server"}

At the same time, I wrote a small python script to do some test. It
can get user info successfully.
        import ldap
        ldapo = ldap.initialize('ldaps://ldap.xxxxx.com:636')
        ldapo.set_option(ldap.OPT_REFERRALS, 0)
        ldapo.set_option(ldap.OPT_PROTOCOL_VERSION, 3)
        search = ldapo.search_s('ou=People, o=xxxxx.com',
ldap.SCOPE_SUBTREE, 'uid=xxxxxxxx...@xxxxx.com')
        print search
except ldap.LDAPError, e:
        print "#### LDAP error"
        import traceback
        print traceback.format_exc()

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to