I keep getting emails with this exception randomly while users are logging 
in. yet I don't hear any complain from them. Did I miss something in setup?

Users use ActiveDirectory credentials to login.

Here is the debug log lines for it; 

  13383 2014-03-24 21:42:01,572 - DEBUG -  - User al...@my.domain.com is 
trying to log in via AD
  13384 2014-03-24 21:42:01,601 - DEBUG -  - Search root 
dc=my,dc=domain,dc=com
  13385 2014-03-24 21:42:01,612 - ERROR -  - Exception thrown for user 
AnonymousUser at https://my.reviewboard.url.com/api/info/
  13386
  13387 {'info': '000004DC: LdapErr: DSID-0C0906DC, comment: In order to 
perform this operation a successful bind must be completed on the 
connection., data 0, v1db0', 'desc': 'Operations error'}
  13388 Traceback (most recent call last):
  13389   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py",
 
line 111, in get_response
  13390     response = callback(request, *callback_args, **callback_kwargs)
  13391   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/views/decorators/cache.py",
 
line 89, in _wrapped_view_func
  13392     response = view_func(request, *args, **kwargs)
  13393   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/views/decorators/vary.py",
 
line 19, in inner_func
  13394     response = func(*args, **kwargs)
  13395   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/resources.py",
 
line 422, in __call__
  13396     auth_result = check_login(request)
  13397   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 178, in check_login
  13398     result = auth_backend_cls().authenticate(request)
  13399   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 88, in authenticate
  13400     result = self.login_with_credentials(request, **credentials)
  13401   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 132, in login_with_credentials
  13402     user = auth.authenticate(username=username, password=password)
  13403   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/contrib/auth/__init__.py",
 
line 45, in authenticate
  13404     user = backend.authenticate(**credentials)
  13405   File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/accounts/backends.py",
 
line 564, in authenticate
  13406     userdomain)
  13407   File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/accounts/backends.py",
 
line 456, in search_ad
  13408     return con.search_s(search_root, scope=ldap.SCOPE_SUBTREE, 
filterstr=filterstr)
  13409   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
502, in search_s
  13410     return 
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  13411   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
496, in search_ext_s
  13412     return self.result(msgid,all=1,timeout=timeout)[1]
  13413   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
422, in result
  13414     res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  13415   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
426, in result2
  13416     res_type, res_data, res_msgid, srv_ctrls = 
self.result3(msgid,all,timeout)
  13417   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
432, in result3
  13418     ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  13419   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
96, in _ldap_call
  13420     result = func(*args,**kwargs)
  13421 OPERATIONS_ERROR: {'info': '000004DC: LdapErr: DSID-0C0906DC, 
comment: In order to perform this operation a successful bind must be 
completed on the connection., data 0, v1db0', 'desc': 'Operations error'}
  13422 2014-03-24 21:42:01,613 - ERROR - None - AnonymousUser - /api/info/ 
- Internal Server Error: /api/info/
  13423 Traceback (most recent call last):
  13424   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py",
 
line 111, in get_response
  13425     response = callback(request, *callback_args, **callback_kwargs)
  13426   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/views/decorators/cache.py",
 
line 89, in _wrapped_view_func
  13427     response = view_func(request, *args, **kwargs)
  13428   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/views/decorators/vary.py",
 
line 19, in inner_func
  13429     response = func(*args, **kwargs)
  13430   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/resources.py",
 
line 422, in __call__
  13431     auth_result = check_login(request)
  13432   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 178, in check_login
  13433     result = auth_backend_cls().authenticate(request)
  13434   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 88, in authenticate
  13435     result = self.login_with_credentials(request, **credentials)
  13436   File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/webapi/auth.py",
 
line 132, in login_with_credentials
  13437     user = auth.authenticate(username=username, password=password)
  13438   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/contrib/auth/__init__.py",
 
line 45, in authenticate
  13439     user = backend.authenticate(**credentials)
  13440   File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/accounts/backends.py",
 
line 564, in authenticate
  13441     userdomain)
  13442   File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/accounts/backends.py",
 
line 456, in search_ad
  13443     return con.search_s(search_root, scope=ldap.SCOPE_SUBTREE, 
filterstr=filterstr)
  13444   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
502, in search_s
  13445     return 
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  13446   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
496, in search_ext_s
  13447     return self.result(msgid,all=1,timeout=timeout)[1]
  13448   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
422, in result
  13449     res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  13450   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
426, in result2
  13451     res_type, res_data, res_msgid, srv_ctrls = 
self.result3(msgid,all,timeout)
  13452   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
432, in result3
  13453     ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  13454   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 
96, in _ldap_call
  13455     result = func(*args,**kwargs)
  13456 OPERATIONS_ERROR: {'info': '000004DC: LdapErr: DSID-0C0906DC, 
comment: In order to perform this operation a successful bind must be 
completed on the connection., data 0, v1db0', 'desc': 'Operations error'}

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to