Univention Bugzilla – Bug 33263
S4 connector: UnboundLocalError: local variable 'ctr4' referenced before assignment
Last modified: 2014-09-11 07:58:57 CEST
12.11.2013 09:10:08,733 LDAP (WARNING): calculate_supplementalCredentials: Primary:Kerberos num_keys = 2 12.11.2013 09:10:08,741 LDAP (WARNING): sync failed, saved as rejected /var/lib/univention-connector/s4/1384243805.073932 12.11.2013 09:10:08,774 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 753, in __sync_file_from_ucs or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))): File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2445, in sync_from_ucs f(self, property_type, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/password.py", line 580, in password_sync_ucs_to_s4 supplementalCredentials_new = calculate_supplementalCredentials(krb5Key, supplementalCredentials) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/password.py", line 364, in calculate_supplementalCredentials for k in ctr4.keys: UnboundLocalError: local variable 'ctr4' referenced before assignment
Created attachment 5993 [details] ctr3.patch The most annoying bugs are bogous debug code introduced via cut&paste...
Fixed, Advisory: 2014-08-12-univention-s4-connector.yaml
OK - fixed OK - YAML OK - merged to 4.0
http://errata.univention.de/ucs/3.2/182.html