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

New issue 2080 by LDAP OPERATIONS ERROR on remote API call of Reviewboard if not logged in

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

What version are you running?

What's the URL of the page containing the problem?
api/info/ from Mylyn ReviewBoard connector or from Chrome

What steps will reproduce the problem?
1. Delete cookies from browser
2. Access {BASE_URL}/api/info
3. Error is emailed to admin

What is the expected output? What do you see instead?
Expect a 403 not authorized, instead getting 500 Internal Server Error and an error email

What operating system are you using? What browser?
Server on CentOS 5.3 with Python 2.4; Browser is Chrome on Windows 7. Mylyn is on Eclipse Gamymede on Windows 7.

Please provide any additional information below.

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/views/decorators/", line 79, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/views/decorators/", line 22, in inner_func
    response = func(*args, **kwargs)

File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/djblets/webapi/", line 246, in __call__

File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/djblets/webapi/", line 43, in check_login

File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/djblets/webapi/", line 65, in basic_access_login
    user = auth.authenticate(username=username, password=password)

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/contrib/auth/", line 55, in authenticate
    user = backend.authenticate(**credentials)

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/accounts/", line 285, in authenticate
    '(&(objectClass=user)(sAMAccountName=%s))' % username)

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/accounts/", line 211, in search_ad return con.search_s(search_root, scope=ldap.SCOPE_SUBTREE, filterstr=filterstr)

File "/usr/lib64/python2.4/site-packages/ldap/", line 481, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)

File "/usr/lib64/python2.4/site-packages/ldap/", line 475, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]

File "/usr/lib64/python2.4/site-packages/ldap/", line 405, in result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)

File "/usr/lib64/python2.4/site-packages/ldap/", line 409, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)

File "/usr/lib64/python2.4/site-packages/ldap/", line 415, in result3 rtype, rdata, rmsgid, serverctrls = self._ldap_call(self._l.result3,msgid,all,timeout)

File "/usr/lib64/python2.4/site-packages/ldap/", line 94, in _ldap_call
    result = func(*args,**kwargs)

OPERATIONS_ERROR: {'info': '000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1', 'desc': 'Operations error'}

GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
 'HTTP_AUTHORIZATION': 'Basic ampvbmVzOg==',
 'HTTP_HOST': 'rlocalhost',
'HTTP_USER_AGENT': 'Mylyn/3.5.0 eReviewBoard Eclipse/3.6.2 ( HttpClient/3.1 Java/1.6.0_24 (Sun) Windows 7/6.1 (x86; en_US)',
 'PATH_INFO': u'/api/info/',
 'SERVER_NAME': 'localhost',
 'SERVER_PORT': 443,
 'SERVER_SOFTWARE': 'mod_python'}>

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