Univention Bugzilla – Bug 54083
schoolwizards/classes/query: Wrong objectClass: ** is not a school.
Last modified: 2023-06-20 15:16:19 CEST
Version: 4.4-8 errata1020 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "schoolwizards/classes/query (schoolwizards/classes)". Request: schoolwizards/classes/query (schoolwizards/classes) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 249, in _decorated ret = func(self, request, *a, **kw) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 577, in get_classes return self._get_all(SchoolClass, school, request.options.get("filter"), ldap_user_read) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 446, in _get_all schools = School.from_binddn(lo) File "%PY2.7%/ucsschool/lib/models/school.py", line 714, in from_binddn school = cls.from_dn(school_dn, None, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 1154, in from_dn raise WrongObjectType(dn, cls) WrongObjectType: Could not find object of type None with DN "Wrong objectClass: u'ou=ou-mitarbeiter,ou=ou-users,ou=MSF,dc=ad,dc=****,dc=de' is not a 'School'.". **** is a name
Not the same traceback source, but its the exact same ldap-object and same issue with it: Version: 4.4-8 errata1020 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "computerroom/schools". Request: computerroom/schools Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_base.py", line 127, in schools schools = School.from_binddn(ldap_user_read) File "%PY2.7%/ucsschool/lib/models/school.py", line 714, in from_binddn school = cls.from_dn(school_dn, None, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 1154, in from_dn raise WrongObjectType(dn, cls) WrongObjectType: Could not find object of type None with DN "Wrong objectClass: u'ou=ou-mitarbeiter,ou=ou-users,ou=MSF,dc=ad,dc=****,dc=de' is not a 'School'.".
Once again the exact same ldap object: Version: 4.4-8 errata1020 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "schoolusers/schools (student)". Request: schoolusers/schools (student) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_base.py", line 127, in schools schools = School.from_binddn(ldap_user_read) File "%PY2.7%/ucsschool/lib/models/school.py", line 714, in from_binddn school = cls.from_dn(school_dn, None, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 1154, in from_dn raise WrongObjectType(dn, cls) WrongObjectType: Could not find object of type None with DN "Wrong objectClass: u'ou=ou-mitarbeiter,ou=ou-users,ou=MSF,dc=ad,dc=****,dc=de' is not a 'School'.". Role: domaincontroller_backup
reported again. i think its caused by a broken/wrong/.. object in this customers ldap (all the tracebacks are from the same school). Version: 4.4-8 errata1020 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "schoolusers/schools (teacher)". Request: schoolusers/schools (teacher) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_base.py", line 127, in schools schools = School.from_binddn(ldap_user_read) File "%PY2.7%/ucsschool/lib/models/school.py", line 714, in from_binddn school = cls.from_dn(school_dn, None, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 1154, in from_dn raise WrongObjectType(dn, cls) WrongObjectType: Could not find object of type None with DN "Wrong objectClass: u'ou=ou-mitarbeiter,ou=ou-users,ou=MSF,dc=ad,dc=****,dc=de' is not a 'School'.". Role: domaincontroller_backup
Version: 4.4-9 errata1371 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "schoolusers/schools (student)". Request: schoolusers/schools (student) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/ucsschool/lib/school_umc_base.py", line 127, in schools schools = School.from_binddn(ldap_user_read) File "%PY2.7%/ucsschool/lib/models/school.py", line 714, in from_binddn school = cls.from_dn(school_dn, None, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 1154, in from_dn raise WrongObjectType(dn, cls) WrongObjectType: Could not find object of type None with DN "Wrong objectClass: 'ou=admins,ou=administration,dc=***,dc=***' is not a 'School'.". Role: domaincontroller_backup