Hi i enabled mail service on the reviewboard. and it sent me a mail on the failure of AD login of the user with trace. I am pasting the error here. please do help me to solve the issue.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/utils/decorators.py", line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/cache.py", line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/auth/views.py", line 36, in login
if form.is_valid():
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/forms/forms.py", line 129, in is_valid
return self.is_bound and not bool(self.errors)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/forms/forms.py", line 121, in errors
self.full_clean()
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/forms/forms.py", line 274, in full_clean
self._clean_form()
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/forms/forms.py", line 300, in _clean_form
self.cleaned_data = self.clean()
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/auth/forms.py", line 189, in clean
password=password)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/auth/__init__.py", line 49, in authenticate
user = backend.authenticate(**credentials)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backends.py", line 652, in authenticate
filter_format('(&(objectClass=user)(sAMAccountName=%s))',
NameError: global name 'filter_format' is not defined
<WSGIRequest
path:/account/login/,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'username': [u'********************'], u'csrfmiddlewaretoken': [u'********************'], u'password': [u'********************'], u'next': [u'********************']}>,
COOKIES:{'csrftoken': 'TLdRU7OxUbrKxqi3JfyDpOEGnnkdsChe',
'rbsessionid': 'sgucjsx6pt89rztr97m2y2blw0qsct1s'},
META:{'CONTENT_LENGTH': '94',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
'CONTEXT_DOCUMENT_ROOT': '/var/www/reviewboard/htdocs',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'TLdRU7OxUbrKxqi3JfyDpOEGnnkdsChe',
'DOCUMENT_ROOT': '/var/www/reviewboard/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'csrftoken=TLdRU7OxUbrKxqi3JfyDpOEGnnkdsChe; rbsessionid=sgucjsx6pt89rztr97m2y2blw0qsct1s',
'HTTP_HOST': 'reviewboard.ecosense.co.in',
'HTTP_REFERER': 'http://reviewboard.ecosense.co.in/account/login/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0',
'HTTP_X_FORWARDED_FOR': '42.104.24.166',
'HTTP_X_FORWARDED_HOST': 'reviewboard.ecosense.co.in',
'HTTP_X_FORWARDED_SERVER': 'reviewboard.ecosense.co.in',
'PATH_INFO': u'/account/login/',
'PATH_TRANSLATED': '/var/www/reviewboard/htdocs/reviewboard.wsgi/account/login/',
'QUERY_STRING': '',
'REMOTE_ADDR': '192.168.1.10',
'REMOTE_PORT': '56371',
'REQUEST_METHOD': 'POST',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/account/login/',
'SCRIPT_FILENAME': '/var/www/reviewboard/htdocs/reviewboard.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '192.168.1.9',
'SERVER_ADMIN': '[no address given]',
'SERVER_NAME': 'reviewboard.ecosense.co.in',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at reviewboard.ecosense.co.in Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'reviewboard.ecosense.co.in|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': '',
'mod_wsgi.queue_start': '1401973462400462',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fe1b6c476b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fe19fae37b0>,
'wsgi.input': <mod_wsgi.Input object at 0x7fe1b6c47fb0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>