S4connector rejected Printer

Hi, ich sehe ein paar Rejects:

[code]root@ucs:~# univention-s4connector-list-rejected

UCS rejected

1:   UCS DN: cn=Printer-Admins,cn=groups,dc=hgw,dc=gc
      S4 DN: <not found>
     Filename: /var/lib/univention-connector/s4/1485470485.280698

2:   UCS DN: cn=Printer-Admins,cn=groups,dc=hgw,dc=gc
      S4 DN: <not found>
     Filename: /var/lib/univention-connector/s4/1485470500.686596

S4 rejected

1:    S4 DN: CN=Print Operators,CN=Builtin,DC=hgw,DC=gc
     UCS DN: <not found>

    last synced USN: 66396

[/code]

Log sagt dies:

[code]30.01.2017 11:56:55,537 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1485470485.280698
30.01.2017 11:56:55,542 LDAP (PROCESS): sync from ucs: [ group] [ add] cn=Printer-Admins,cn=groups,DC=hgw,DC=gc
30.01.2017 11:56:55,559 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1485470485.280698
30.01.2017 11:56:55,559 LDAP (WARNING): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/univention/s4connector/init.py”, line 843, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, ‘utf8’), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/init.py”, line 2414, in sync_from_ucs
objectSid = decode_sid(objectSid_attr_value)
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/init.py”, line 517, in decode_sid
sid += “%d” % ord(value[0])
TypeError: ‘NoneType’ object has no attribute ‘getitem

30.01.2017 11:56:55,559 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1485470500.686596
30.01.2017 11:56:55,564 LDAP (PROCESS): sync from ucs: [ group] [ add] cn=Printer-Admins,cn=groups,DC=hgw,DC=gc
30.01.2017 11:56:55,578 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1485470500.686596
30.01.2017 11:56:55,578 LDAP (WARNING): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/univention/s4connector/init.py”, line 843, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, ‘utf8’), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/init.py”, line 2414, in sync_from_ucs
objectSid = decode_sid(objectSid_attr_value)
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/init.py”, line 517, in decode_sid
sid += “%d” % ord(value[0])
TypeError: ‘NoneType’ object has no attribute ‘getitem

30.01.2017 11:56:55,579 LDAP (PROCESS): sync to ucs: Resync rejected dn: CN=Print Operators,CN=Builtin,DC=hgw,DC=gc
30.01.2017 11:56:55,586 LDAP (PROCESS): sync to ucs: [ group] [ modify] cn=Printer-Admins,cn=groups,dc=hgw,dc=gc
30.01.2017 11:56:55,600 LDAP (PROCESS): Unable to sync cn=Printer-Admins,cn=groups,dc=hgw,dc=gc (UUID: 2e7405ca-c678-1035-9863-f51dd6364e1c). The object is currently locked.
[/code]

was tut man in dem fall?

Normalerweise würde man für S4 Rejects hier schauen: http://sdb.univention.de/content/6/294/en/how-to-deal-with-s4_connector-rejects.html in diesem speziellen Fall wird das aber nicht helfen. Wir haben da noch ein Issue offen, das wir lösen müssen: https://forge.univention.org/bugzilla/show_bug.cgi?id=43368

Das Ganze führt gerade im Moment aber nicht zu Einschränkungen, oder?

nein gibt keine probleme, ist mir nur aufgefallen… gut dann warten wir :slight_smile: vielen dank!

Mastodon