Bug 44735 - ldapError: LDAP connection invalid
ldapError: LDAP connection invalid
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
: 51292 54426 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-02 08:07 CEST by Florian Best
Modified: 2023-09-11 12:38 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022012221000313, 2021123021000333, 2021112721000485, 2020050621000368, 2021041621000214, 2021041821000131, 2021102421000367, 2021112321000411, 2018092621000069, 2017060121000309, 2017101721000147, 2020050621000368, 2020041921000354, 2021082621000279
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-06-02 08:07:30 CEST
Version: 4.2-0 errata25 (Lesum)

Remark: Aufgetreten nach einspielen von Drucker treibern von Konica nach LDAP cups

Die Ausführung des Kommandos udm/nav/object/query navigation ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1061, in _thread
    for module, obj in list_objects(container, object_type=object_type):
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1015, in list_objects
    result = ldap_connection.search(base=container, scope='one')
  File "%PY2.7%/univention/admin/uldap.py", line 439, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: LDAP connection invalid
Comment 1 Florian Best univentionstaff 2017-10-17 16:14:02 CEST
Version: 4.2-2 errata198 (Lesum) - UCS@school 4.2 v3
Comment 2 Florian Best univentionstaff 2017-10-17 16:19:21 CEST
Happens in combination with Bug #44709 and Bug #45555.

Something probably does a unbind() and then these bugs are triggered.
Comment 3 Johannes Keiser univentionstaff 2018-10-05 17:51:36 CEST
Reported again: Version: 4.2-1 errata197 (Lesum)

Execution of command 'udm/nav/object/query navigation' has failed:

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1056, in _thread
    for module, obj in list_objects(container, object_type=object_type):
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1003, in list_objects
    result = ldap_connection.search(base=container, scope='one')
  File "%PY2.7%/univention/admin/uldap.py", line 437, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 4 Florian Best univentionstaff 2020-06-22 18:35:12 CEST
Version: 4.4-4 errata579 (Blumenthal) - UCS@school 4.4 v4

