Univention Bugzilla – Bug 47360
setup/check/credentials: NameError: global name 'check_result' is not defined
Last modified: 2019-02-21 11:14:23 CET
Version: 4.3-0 errata28 (Neustadt) Internal server error during "setup/check/credentials (wizard)". Request: setup/check/credentials (wizard) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 780, in check_credentials domain = util.check_credentials_ad(nameserver, address, username, password) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 1196, in check_credentials_ad ad_domain_info = lookup_adds_dc(address, ucr={'nameserver1': nameserver}) File "%PY2.7%/univention/lib/admember.py", line 739, in lookup_adds_dc check_result.append("CLDAP: %s", ex.args[0]) NameError: global name 'check_result' is not defined Role: None
Fixed with commit d2d0b08 from Bug #41733
Version: 4.3-0 errata89 (Neustadt) Internal server error during "adconnector/check_domain". Request: adconnector/check_domain Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 390, in check_domain ad_domain_info = admember.lookup_adds_dc(ad_server_address) File "%PY2.7%/univention/lib/admember.py", line 739, in lookup_adds_dc check_result.append("CLDAP: %s", ex.args[0]) NameError: global name 'check_result' is not defined Role: domaincontroller_master
Reported again: Version: 4.3-0 errata28 (Neustadt) Remark: Try to connect to win srv 2008 DC Traceback(d41d8cd98f00b204e9800998ecf8427e): Configuring Active Directory connection: Traceback (most recent call last): Configuring Active Directory connection: File "%PY2.7%/univention/management/console/modules/setup/setup_script.py", line 310, in run Configuring Active Directory connection: success = self.inner_run() Configuring Active Directory connection: File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 123, in inner_run Configuring Active Directory connection: admember.add_host_record_in_ad(uid=username, bindpw=password, sso=True) Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 1247, in add_host_record_in_ad Configuring Active Directory connection: ad_domain_info = lookup_adds_dc() Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 739, in lookup_adds_dc Configuring Active Directory connection: check_result.append("CLDAP: %s", ex.args[0]) Configuring Active Directory connection: NameError: global name 'check_result' is not defined Role: domaincontroller_master
This was reported again with a higher version that the fix but that may be due to the fact that the errata version for the feedback is determined when the feedback is sent and not when the error ocurred. Version: 4.3-1 errata157 (Neustadt) Configuring Active Directory connection: Traceback (most recent call last): Configuring Active Directory connection: File "%PY2.7%/univention/management/console/modules/setup/setup_script.py", line 310, in run Configuring Active Directory connection: success = self.inner_run() Configuring Active Directory connection: File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 123, in inner_run Configuring Active Directory connection: admember.add_host_record_in_ad(uid=username, bindpw=password, sso=True) Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 1247, in add_host_record_in_ad Configuring Active Directory connection: ad_domain_info = lookup_adds_dc() Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 739, in lookup_adds_dc Configuring Active Directory connection: check_result.append("CLDAP: %s", ex.args[0]) Configuring Active Directory connection: NameError: global name 'check_result' is not defined Role: domaincontroller_master
fixed with 87528b94f00155a827d3235d9fb6d43069a6a05d (Bug #44478)
*** This bug has been marked as a duplicate of bug 44478 ***