Bug 44535 - check_essential_samba4_dns_records fails to find DNS records
check_essential_samba4_dns_records fails to find DNS records
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Arvid Requate
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-04 13:44 CEST by Michael Grandjean
Modified: 2017-06-15 17:58 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017050421000305, 2017042621000454
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2017-05-04 13:44:23 CEST
# univention-app info
UCS: 4.2-0 errata10
App Center compatibility: 4
Installed: kde=4 samba4=4.6
Upgradable:


# /usr/share/univention-samba4/scripts/check_essential_samba4_dns_records.sh
Host gc._msdcs not found: 3(NXDOMAIN)
Host _gc._tcp not found: 3(NXDOMAIN)
Host _ldap._tcp.gc._msdcs not found: 3(NXDOMAIN)
Host _ldap._tcp not found: 3(NXDOMAIN)
Host _ldap._tcp.dc._msdcs not found: 3(NXDOMAIN)
Host _ldap._tcp.pdc._msdcs not found: 3(NXDOMAIN)
Host _ldap._tcp.7d1bc945-8e72-49f9-a353-7e294221532b.domains._msdcs not found: 3(NXDOMAIN)
Host _kerberos._tcp.dc._msdcs not found: 3(NXDOMAIN)
Host _kerberos._tcp not found: 3(NXDOMAIN)
Host _kerberos._udp not found: 3(NXDOMAIN)
Host _kpasswd._tcp not found: 3(NXDOMAIN)
Host _kpasswd._udp not found: 3(NXDOMAIN)
Located DC 'ucs-7125' in site 'Default-First-Site-Name'
Host 216d4ac8-0c1e-45e7-aac0-b42eed7cca41._msdcs not found: 3(NXDOMAIN)
## Records for site Default-First-Site-Name:
Host _ldap._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN)
Host _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs not found: 3(NXDOMAIN)
Host _kerberos._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN)
Host _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs not found: 3(NXDOMAIN)
## Optional GC Records for site Default-First-Site-Name:
Host _gc._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN)
Host _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs not found: 3(NXDOMAIN)
_kerberos.intranet.example.org descriptive text "INTRANET.EXAMPLE.ORG"


DNS works, only the shell script fails to find the records.

Seems to be an issue of Relative Domain Name vs FQDN:

root@ucs-7125:~# host gc._msdcs
Host gc._msdcs not found: 3(NXDOMAIN)

root@ucs-7125:~# host gc._msdcs.$(ucr get domainname)
gc._msdcs.intranet.example.org has address 192.168.122.227
Comment 1 Christina Scheinig univentionstaff 2017-05-04 13:58:56 CEST
I think I saw this output yesterday in a customer environment but it was not a problem, just weird
Comment 2 Arvid Requate univentionstaff 2017-05-04 15:37:53 CEST
Yes, I saw this change of behavior of "host" during UCS 4.2-0 development. No clue why it doesn't use the search domain configured in resolv.conf any longer.

Fixed in the script.

Advisory: univention-samba4.yaml
Comment 3 Felix Botner univentionstaff 2017-05-08 15:58:42 CEST
OK - check_essential_samba4_dns_records.sh
OK - YAML
Comment 4 Janek Walkenhorst univentionstaff 2017-06-15 17:58:14 CEST
<http://errata.software-univention.de/ucs/4.2/42.html>