Bug 54426 - udm/get (computers/computer): LDAPError: LDAP connection invalid
udm/get (computers/computer): LDAPError: LDAP connection invalid
Status: RESOLVED DUPLICATE of bug 44735
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-08 11:04 CET by Riya Bhattacharjee
Modified: 2022-02-08 11:15 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022020221000635
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riya Bhattacharjee univentionstaff 2022-02-08 11:04:47 CET

    
Comment 1 Riya Bhattacharjee univentionstaff 2022-02-08 11:07:21 CET
UCS Version: 4.4-8 errata1101 (Blumenthal)

Internal server error during "udm/get (computers/computer)".
Request: udm/get (computers/computer)

  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 991, 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 207, in _decorated
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 438, 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
Internal server error during "udm/get (computers/computer)".
Comment 2 Florian Best univentionstaff 2022-02-08 11:15:38 CET

*** This bug has been marked as a duplicate of bug 44735 ***