S4connector list rejected, objectExists

Hallo,

[code]root@xyz:~/scripts# univention-s4connector-list-rejected

UCS rejected

S4 rejected

1:    S4 DN: OU=xx.intern,DC=xx,DC=intern
     UCS DN: ou=xx.intern,dc=xx,dc=intern
2:    S4 DN: OU=User,OU=xx.intern,DC=xx,DC=intern
     UCS DN: ou=user,ou=xx.intern,dc=xx,dc=intern

    last synced USN: 8137[/code]

Obwohl auf beiden Seiten der Container bereits existiert…

S4- Log- File:

[code]12.07.2012 10:35:36,549 LDAP (PROCESS): sync to ucs: Resync rejected dn: OU=xx.intern,DC=xx,DC=intern
12.07.2012 10:35:36,552 LDAP (PROCESS): sync to ucs: [ ou] [ add] ou=xx.intern,dc=xx,dc=intern
12.07.2012 10:35:36,556 LDAP (ERROR ): Unknown Exception during sync_to_ucs
12.07.2012 10:35:36,556 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 1277, in sync_to_ucs
result = self.add_in_ucs(property_type, object, module, position)
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 1154, in add_in_ucs
return ucs_object.create() and self.__modify_custom_attributes(property_type, object, ucs_object, module, position)
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 332, in create
return self._create()
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 701, in _create
self.lo.add(self.dn, al)
File “/usr/lib/pymodules/python2.6/univention/admin/uldap.py”, line 363, in add
raise univention.admin.uexceptions.objectExists, dn
objectExists: ou=xx.intern,dc=xx,dc=intern

12.07.2012 10:35:36,557 LDAP (PROCESS): sync to ucs: Resync rejected dn: OU=User,OU=xx.intern,DC=xx,DC=intern
12.07.2012 10:35:36,559 LDAP (PROCESS): sync to ucs: [ ou] [ add] ou=user,ou=xx.intern,dc=xx,dc=intern
12.07.2012 10:35:36,563 LDAP (ERROR ): Unknown Exception during sync_to_ucs
12.07.2012 10:35:36,563 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 1277, in sync_to_ucs
result = self.add_in_ucs(property_type, object, module, position)
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 1154, in add_in_ucs
return ucs_object.create() and self.__modify_custom_attributes(property_type, object, ucs_object, module, position)
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 332, in create
return self._create()
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 701, in _create
self.lo.add(self.dn, al)
File “/usr/lib/pymodules/python2.6/univention/admin/uldap.py”, line 363, in add
raise univention.admin.uexceptions.objectExists, dn
objectExists: ou=User,ou=xx.intern,dc=xx,dc=intern
[/code]

1.) Warum wird kein modify ausgeführt, wenn das Objekt bereits existiert??
2.) Kann ich diesen Fehler irgendwie ignorieren, so dass dieses Objekt nicht mehr versucht wird, zu erstellen??

Danke!

LG

…?

Weitere Probleme, welche uns mit dem Connector auffallen:

1.) Wenn ich im UDM einen Contrainer anlege, wird dieser ab und zu im AD mit Kleinbuchstaben angelegt.
2.) Bei einem Kunden erhalten wir folgenden Fehler:

