Univention Bugzilla – Bug 45079
Renaming a S4 group results in a Traceback
Last modified: 2020-07-16 15:59:05 CEST
This is an issue with the S4 Connector aswell (see ucs-test/tests/52_s4connector/172sync_ad_change_groupname`.) +++ This bug was initially created as a clone of Bug #18479 +++ Habe Benutzer und Gruppe auf AD-Seite erzeugt und den Benutzer der Gruppe hinzugefügt. Ändere ich jetzt von der Gruppe das SamAccountName-Attribut (etwas anderes lässt die Windows-Oberfläche nicht zu, passiert aber gleichermaßen auch über ldap direkt), so gibt es im Connector folgende Exception: failed in post_con_modify_functions Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/univention/connector/__init__.py", line 1017, in sync_to_ucs f(self, property_type, object) File "/usr/lib/python2.4/site-packages/univention/connector/ad/__init__.py", line 58, in group_members_sync_to_ucs return connector.group_members_sync_to_ucs(key, object) File "/usr/lib/python2.4/site-packages/univention/connector/ad/__init__.py", line 1298, in group_members_sync_to_ucs if ldap_object_ucs.has_key('uniqueMember'): AttributeError: 'NoneType' object has no attribute 'has_key' Anschließend ist der Benutzer auch nicht mehr Mitglied der Gruppe.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
*** This bug has been marked as a duplicate of bug 49879 ***