Univention Bugzilla – Bug 45167
Traceback in sync_to_ucs after deleting a GPO with sub-objects
Last modified: 2019-11-12 06:35:22 CET
Traceback in sync_to_ucs after deleting a GPO with sub-objects: =========================================================================== 08.08.2017 14:07:44,373 LDAP (WARNING): Failed to get Result for DN (ou=e474,dc=edu,dc=foo,dc=bar 08.08.2017 14:07:44,374 LDAP (PROCESS): sync to ucs: Resync rejected dn: cn={E3C49B01-3873-459E 08.08.2017 14:07:44,376 LDAP (PROCESS): sync to ucs: [ msGPO] [ delete] cn={E3C49B 08.08.2017 14:07:44,379 LDAP (WARNING): delete subobject: cn=Machine,cn={E3C49B01-3873-459E-88A 08.08.2017 14:07:44,380 LDAP (PROCESS): sync to ucs: [ container] [ delete] cn=Machine 08.08.2017 14:07:44,383 LDAP (WARNING): delete subobject: cn=microsoft,cn=machine,cn={e3c49b01- 08.08.2017 14:07:44,384 LDAP (PROCESS): sync to ucs: [ container] [ delete] cn=Microso 08.08.2017 14:07:44,385 LDAP (ERROR ): Unknown Exception during sync_to_ucs 08.08.2017 14:07:44,385 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1450, in sync_to_ucs guid_unicode = original_object.get('attributes').get('objectGUID')[0] TypeError: 'NoneType' object has no attribute '__getitem__' 08.08.2017 14:07:44,385 LDAP (WARNING): delete of subobject failed: cn=Microsoft,cn=Machine,cn= 08.08.2017 14:07:44,385 LDAP (WARNING): Failed to get Result for DN (cn=Machine,cn={E3C49B01-38 08.08.2017 14:07:44,385 LDAP (WARNING): delete of subobject failed: cn=Machine,cn={E3C49B01-387 08.08.2017 14:07:44,386 LDAP (WARNING): Failed to get Result for DN (cn={E3C49B01-3873-459E-88A ===========================================================================
A test case would be nice.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
The code shown in the Traceback in Comment 3 has gone since commit 757f3158e0, which should be included in Erratum 298, which additionally fixes Bug #49324, which looks related to me. So I recommend updating to the latest Errata version in that case.
*** This bug has been marked as a duplicate of bug 49324 ***