Univention Bugzilla – Bug 51507
22_kdc_service diagnostic check fails in UCS 5
Last modified: 2021-05-25 16:00:04 CEST
################# Start 22_kdc_service ################ ## Check failed: 22_kdc_service - KDC Erreichbarkeit ## Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/__init__.py", line 280, in execute result = execute(umc_module, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/22_kdc_service.py", line 313, in run kdc_reachabe = [(probe_kdc(kdc, port, protocol, target_realm, user_name), (kdc, port, protocol)) for (kdc, port, protocol) in kdc_to_check] File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/22_kdc_service.py", line 251, in probe_kdc request = build_kerberos_request(target_realm, user_name) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/22_kdc_service.py", line 185, in build_kerberos_request req_body['cname'] = None File "/usr/lib/python2.7/dist-packages/pyasn1/type/univ.py", line 2073, in __setitem__ raise KeyError(sys.exc_info()[1]) KeyError: PyAsn1Error('NamedTypes can cast only scalar values',)
I updated the diagnostic module 22_kdc_service to work with pyasn1 >= 0.4 in branch jbremer/bug51507_22_kdc_service_diagnostic.
Thanks very much! I cherry-picked the commit into the branch feature/ucs5 (and reverted the ipaddress → ipaddr change). Can you write a doc/changelog/changelog-5.0-0.xml entry and set this bug to resolved fixed? Do you know if the fix works with Python 3?
cf0ef32766 Bug #51507: changelog Thanks for the fast merge :) The changes I made are python3 compatible.
OK: Code review OK: Jenkins Tests OK: Changelog entry
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".