Univention Bugzilla – Bug 26231
S4 Connector: versucht rejected DN's zu synchronisieren, die aber gar nicht mehr vorhanden sind -> Traceback
Last modified: 2016-10-11 08:02:25 CEST
-> 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'
This kind of rejects have been seen again on a UCS@school test system.
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'
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.