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 follows: [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- packages/ReviewBoard-1.6.3-py2.4.egg/reviewboard/accounts/ 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- packages/python_ldap-2.4.7-py2.4-linux-x86_64.egg/ldap/ldapobject.py", line 564, in start_tls_s [Mon Mar 05 16:56:55 2012] [error] return self._ldap_call(self._l.start_tls_s) [Mon Mar 05 16:56:55 2012] [error] File "/usr/lib64/python2.4/site- packages/python_ldap-2.4.7-py2.4-linux-x86_64.egg/ldap/ldapobject.py", 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. try: 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" except: import traceback print traceback.format_exc() -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en