S4-connector rejects KeyError: 'serial'


#1

hi, can someone help please?

root@ucs:/var/lib/samba/private# univention-s4connector-list-rejected

UCS rejected


S4 rejected

    1:    S4 DN: DC=@,DC=gr.gc,CN=MicrosoftDNS,DC=DomainDnsZones,DC=gr,DC=gc
         UCS DN: zonename=gr.gc,cn=dns,dc=gr,dc=gc

        last synced USN: 1524676

connector log:

09.07.2019 16:10:07.231 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
09.07.2019 16:10:07.231 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1540, in sync_to_ucs
    result = self.property[property_type].ucs_sync_function(self, property_type, object)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/dns.py", line 1745, in con2ucs
    ucs_zone_create(s4connector, object, dns_type)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/dns.py", line 1431, in ucs_zone_create
    soa['serial'] = str(max(int(soa['serial']), int(msdcs_soa['serial'])))
KeyError: 'serial'

how to fix it?

Thx!