Bug 26231 - S4 Connector: versucht rejected DN's zu synchronisieren, die aber gar nicht mehr vorhanden sind -> Traceback
S4 Connector: versucht rejected DN's zu synchronisieren, die aber gar nicht m...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Connector maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-23 13:46 CET by Felix Botner
Modified: 2016-10-11 08:02 CEST (History)
2 users (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 2012-02-23 13:46:51 CET
-> sqlite3 /etc/univention/connector/s4internal.sqlite "select * from 'S4 rejected'"
4573|CN=khhaswnd3,CN=ccprrhod1,DC=as,DC=df
4574|CN=ibndifpy,CN=ccprrhod1,DC=as,DC=df
4582|CN=umyxlmsr3,CN=dyixghry1,DC=as,DC=df
4702|OU=trtrdtuh3,OU=pzhgcccm1,DC=as,DC=df
4703|CN=rzavoqmz,OU=pzhgcccm1,DC=as,DC=df

-> univention-s4search cn=ccprrhod1

-> univention-s4search cn=khhaswnd3

-> univention-s4search cn=kibndifpy


Ich bekam dann ständig Tracebacks im Log File

23.02.2012 13:46:01,121 LDAP        (PROCESS): sync to ucs: Resync rejected dn: CN=khhaswnd3,CN=ccprrhod1,DC=as,DC=df
23.02.2012 13:46:01,122 LDAP        (INFO   ): Search S4 with filter: (|(uSNChanged=4573)(uSNCreated=4573))
23.02.2012 13:46:01,123 LDAP        (INFO   ): encode_s4_object: attrib objectGUID ignored during encoding
23.02.2012 13:46:01,124 LDAP        (WARNING): lastKnownParent attribute for deleted object rdn="CN=khhaswnd3" was not set, so we must ignore the object
23.02.2012 13:46:01,124 LDAP        (INFO   ): object_from_element: DN of removed object: None
23.02.2012 13:46:01,124 LDAP        (INFO   ): _object_mapping: map with key None and type con
23.02.2012 13:46:01,124 LDAP        (ERROR  ): unexpected Error during s4.resync_rejected
23.02.2012 13:46:01,125 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 1812, in resync_rejected
    mapped_object = self._object_mapping(property_key,object)
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1541, in _object_mapping
    if object.has_key(dntype):
AttributeError: 'NoneType' object has no attribute 'has_key'

23.02.2012 13:46:01,125 LDAP        (PROCESS): sync to ucs: Resync rejected dn: CN=ibndifpy,CN=ccprrhod1,DC=as,DC=df
23.02.2012 13:46:01,126 LDAP        (INFO   ): Search S4 with filter: (|(uSNChanged=4574)(uSNCreated=4574))
23.02.2012 13:46:01,127 LDAP        (INFO   ): encode_s4_object: attrib objectGUID ignored during encoding
23.02.2012 13:46:01,128 LDAP        (WARNING): lastKnownParent attribute for deleted object rdn="CN=ibndifpy" was not set, so we must ignore the object
23.02.2012 13:46:01,128 LDAP        (INFO   ): object_from_element: DN of removed object: None
23.02.2012 13:46:01,128 LDAP        (INFO   ): _object_mapping: map with key None and type con
23.02.2012 13:46:01,128 LDAP        (ERROR  ): unexpected Error during s4.resync_rejected
23.02.2012 13:46:01,129 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 1812, in resync_rejected
    mapped_object = self._object_mapping(property_key,object)
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1541, in _object_mapping
    if object.has_key(dntype):
AttributeError: 'NoneType' object has no attribute 'has_key'
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-10-20 11:23:30 CEST
This kind of rejects have been seen again on a UCS@school test system.
Comment 2 Ammar Najjar univentionstaff 2014-10-22 10:42:02 CEST
again in UCS@school:
22.10.2014 10:36:28,112 LDAP        (PROCESS): sync to ucs: Resync rejected dn: CN=networks,OU=sn2kdcspr,DC=blah,DC=local
22.10.2014 10:36:28,113 LDAP        (WARNING): lastKnownParent attribute for deleted object rdn="cn=networks" was not set, so we must ignore the object
22.10.2014 10:36:28,113 LDAP        (ERROR  ): unexpected Error during s4.resync_rejected
22.10.2014 10:36:28,113 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2052, in resync_rejected
    mapped_object = self._object_mapping(property_key,object)
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1672, in _object_mapping
    if object.has_key(dntype):
AttributeError: 'NoneType' object has no attribute 'has_key'
Comment 3 Stefan Gohmann univentionstaff 2016-10-11 08:02:25 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please reopen.