Bug 54839 - UDM_Error: The object type of this object differs from the specified object type.
UDM_Error: The object type of this object differs from the specified object t...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
: 56393 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-08 17:40 CEST by Maximilian Janßen
Modified: 2023-08-02 14:09 CEST (History)
2 users (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: 2022052521000524, 2023053021000192, 2023071021000332
Bug group (optional): 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 Maximilian Janßen univentionstaff 2022-06-08 17:40:24 CEST
Version: 5.0-1 errata310

Remark: I recently updated this host via LDAP, for some reason Univention is no longer pleased with it

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

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 521, in _get
    obj = module.get(ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 730, in get
    UDM_Error(exc).reraise()
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 365, in reraise
    six.reraise(self.__class__, self, self.exc_info[2])
  File "%PY3%/six.py", line 692, in reraise
    raise value.with_traceback(tb)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 718, in get
    obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/computers/__base.py", line 68, in __init__
    univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1889, in __init__
    simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 223, in __init__
    raise univention.admin.uexceptions.wrongObjectType('%s is not recognized as %s.' % (self.dn, self.module))
univention.management.console.modules.udm.udm_ldap.UDM_Error: The object type of this object differs from the specified object type.
cn=*****,cn=computers,dc=*****,dc=** is not recognized as computers/linux.

Role: domaincontroller_master
Comment 1 Mika Westphal univentionstaff 2023-05-31 12:30:10 CEST
Version: 5.0-3 errata677
Role: domaincontroller_master

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

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 525, in _get
    obj, module = self.get_obj_module(request.flavor, ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 227, in get_obj_module
    return get_obj_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1210, in get_obj_module
    return module.get(ldap_dn, attributes=attr), module
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 722, in get
    UDM_Error(exc).reraise()
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 365, in reraise
    six.reraise(self.__class__, self, self.exc_info[2])
  File "%PY3%/six.py", line 692, in reraise
    raise value.with_traceback(tb)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 711, in get
    obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/computers/__base.py", line 70, in __init__
    univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1916, in __init__
    simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 230, in __init__
    raise univention.admin.uexceptions.wrongObjectType('%s is not recognized as %s.' % (self.dn, self.module))
univention.management.console.modules.udm.udm_ldap.UDM_Error: The object type of this object differs from the specified object type: cn=***,cn=***,cn=computers,dc=***,dc=local is not recognized as computers/windows.
Comment 2 Mika Westphal univentionstaff 2023-08-02 13:53:26 CEST
Version: 5.0-4 errata721
Role: domaincontroller_master

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

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 72, in _run
    result = self._function()  # type: Union[BaseException, _T]
  File "%PY3%/notifier/__init__.py", line 188, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 494, in get
    return self._get(request)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 511, in _get
    obj, module = self.get_obj_module(request.flavor, ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 226, in get_obj_module
    return get_obj_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1209, in get_obj_module
    return module.get(ldap_dn, attributes=attr), module
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 721, in get
    UDM_Error(exc).reraise()
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 364, in reraise
    six.reraise(self.__class__, self, self.exc_info[2])
  File "%PY3%/six.py", line 692, in reraise
    raise value.with_traceback(tb)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 710, in get
    obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/computers/__base.py", line 70, in __init__
    univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1916, in __init__
    simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 230, in __init__
    raise univention.admin.uexceptions.wrongObjectType('%s is not recognized as %s.' % (self.dn, self.module))
univention.management.console.modules.udm.udm_ldap.UDM_Error: Der Objekttyp dieses Objekts unterscheided sich von dem angegebenen Objekttyp: cn=***,cn=***,cn=computers,dc=***,dc=local is not recognized as computers/windows.
Comment 3 Mika Westphal univentionstaff 2023-08-02 13:54:15 CEST
*** Bug 56393 has been marked as a duplicate of this bug. ***