Traceback(d41d8cd98f00b204e9800998ecf8427e): 
Interner Server-Fehler in "udm/get (shares/share)".
Request: udm/get (shares/share)

  File "/usr/lib/python2.7/dist-packages/notifier/threads.py", line 80, in _run
    result = self._function()
  File "/usr/lib/python2.7/dist-packages/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/udm/__init__.py", line 515, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/udm/__init__.py", line 222, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/udm/udm_ldap.py", line 1196, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "/usr/lib/python2.7/dist-packages/univention/admin/modules.py", line 993, in objectType
    attr = lo.get(dn)
  File "/usr/lib/python2.7/dist-packages/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 199, in _decorated
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 430, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 933, in _apply_method_s
    SimpleLDAPObject.unbind_s(self)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 650, in unbind_s
    return self.unbind_ext_s(None,None)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 634, in unbind_ext_s
    msgid = self.unbind_ext(serverctrls,clientctrls)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 626, in unbind_ext
    res = self._ldap_call(self._l.unbind_ext,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
LDAPError: LDAP connection invalid
Comment 5 Christian Castens univentionstaff 2020-10-02 11:33:52 CEST
Version: 4.4-0 errata243 (Blumenthal)

Remark: access LDAP directory

Traceback(6e649851e003ab78957068646848f0a0):
Internal server error during "udm/nav/object/query (navigation)".
Request: udm/nav/object/query (navigation)

  File "%PY2.7%/notifier/threads.py", line 78, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1099, in _thread
    for module, obj in list_objects(container, object_type=object_type, ldap_connection=ldap_connection, ldap_position=ldap_position):
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1167, in list_objects
    result = ldap_connection.search(base=container, scope='one')
  File "%PY2.7%/univention/admin/uldap.py", line 767, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: LDAP connection invalid

Role: domaincontroller_backup
Comment 6 Christian Castens univentionstaff 2021-08-26 14:02:00 CEST
Version: 4.4-8 errata1029 (Blumenthal) - UCS@school 4.4 v9

Error:
Interner Server-Fehler in "udm/get (shares/print)".
Request: udm/get (shares/print)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 515, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 222, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1196, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "%PY2.7%/univention/admin/modules.py", line 993, in objectType
    attr = lo.get(dn)
  File "%PY2.7%/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "%PY2.7%/univention/uldap.py", line 207, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/uldap.py", line 438, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY2.7%/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "%PY2.7%/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 933, in _apply_method_s
    SimpleLDAPObject.unbind_s(self)
  File "%PY2.7%/ldap/ldapobject.py", line 650, in unbind_s
    return self.unbind_ext_s(None,None)
  File "%PY2.7%/ldap/ldapobject.py", line 634, in unbind_ext_s
    msgid = self.unbind_ext(serverctrls,clientctrls)
  File "%PY2.7%/ldap/ldapobject.py", line 626, in unbind_ext
    res = self._ldap_call(self._l.unbind_ext,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "%PY2.7%/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
LDAPError: LDAP connection invalid

Role: domaincontroller_master
Comment 7 Maximilian Janßen univentionstaff 2021-11-19 12:44:37 CET
Version: 5.0-0 errata131

Error: 
Internal server error during "udm/get (shares/share)".
Request: udm/get (shares/share)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 517, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 224, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1179, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "%PY3%/univention/admin/modules.py", line 1029, in objectType
    attr = lo.get(dn)
  File "%PY3%/univention/admin/uldap.py", line 624, in get
    return self.lo.get(dn, attr, required)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 442, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY3%/ldap/ldapobject.py", line 852, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  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

Role: domaincontroller_master
Comment 8 Maximilian Janßen univentionstaff 2021-11-24 11:21:20 CET
Reported again:
(traceback except for new line numbers identical to christians last one)


Version: 4.4-8 errata1101 (Blumenthal)

Error: 
Interner Server-Fehler in "udm/get (shares/share)".
Request: udm/get (shares/share)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 515, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 222, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1196, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "%PY2.7%/univention/admin/modules.py", line 991, in objectType
    attr = lo.get(dn)
  File "%PY2.7%/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "%PY2.7%/univention/uldap.py", line 207, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/uldap.py", line 438, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY2.7%/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "%PY2.7%/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 933, in _apply_method_s
    SimpleLDAPObject.unbind_s(self)
  File "%PY2.7%/ldap/ldapobject.py", line 650, in unbind_s
    return self.unbind_ext_s(None,None)
  File "%PY2.7%/ldap/ldapobject.py", line 634, in unbind_ext_s
    msgid = self.unbind_ext(serverctrls,clientctrls)
  File "%PY2.7%/ldap/ldapobject.py", line 626, in unbind_ext
    res = self._ldap_call(self._l.unbind_ext,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "%PY2.7%/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
LDAPError: LDAP connection invalid

Role: domaincontroller_master
Comment 9 Maximilian Janßen univentionstaff 2021-11-26 11:41:52 CET
Reported again:

Version: 4.4-7 errata958 (Blumenthal)

Error: 
Interner Server-Fehler in "udm/get (computers/computer)".
Request: udm/get (computers/computer)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 515, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 222, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1196, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "%PY2.7%/univention/admin/modules.py", line 993, in objectType
    attr = lo.get(dn)
  File "%PY2.7%/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "%PY2.7%/univention/uldap.py", line 207, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/uldap.py", line 438, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY2.7%/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "%PY2.7%/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 931, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 590, in search_ext_s
    msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
  File "%PY2.7%/ldap/ldapobject.py", line 586, in search_ext
    timeout,sizelimit,
  File "%PY2.7%/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
LDAPError: LDAP connection invalid

Role: domaincontroller_master
Comment 10 Maximilian Janßen univentionstaff 2021-12-01 10:48:38 CET
reported again:
Version: 5.0-0 errata159

Error: 
Interner Server-Fehler in "udm/nav/object/query (navigation)".
Request: udm/nav/object/query (navigation)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1115, in _thread
    for module, obj in list_objects(container, object_type=object_type, ldap_connection=ldap_connection, ldap_position=ldap_position):
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1195, in list_objects
    result = ldap_connection.search(base=container, scope='one')
  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
Comment 11 Florian Best univentionstaff 2022-02-08 11:15:28 CET
*** Bug 51292 has been marked as a duplicate of this bug. ***
Comment 12 Florian Best univentionstaff 2022-02-08 11:15:38 CET
*** Bug 54426 has been marked as a duplicate of this bug. ***
Comment 13 Florian Best univentionstaff 2022-02-08 11:16:46 CET
Version: 5.0-0 errata32

Error:
Interner Server-Fehler in "udm/syntax/choices/info (shares/print)".
Request: udm/syntax/choices/info (shares/print)

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 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.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/decorators.py", line 181, in _response
    return function(self, request)
  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 956, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1335, in info_syntax_choices
    size += len(module.search(filter=filter_s, simple=not syn.use_objects))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 685, in search
    result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit, **kwargs)
  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
Comment 14 Maximilian Janßen univentionstaff 2022-02-11 13:06:52 CET
reported again: 2022021021001333
Version: 5.0-1 errata203
Request: udm/get (computers/computer)

reported again: 2022021121000216
Version: 4.4-8 errata1174 (Blumenthal)
Request: udm/get (computers/computer)

reported again: 2022020121000931
Version: 5.0-1 errata177
Request: udm/syntax/choices/info (shares/share)
Comment 15 Maximilian Janßen univentionstaff 2022-02-17 17:21:06 CET
reported again: 2022021721000045

Version: 4.4-8 errata1128 (Blumenthal)

Error: 
Internal server error during "udm/get (users/user)".
Request: udm/get (users/user)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 515, in _get
    module = self.get_module(request.flavor, ldap_dn)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 222, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1196, in get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, module_base=base)
  File "%PY2.7%/univention/admin/modules.py", line 991, in objectType
    attr = lo.get(dn)
  File "%PY2.7%/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "%PY2.7%/univention/uldap.py", line 207, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/uldap.py", line 438, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY2.7%/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "%PY2.7%/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 933, in _apply_method_s
    SimpleLDAPObject.unbind_s(self)
  File "%PY2.7%/ldap/ldapobject.py", line 650, in unbind_s
    return self.unbind_ext_s(None,None)
  File "%PY2.7%/ldap/ldapobject.py", line 634, in unbind_ext_s
    msgid = self.unbind_ext(serverctrls,clientctrls)
  File "%PY2.7%/ldap/ldapobject.py", line 626, in unbind_ext
    res = self._ldap_call(self._l.unbind_ext,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "%PY2.7%/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
LDAPError: LDAP connection invalid

Role: domaincontroller_master
Comment 16 Maximilian Janßen univentionstaff 2022-03-09 15:24:36 CET
reported again: 2022030821000355
Version: 4.4-8 errata1184 (Blumenthal)
same traceback as bottom part of Comment 13
Request: udm/syntax/choices/info (kopano/non-active)
Comment 17 Maximilian Janßen univentionstaff 2022-04-04 16:30:06 CEST
reported again: 2022040221001425
Version: 5.0-1 errata236
traceback: Comment 13
Request: udm/syntax/choices/info (computers/computer)
Comment 18 Maximilian Janßen univentionstaff 2022-04-06 15:38:27 CEST
reported again: 2022040421000548

Version: 5.0-1 errata279

Error: 
Interner Server-Fehler in "udm/syntax/choices/info (shares/share)".
Request: udm/syntax/choices/info (shares/share)

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': 11, 'info': 'Die Ressource ist zur Zeit nicht verfügbar'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 711, in searchDn
    return self.lo.searchDn(filter, base, scope, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 545, in searchDn
    return [x[0] for x in self.search(filter, base, scope, ['dn'], unique, required, timeout, sizelimit, serverctrls, response)]
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 517, 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/decorators.py", line 181, in _response
    return function(self, request)
  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 971, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1335, in info_syntax_choices
    size += len(module.search(filter=filter_s, simple=not syn.use_objects))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 678, in search
    result = ldap_connection.searchDn(filter=six.text_type(lookup_filter), base=container, scope=scope, sizelimit=sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/admin/uldap.py", line 725, in searchDn
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 19 Maximilian Janßen univentionstaff 2022-04-29 13:06:25 CEST
reported again: 2022042721000326
Version: 5.0-1 errata292
Request: udm/get (computers/computer)
Comment 20 Maximilian Janßen univentionstaff 2022-05-06 12:21:41 CEST
reported again: 2022050221000586
Version: 4.4-8 errata1128 (Blumenthal)
Comment 21 Maximilian Janßen univentionstaff 2022-05-18 17:20:34 CEST
Reported again: 2022051621000309
Version: 4.4-8 errata1179 (Blumenthal)
traceback: Comment 15
Request: udm/get (shares/share)
Comment 22 Maximilian Janßen univentionstaff 2022-06-17 12:23:59 CEST
reported again: 2022061621000236
traceback see Comment 15
Version: 5.0-1 errata339
Request: udm/get (shares/share)
Remark: trying to share a folder on the univention server at "/Software-Share" in the root of the server
Comment 23 Maximilian Janßen univentionstaff 2022-07-25 14:19:10 CEST
reported again: 2022072521000324
Version: 5.0-2 errata339
Traceback: Comment 13
Comment 24 Mika Westphal univentionstaff 2022-10-26 14:02:04 CEST
reported again: 2022102021000756
Version: 5.0-2 errata467

Remark: Passiert beim Öffnen eines Rechner-Objekts

Error:
Interner Server-Fehler in "udm/syntax/choices/info (computers/computer)".
Request: udm/syntax/choices/info (computers/computer)

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 672, 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 517, 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 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.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 347, 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 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 976, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1327, in info_syntax_choices
    size += len(module.search(filter=filter_s, simple=not syn.use_objects))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 686, in search
    result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit, **kwargs)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1791, 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 686, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 25 Mika Westphal univentionstaff 2022-10-26 14:25:43 CEST
reported again:
Slightly different stacktrace
Version: 5.0-2 errata467

Error:
Interner Server-Fehler in "udm/syntax/choices/info (shares/share)".
Request: udm/syntax/choices/info (shares/share)

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 672, 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 517, 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 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.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 347, 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 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 976, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1321, in info_syntax_choices
    module = UDM_Module(udm_module, ldap_connection=ldap_connection, ldap_position=ldap_position)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 415, in __init__
    self.load(force_reload=force_reload)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 437, in load
    self.module = _module_cache.get(module, None, force_reload, *self.get_ldap_connection())  # FIXME: template_object not used?!
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 394, in get
    udm_modules.init(ldap_connection, ldap_position, self[name], template_object, force_reload=force_reload)
  File "%PY3%/univention/admin/modules.py", line 225, in init
    update_extended_options(lo, module, position)
  File "%PY3%/univention/admin/modules.py", line 292, in update_extended_options
    for dn, attrs in lo.search(base=position.getDomainConfigBase(), filter='(&(objectClass=univentionUDMOption)%s)' % (module_filter,)):
  File "%PY3%/univention/admin/uldap.py", line 686, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 26 Mika Westphal univentionstaff 2022-10-26 14:26:40 CEST
otrs: 2022102221000387
(In reply to Mika Westphal from comment #25)
> reported again:
> Slightly different stacktrace
> Version: 5.0-2 errata467
> 
> Error:
> Interner Server-Fehler in "udm/syntax/choices/info (shares/share)".
> Request: udm/syntax/choices/info (shares/share)
> 
> Traceback (most recent call last):
>   File "%PY3%/univention/admin/uldap.py", line 672, 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 517, 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 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.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 347, 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 250, in execute
>     function.__func__(self, request, *args, **kwargs)
>   File "%PY3%/univention/management/console/modules/decorators.py", line
> 184, in _response
>     return function(self, request)
>   File "%PY3%/univention/management/console/modules/decorators.py", line
> 324, in _response
>     result = _multi_response(self, request)
>   File "%PY3%/univention/management/console/modules/decorators.py", line
> 184, in _response
>     return function(self, request)
>   File "%PY3%/univention/management/console/modules/decorators.py", line
> 446, in _response
>     return list(function(self, iterator, *nones))
>   File "%PY3%/univention/management/console/modules/decorators.py", line
> 292, in _fake_func
>     yield function(self, *args)
>   File "%PY3%/univention/management/console/modules/udm/__init__.py", line
> 976, in syntax_choices_info
>     return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
>   File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line
> 1321, in info_syntax_choices
>     module = UDM_Module(udm_module, ldap_connection=ldap_connection,
> ldap_position=ldap_position)
>   File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line
> 415, in __init__
>     self.load(force_reload=force_reload)
>   File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line
> 437, in load
>     self.module = _module_cache.get(module, None, force_reload,
> *self.get_ldap_connection())  # FIXME: template_object not used?!
>   File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line
> 394, in get
>     udm_modules.init(ldap_connection, ldap_position, self[name],
> template_object, force_reload=force_reload)
>   File "%PY3%/univention/admin/modules.py", line 225, in init
>     update_extended_options(lo, module, position)
>   File "%PY3%/univention/admin/modules.py", line 292, in
> update_extended_options
>     for dn, attrs in lo.search(base=position.getDomainConfigBase(),
> filter='(&(objectClass=univentionUDMOption)%s)' % (module_filter,)):
>   File "%PY3%/univention/admin/uldap.py", line 686, in search
>     raise univention.admin.uexceptions.ldapError(_err2str(msg),
> original_exception=msg)
> univention.admin.uexceptions.ldapError: LDAP connection invalid
> 
> Role: domaincontroller_master
Comment 27 Mika Westphal univentionstaff 2022-10-27 13:11:52 CEST
Reported again: 2022102121000058
Version: 5.0-2 errata467

Error:
Internal server error during "udm/syntax/choices/info (shares/share)".
Request: udm/syntax/choices/info (shares/share)

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': 11, 'info': 'Resource temporarily unavailable'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 672, 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 517, 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 347, 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 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 976, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1321, in info_syntax_choices
    module = UDM_Module(udm_module, ldap_connection=ldap_connection, ldap_position=ldap_position)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 415, in __init__
    self.load(force_reload=force_reload)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 437, in load
    self.module = _module_cache.get(module, None, force_reload, *self.get_ldap_connection())  # FIXME: template_object not used?!
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 394, in get
    udm_modules.init(ldap_connection, ldap_position, self[name], template_object, force_reload=force_reload)
  File "%PY3%/univention/admin/modules.py", line 225, in init
    update_extended_options(lo, module, position)
  File "%PY3%/univention/admin/modules.py", line 292, in update_extended_options
    for dn, attrs in lo.search(base=position.getDomainConfigBase(), filter='(&(objectClass=univentionUDMOption)%s)' % (module_filter,)):
  File "%PY3%/univention/admin/uldap.py", line 686, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 28 Mika Westphal univentionstaff 2022-10-27 18:14:24 CEST
Reported again: 2022101121000559
Version: 5.0-2 errata454

Error:
Interner Server-Fehler in "udm/syntax/choices/info (networks/network)".
Request: udm/syntax/choices/info (networks/network)

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 711, in searchDn
    :raises univention.admin.uexceptions.ldapError: on any other LDAP error.
  File "%PY3%/univention/uldap.py", line 545, in searchDn
    return [x[0] for x in self.search(filter, base, scope, ['dn'], unique, required, timeout, sizelimit, serverctrls, response)]
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 517, 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 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.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
    except Exception:
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    self._parse_accept_language(request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    def _sanitize(function, sanitizer):
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    thread.start()
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    def _sanitize(function, sanitizer):
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    thread.start()
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    def _fake_func(self, iterator, *args):
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 973, in syntax_choices_info
    syntax = _get_syntax(syntax)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1324, in info_syntax_choices
    filter_s = syn._create_ldap_filter(options or {}, module)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 676, in search
    if simple_attrs is not None:
  File "%PY3%/univention/admin/uldap.py", line 725, in searchDn
    except ldap.INVALID_DN_SYNTAX as msg:
univention.admin.uexceptions.ldapError: LDAP connection invalid

Role: domaincontroller_master
Comment 29 Mika Westphal univentionstaff 2023-02-24 10:36:47 CET
2023022221000266
Version: 5.0-3 errata577

Error:
Interner Server-Fehler in "udm/syntax/choices/info (computers/computer)".
Request: udm/syntax/choices/info (computers/computer)

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': 11, 'info': 'Die Ressource ist zur Zeit nicht verfügbar'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 663, in search
    return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 212, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 519, in search
    res = self.__search(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit, response=response)
  File "%PY3%/univention/uldap.py", line 534, in __search
    return self.lo.search_ext_s(*args, **kwargs)
  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 351, 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 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 327, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 989, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1309, in info_syntax_choices
    module = UDM_Module(udm_module, ldap_connection=ldap_connection, ldap_position=ldap_position)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 404, in __init__
    self.load(force_reload=force_reload)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 427, in load
    self.module = _module_cache.get(module, None, force_reload, *self.get_ldap_connection())  # FIXME: template_object not used?!
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 384, in get
    udm_modules.init(ldap_connection, ldap_position, self[name], template_object, force_reload=force_reload)
  File "%PY3%/univention/admin/modules.py", line 234, in init
    update_extended_options(lo, module, position)
  File "%PY3%/univention/admin/modules.py", line 277, in update_extended_options
    for _dn, attrs in lo.search(base=position.getDomainConfigBase(), filter='(&(objectClass=univentionUDMOption)%s)' % (module_filter,)):
  File "%PY3%/univention/admin/uldap.py", line 677, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP-Fehler: LDAP connection invalid.

Role: domaincontroller_master
Comment 30 Maximilian Janßen univentionstaff 2023-06-20 13:02:08 CEST
Version: 5.0-3 errata712
Ticket 2023061921000514

Version: 5.0-3 errata677
Request: udm/get (computers/computer)
2023052721000091

Version: 5.0-3 errata677
Request: udm/syntax/choices/info (computers/computer)
2023052621000379
Comment 31 Maximilian Janßen univentionstaff 2023-06-20 15:10:55 CEST
Version: 5.0-3 errata664
2023051521000201
Comment 32 Maximilian Janßen univentionstaff 2023-06-20 15:18:59 CEST
Version: 4.4-9 errata1278 (Blumenthal)
2023051121000503

Remark: Keine Ahnung die meildung kam einfach beim editieren. Jedenfalls geht meine SMB Freigabe nicht. Diese wurde über NFS eingehängt.
Eine weitere wurde über smb eingehängt, diese hat mal funktioniert geht aber wieder nicht mehr. Zumal diese nur mit leserechten ging. Was ebenfalls nicht so gewollt war.

Request: udm/syntax/choices/info (shares/share)
Comment 33 Maximilian Janßen univentionstaff 2023-06-20 15:47:14 CEST
Version: 5.0-3 errata648
2023050221000244
Comment 34 Maximilian Janßen univentionstaff 2023-07-03 17:58:31 CEST
Comment 13

2023041821000636 5.0-3 errata638
2023021621000741 5.0-2 errata572
2022122821000587 5.0-2 errata528
Comment 35 Maximilian Janßen univentionstaff 2023-07-03 18:05:09 CEST
A variation of Comment 18

Internal server error during "udm/syntax/choices/info (shares/share)".
Request: udm/syntax/choices/info (shares/share)

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 705, in searchDn
    return self.lo.searchDn(filter, base, scope, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 556, in searchDn
    return [x[0] for x in self.search(filter, base, scope, ['dn'], unique, required, timeout, sizelimit, serverctrls, response)]
  File "%PY3%/univention/uldap.py", line 212, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 519, in search
    res = self.__search(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit, response=response)
  File "%PY3%/univention/uldap.py", line 534, in __search
    return self.lo.search_ext_s(*args, **kwargs)
  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 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.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 351, 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 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 327, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 989, in syntax_choices_info
    return info_syntax_choices(syntax, ldap_connection=lo, ldap_position=po)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1315, in info_syntax_choices
    size += len(module.search(filter=filter_s, simple=not syn.use_objects))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 671, in search
    result = ldap_connection.searchDn(filter=six.text_type(lookup_filter), base=container, scope=scope, sizelimit=sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/admin/uldap.py", line 719, in searchDn
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
univention.admin.uexceptions.ldapError: LDAP Error: LDAP connection invalid.


2023041821000609 5.0-3 errata572
2023041821000289 5.0-3 errata642
2023020521000253 5.0-2 errata572 Neues Rechnerkonto sollte angelegt werden.
Comment 36 Maximilian Janßen univentionstaff 2023-07-03 18:12:51 CEST
Comment 27

2023041121000292 5.0-2 errata505
2022111321000241 5.0-2 errata479
Comment 37 Maximilian Janßen univentionstaff 2023-07-06 13:14:57 CEST
2023020721000688 5.0-2 errata572
2023012921000255 5.0-2 errata556
2023010521000264 5.0-2 errata528
2023010421000481 5.0-2 errata528
Comment 38 Maximilian Janßen univentionstaff 2023-07-06 13:20:47 CEST
Comment 15
2023011921000461 5.0-2 errata541
2023010321000106 5.0-2 errata528 im Modul "Rechner" wollte ich mir die Konfiguration eines angelegten Rechners ansehen
2022122721000231 5.0-2 errata528
Comment 39 Maximilian Janßen univentionstaff 2023-07-06 13:34:03 CEST
Comment 35
2022121321000051 5.0-2 errata508
2022111821000517 5.0-2 errata492
2022111821000508 5.0-2 errata492
Comment 40 Maximilian Janßen univentionstaff 2023-07-07 17:21:09 CEST
Version: 4.4-9 errata1279 (Blumenthal) - UCS@school 4.4 v9
2022091921000351
Comment 41 Maximilian Janßen univentionstaff 2023-07-07 17:43:23 CEST
Version: 4.4-9 errata1279 (Blumenthal)
2022091021000189
Comment 42 Mika Westphal univentionstaff 2023-09-11 12:38:33 CEST
2023090621000515  5.0-4 errata798

Internal server error during "udm/query (dns/dns)".
Request: udm/query (dns/dns)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/decorators.py", line 259, in _run
    result = self._function(*args, **kwargs)  # type: Union[BaseException, _T]
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 611, in query
    module = self.get_module(object_type, obj.dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 224, in get_module
    return get_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1203, in get_module
    return _get_module(flavor, ldap_dn, None, ldap_connection, ldap_position)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1219, in _get_module
    modules = udm_modules.objectType(None, ldap_connection, ldap_dn, attributes, module_base=base)
  File "%PY3%/univention/admin/modules.py", line 1013, in objectType
    attr = lo.get(dn)
  File "%PY3%/univention/admin/uldap.py", line 618, in get
    return self.lo.get(dn, attr, required)
  File "%PY3%/univention/uldap.py", line 212, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 445, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY3%/ldap/ldapobject.py", line 852, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  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 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.LDAPError: LDAP connection invalid