Bug 55064 - Internal server error during "".
Internal server error during "".
Status: NEW
Product: UCS
Classification: Unclassified
Component: DNS
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-03 15:44 CEST by Riya Bhattacharjee
Modified: 2022-08-03 15:48 CEST (History)
0 users

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: 2022072321000319
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-08-03 15:44:12 CEST

    
Comment 1 Riya Bhattacharjee univentionstaff 2022-08-03 15:45:57 CEST
UCS Version: undefined

Internal server error during "".
Request: 

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 135, in getter
    lo, po = self.__ldap_connections[hash_]
KeyError: ('machine', False, False, ())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 977, in _authentication_finished2
    self.initalize_processor(request)
  File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 1019, in initalize_processor
    self.processor.set_credentials(**self.__credentials)
  File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 186, in set_credentials
    self._search_user_dn()
  File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 205, in _search_user_dn
    if self.lo and self._username:
  File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 167, in lo
    return get_machine_connection(write=False)[0]
  File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 100, in get_machine_connection
    return connection()
  File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 149, in _decorated
    kwargs[loarg], kwargs[poarg] = lo, po = getter()
  File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 139, in getter
    conn = connection()
  File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 63, in connection
    return _getMachineConnection(**kwargs)
  File "/usr/lib/python3/dist-packages/univention/admin/uldap.py", line 177, in getMachineConnection
    lo = univention.uldap.getMachineConnection(start_tls, decode_ignorelist=decode_ignorelist, ldap_master=ldap_master)
  File "/usr/lib/python3/dist-packages/univention/uldap.py", line 192, in getMachineConnection
    return access(host=server, port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect)
  File "/usr/lib/python3/dist-packages/univention/uldap.py", line 288, in __init__
    self.__open(ca_certfile)
  File "/usr/lib/python3/dist-packages/univention/uldap.py", line 350, in __open
    self.lo = ldap.ldapobject.ReconnectLDAPObject(self.uri, trace_stack_limit=None, retry_max=self.client_connection_attempt, retry_delay=1)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 1098, in __init__
    bytes_strictness=bytes_strictness)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 104, in __init__
    self._l = ldap.functions._ldap_function_call(ldap._ldap_module_lock,_ldap.initialize,uri)
  File "/usr/lib/python3/dist-packages/ldap/functions.py", line 55, in _ldap_function_call
    result = func(*args,**kwargs)
ldap.LDAPError: (0, 'Error')
Internal server error during "".