16.07.2012 13:30:32,976 LDAP (PROCESS): sync to ucs: [ dns] [ add] DC=4dbecdc6-6f17-4d40-852e-9d0931a3c964._msdcs,dc=evsteam.local,cn=dns,dc=evsteam,dc=local 16.07.2012 13:30:32,976 LDAP (PROCESS): sync to ucs: [ dns] [ add] DC=4dbecdc6-6f17-4d40-852e-9d0931a3c964._msdcs,dc=evsteam.local,cn=dns,dc=evsteam,dc=local 16.07.2012 13:30:32,978 LDAP (ERROR ): Unknown Exception during sync_to_ucs 16.07.2012 13:30:32,978 LDAP (ERROR ): Unknown Exception during sync_to_ucs 16.07.2012 13:30:32,978 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1274, in sync_to_ucs result = self.property[property_type].ucs_sync_function(self, property_type, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 897, in con2ucs ucs_cname_create(s4connector, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 563, in ucs_cname_create newRecord['cname']=c File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 260, in __setitem__ p=s.parse(value) File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 1038, in parse if self._re.match(text) != None: TypeError: expected string or buffer 16.07.2012 13:30:32,978 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1274, in sync_to_ucs result = self.property[property_type].ucs_sync_function(self, property_type, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 897, in con2ucs ucs_cname_create(s4connector, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 563, in ucs_cname_create newRecord['cname']=c File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 260, in __setitem__ p=s.parse(value) File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 1038, in parse if self._re.match(text) != None: TypeError: expected string or buffer

Was bedeutet dieses?

// Edit:

Wieder ein anderer Kunde, und anderes Problem:

[code]16.07.2012 13:51:50,819 LDAP (PROCESS): sync from ucs: [ user] [ modify] cn=luxuser,cn=users,dc=xx,dc=local
16.07.2012 13:51:50,819 LDAP (PROCESS): sync from ucs: [ user] [ modify] cn=luxuser,cn=users,dc=xx,dc=local
16.07.2012 13:51:50,861 LDAP (WARNING): sync failed, saved as rejected
16.07.2012 13:51:50,861 LDAP (WARNING): sync failed, saved as rejected
16.07.2012 13:51:50,861 LDAP (WARNING): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 749, in __sync_file_from_ucs
or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))):
File “/usr/lib/pymodules/python2.6/univention/s4connector/s4/init.py”, line 2083, in sync_from_ucs
self.lo_s4.lo.add_s(compatible_modstring(object[‘dn’]), compatible_addlist(addlist)) #FIXME encoding
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 194, in add_s
return self.result(msgid,all=1,timeout=self.timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 422, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 426, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 432, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 96, in _ldap_call
result = func(*args,**kwargs)
ALREADY_EXISTS: {‘info’: “00002071: Entry already exists - samldb: Account name (sAMAccountName) ‘LuxUser’ already in use!”, ‘desc’: ‘Already exists’}

16.07.2012 13:51:50,861 LDAP (WARNING): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.6/univention/s4connector/init.py”, line 749, in __sync_file_from_ucs
or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))):
File “/usr/lib/pymodules/python2.6/univention/s4connector/s4/init.py”, line 2083, in sync_from_ucs
self.lo_s4.lo.add_s(compatible_modstring(object[‘dn’]), compatible_addlist(addlist)) #FIXME encoding
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 194, in add_s
return self.result(msgid,all=1,timeout=self.timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 422, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 426, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 432, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
File “/usr/lib/python2.6/dist-packages/ldap/ldapobject.py”, line 96, in _ldap_call
result = func(*args,**kwargs)
ALREADY_EXISTS: {‘info’: “00002071: Entry already exists - samldb: Account name (sAMAccountName) ‘LuxUser’ already in use!”, ‘desc’: ‘Already exists’}
[/code]

Hallo,

[quote=“DBGTMaster”]1.) Warum wird kein modify ausgeführt, wenn das Objekt bereits existiert??
2.) Kann ich diesen Fehler irgendwie ignorieren, so dass dieses Objekt nicht mehr versucht wird, zu erstellen??
[/quote]
um aufzuklären wie es zu diesen Rejects gekommen ist wäre, neben Informationen zum eingesetzten Produkt (UCS/UCS@school) sowie der UCS-Version, wann die betroffenen OUs angelegt wurden (vor oder nach der S4 Migration? Evtl. wurde das System direkt mit S4 installiert, d.h. keine Migration?). Interessant wäre außerdem, ob die Rejects direkt beim Anlegen der Container ausgegeben wurde oder erst nachträglich.

Bzgl. Ihrer folgenden Postings ist es denke ich am einfachsten und effizientesten wenn diese, sofern Sie in anderen Umgebunden auftreten, getrennt behandelt würden. Ansonsten wird es hier denke ich schnell unübersichtlich werden. Ich würde Sie daher bitten Probleme welche Sie in anderen Umgebungen und bei anderen Kunden beobachtet haben in separaten Threads mit aussagekräftigen Titeln zu beschreiben. Bitte geben Sie hier jeweils auch das eingesetzte Produkt sowie die Version an um weitere Rückfragen dazu zu vermeiden.

Mit freundlichen Grüßen
Janis Meybohm

Mastodon