Univention Bugzilla – Bug 41406
S4-Connector tracebacks due to new _ldap._tcp.DomainDnsZones records.
Last modified: 2016-09-29 17:30:58 CEST
The patch of Bug #36101 needs to be backported to UCS 3.2 as well, due to the errata3.2-8 update to Samba 4.3.7. For UCS 3.3 this has already been done (see Bug #40698 Comment 8). +++ This bug was initially created as a clone of Bug #36101 +++ Samba 4.2 creates additional SRV records in DNS, which are not accepted by the UDM syntax class ipProtocolSRV. This causes rejects in the S4-Connector: ============================================================================== root@master50:~# univention-s4connector-list-rejected UCS rejected S4 rejected 1: S4 DN: DC=_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones,DC=ar40i1.qa,CN=MicrosoftDNS,CN=System,DC=ar40i1,DC=qa UCS DN: <not found> 2: S4 DN: DC=_ldap._tcp.ForestDnsZones,DC=ar40i1.qa,CN=MicrosoftDNS,CN=System,DC=ar40i1,DC=qa UCS DN: <not found> 3: S4 DN: DC=_ldap._tcp.DomainDnsZones,DC=ar40i1.qa,CN=MicrosoftDNS,CN=System,DC=ar40i1,DC=qa UCS DN: <not found> 4: S4 DN: DC=_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones,DC=ar40i1.qa,CN=MicrosoftDNS,CN=System,DC=ar40i1,DC=qa UCS DN: <not found> ============================================================================== Can't find the MS docs where these are specified but apparently that's what Active Directroy creates. Note the "DomainDnsZones" and "ForestDnsZones" parts in the DNS names (these are not to be confused with the equally named LDAP partitions in the Samba4/AD Directory Service). +++ This bug was initially created as a clone of Bug #35319 +++
Fixed by backporting univention-s4-connector commit r55263 from UCS 4.0: * Use udm.handlers.src_record.unmapName (Bug #36101) Advisory: univention-s4-connector.yaml Test Setup: Install a plain UCS 3.2, update to 3.2-8 with latest errata, then install univention-s4-connector and run univention-run-join-scripts. That should reproduce the rejects. Installing the updated uinvention-s4-connector from apt should resolve the rejects.
Code review: OK Tests: I was unable to reproduce the original issue. Anyway, the change makes sense. YAML: OK, minor adjustment r69934
<http://errata.software-univention.de/ucs/3.2/433.html>