You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using CKAN 2.9.2 on Ubuntu 20. I followed the instructions but cannot login as any of the user in the LDAP-Database. Instead, I get an "Internal Server Error" on the UI.
Expected Behaviour
An LDAP-User should be able to login.
Error Log
Here is from the uwsgi logs:
Traceback (most recent call last):
File "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/ckan/default/src/ckanext-ldap/ckanext/ldap/routes/login.py", line 35, in login_handler
ldap_user_dict = find_ldap_user(login)
File "/usr/lib/ckan/default/src/ckanext-ldap/ckanext/ldap/lib/search.py", line 25, in find_ldap_user
cnx = ldap.initialize(toolkit.config['ckanext.ldap.uri'], bytes_mode=False,
File "/usr/lib/ckan/default/lib/python3.8/site-packages/python_ldap-3.0.0-py3.8-linux-x86_64.egg/ldap/functions.py", line 85, in initialize
return LDAPObject(uri,trace_level,trace_file,trace_stack_limit,bytes_mode)
File "/usr/lib/ckan/default/lib/python3.8/site-packages/python_ldap-3.0.0-py3.8-linux-x86_64.egg/ldap/ldapobject.py", line 104, in __init__
self._l = ldap.functions._ldap_function_call(ldap._ldap_module_lock,_ldap.initialize,uri)
File "/usr/lib/ckan/default/lib/python3.8/site-packages/python_ldap-3.0.0-py3.8-linux-x86_64.egg/ldap/functions.py", line 55, in _ldap_function_call
result = func(*args,**kwargs)
ldap.LDAPError: (0, 'Error')
Your Setup
CKAN version: 2.9.2
Commit/version of this repo: 3.0.0
Browser (if relevant): Firefox
The text was updated successfully, but these errors were encountered:
Description
I am using CKAN 2.9.2 on Ubuntu 20. I followed the instructions but cannot login as any of the user in the LDAP-Database. Instead, I get an "Internal Server Error" on the UI.
Expected Behaviour
An LDAP-User should be able to login.
Error Log
Here is from the uwsgi logs:
Your Setup
The text was updated successfully, but these errors were encountered: