Bug 45079 - Renaming a S4 group results in a Traceback
Renaming a S4 group results in a Traceback
Status: RESOLVED DUPLICATE of bug 49879
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on: 41694
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-26 16:43 CEST by Lukas Oyen
Modified: 2020-07-16 15:59 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Oyen univentionstaff 2017-07-26 16:43:31 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.
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:53:33 CEST
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.
Comment 2 Florian Best univentionstaff 2020-07-16 15:59:05 CEST

*** This bug has been marked as a duplicate of bug 49879 ***