Ad takeover s4connector error

ad-takeover

#1

while trying to takeover a samba4 domain the s4connector loop on:

05.10.2017 19:20:30,159 LDAP        (PROCESS): sync to ucs: Resync rejected dn: DC=@,DC=intranet.test.it,CN=MicrosoftDNS,DC=DomainDnsZones,DC=intranet,DC=test,DC=it
05.10.2017 19:20:30,164 LDAP        (PROCESS): sync to ucs:   [           dns] [    modify] zonename=intranet.test.it,cn=dns,dc=intranet,dc=test,dc=it
05.10.2017 19:20:30,176 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
05.10.2017 19:20:30,176 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1563, in sync_to_ucs
    result = self.property[property_type].ucs_sync_function(self, property_type, object)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1682, in con2ucs
    ucs_zone_create(s4connector, object, dns_type)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1436, in ucs_zone_create
    zone.modify()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 347, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 857, in _modify
    self.lo.modify(self.dn, ml, ignore_license=ignore_license, serverctrls=serverctrls, response=response)
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 505, in modify
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Type or value exists: nSRecord: value #0 provided more than once

#2

I have no idea how to fix or what to do, but I found some bug entries that might be related
Bug 41867 - Traceback - Listener constantly busy and restarting bind - S4 fails to sync DNS forward zone due to duplicate values
Bug 44104 - DNS SOA sync_to_ucs reject