Bug 25111 - AD Connector: nachträgliches Ändern des Pre Windows 2000 Gruppennamen einer umbenannten Gruppe führt zu Traceback
AD Connector: nachträgliches Ändern des Pre Windows 2000 Gruppennamen einer ...
Status: RESOLVED DUPLICATE of bug 18479
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Connector maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-02 16:15 CET by Felix Botner
Modified: 2016-09-28 08:03 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Felix Botner univentionstaff 2011-12-02 16:15:14 CET
UCS 3.0 <=> w2k8r2 (read mode)

Im Windows eine Gruppe umbenannt, aber nicht pre Windows 2000 Namen (sAMAccountName) geändert. Wenn ich diesen dann nachträglich ändere, gibt es einen Traceback im Connector.

Er fängt sich dann aber wieder und sync. die Daten nochmal. Die Gruppe und die Mitgliedschaften sind dann ok.

30.11.2011 22:45:51,719 LDAP        (PROCESS): sync to ucs:   [          user] [    modify] uid=mytestuser1,cn=users,dc=w2k8,dc=r2
30.11.2011 22:46:22,230 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=igg-new1,cn=users,dc=w2k8,dc=r2
30.11.2011 22:47:27,412 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=igg2,cn=users,dc=w2k8,dc=r2
30.11.2011 22:49:12,647 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=igg2,cn=users,dc=w2k8,dc=r2
30.11.2011 22:49:12,696 LDAP        (ERROR  ): failed in post_con_modify_functions
30.11.2011 22:49:12,698 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/connector/__init__.py", line 1088, in sync_to_ucs
    f(self, property_type, object)
  File "/usr/lib/pymodules/python2.6/univention/connector/ad/__init__.py", line 64, in group_members_sync_to_ucs
    return connector.group_members_sync_to_ucs(key, object)
  File "/usr/lib/pymodules/python2.6/univention/connector/ad/__init__.py", line 1345, in group_members_sync_to_ucs
    if ldap_object_ucs.has_key('uniqueMember'):
AttributeError: 'NoneType' object has no attribute 'has_key'

30.11.2011 22:49:12,698 LDAP        (WARNING): sync to ucs was not successfull, save rejected
30.11.2011 22:49:12,699 LDAP        (WARNING): object was: CN=igg-new2,CN=Users,DC=w2k8r2,DC=win
30.11.2011 22:49:12,702 LDAP        (PROCESS): sync to ucs: Resync rejected dn: CN=igg-new2,CN=Users,DC=w2k8r2,DC=win
30.11.2011 22:49:12,708 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=igg-new2,cn=users,dc=w2k8,dc=r2
Comment 1 Stefan Gohmann univentionstaff 2013-05-23 14:14:57 CEST
Tritt auch mit 3.1-1 noch auf:

08.02.2012 01:35:52,224 LDAP        (ERROR  ): failed in post_con_modify_functions
08.02.2012 01:35:52,234 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/connector/__init__.py", line 1261, in sync_to_ucs
    f(self, property_type, object)
  File "/usr/lib/pymodules/python2.6/univention/connector/ad/__init__.py", line 64, in group_members_sync_to_ucs
    return connector.group_members_sync_to_ucs(key, object)
  File "/usr/lib/pymodules/python2.6/univention/connector/ad/__init__.py", line 1521, in group_members_sync_to_ucs
    if ldap_object_ucs.has_key('uniqueMember'):
AttributeError: 'NoneType' object has no attribute 'has_key'
Comment 2 Stefan Gohmann univentionstaff 2016-09-28 08:03:23 CEST
Still valid with UCS 4.1-3:

18.02.2016 22:01:08,442 LDAP        (ERROR  ): failed in post_con_modify_functions
18.02.2016 22:01:08,443 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1309, in sync_to_ucs
    f(self, property_type, object)
  File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 166, in group_members_sync_to_ucs
    return connector.group_members_sync_to_ucs(key, object)
  File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 1746, in group_members_sync_to_ucs
    if ldap_object_ucs.has_key('uniqueMember'):
AttributeError: 'NoneType' object has no attribute 'has_key'

18.02.2016 22:01:08,444 LDAP        (WARNING): sync to ucs was not successfull, save rejected

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