Univention Bugzilla – Bug 36633
python undefined name in s4-connector
Last modified: 2019-08-22 15:29:54 CEST
./services/univention-s4-connector/s4-connector.py:100: undefined name 'ud' ./services/univention-s4-connector/s4-connector.py:100: undefined name 'ud' ./services/univention-s4-connector/s4-connector.py:100: undefined name 'ud' ./services/univention-s4-connector/s4-connector.py:110: undefined name 'ud' ./services/univention-s4-connector/s4-connector.py:110: undefined name 'ud' ./services/univention-s4-connector/s4-connector.py:110: undefined name 'ud'
./services/univention-s4-connector/sync_krbtgt:142:79: F821 undefined name 'username' ./services/univention-s4-connector/sync_krbtgt:143:56: F821 undefined name 'username'
Created attachment 9554 [details] Patch ud was already fixed, there is no "ud" anymore.
Removed the undefined variables from code. univention-s4-connector (13.0.2-28) cb68a31a33f5 | Bug #36633: fix some reference errors univention-s4-connector.yaml cb68a31a33f5 | Bug #36633: fix some reference errors
Created attachment 10154 [details] 1.patch I think this change doesn't make too much sense: - ntPwd = binascii.b2a_hex(unicodePwd_attr).upper() + binascii.b2a_hex(unicodePwd_attr).upper() # nt hash See attached patch, I'd just remove the lines?
OK: patch applied univention-s4-connector (13.0.2-35) a61641e40643 | Bug #36633: remove more unused code
773ac2116d | Advisory version number update Verified: * Code review * Functional test for sync_krbtgt * Advisory
<http://errata.software-univention.de/ucs/4.4/239.html>