Univention Bugzilla – Bug 55363
udm/containers: ldap.SERVER_DOWN: Can't contact LDAP server
Last modified: 2022-10-28 12:58:46 CEST
Version: 4.4-8 errata0 Error: Internal server error during "udm/containers (users/user)". Request: udm/containers (users/user) Traceback (most recent call last): File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s return func(self,*args,**kwargs) File "%PY3%/ldap/ldapobject.py", line 845, in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) File "%PY3%/ldap/ldapobject.py", line 841, in search_ext timeout,sizelimit, File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "%PY3%/ldap/compat.py", line 44, in reraise raise exc_value File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server", 'errno': 107, 'info': 'Transport endpoint is not connected'} During handling of the above exception, another exception occurred: Traceback (most recent call last): File "%PY3%/univention/admin/uldap.py", line 669, in search return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response) File "%PY3%/univention/uldap.py", line 208, in _decorated return func(self, *args, **kwargs) File "%PY3%/univention/uldap.py", line 516, in search res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit) File "%PY3%/ldap/ldapobject.py", line 1259, in search_ext_s return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs) File "%PY3%/ldap/ldapobject.py", line 1199, in _apply_method_s SimpleLDAPObject.unbind_s(self) File "%PY3%/ldap/ldapobject.py", line 905, in unbind_s return self.unbind_ext_s(None,None) File "%PY3%/ldap/ldapobject.py", line 889, in unbind_ext_s msgid = self.unbind_ext(serverctrls,clientctrls) File "%PY3%/ldap/ldapobject.py", line 881, in unbind_ext res = self._ldap_call(self._l.unbind_ext,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "%PY3%/ldap/compat.py", line 44, in reraise raise exc_value File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) ldap.LDAPError: LDAP connection invalid During handling of the above exception, another exception occurred: Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 344, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 247, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/udm/__init__.py", line 110, in _decorated return func(self, request, *a, **kw) File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY3%/univention/management/console/modules/udm/__init__.py", line 749, in containers containers = [{'id': x, 'label': ldap_dn2path(x)} for x in module.get_default_containers()] File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1067, in get_default_containers return self.module.object.get_default_containers(ldap_connection) File "%PY3%/univention/admin/handlers/__init__.py", line 1712, in get_default_containers default_containers = settings_directory.lookup(None, lo, '', required=True)[0] File "%PY3%/univention/admin/handlers/__init__.py", line 1752, in lookup for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response): File "%PY3%/univention/admin/uldap.py", line 683, in search raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) univention.admin.uexceptions.ldapError: LDAP connection invalid Role: domaincontroller_master