[Samba] Ubuntu client ddns failure

steve steve at steve-ss.com
Tue May 20 11:40:58 MDT 2014


On 20/05/14 16:19, L.P.H. van Belle wrote:
> sure its working, but its not ok, it is NOT the ip of the device.
>
> this 192.168.1.22:40242 for DNS/a.root-servers.net at HH3.SITE
> indicates wrong resolv order and/or dns servers.
>
>
> from the debian Reference manual.
> Some software (e.g., GNOME) expects the system hostname to be resolvable
> to an IP address with a canonical fully qualified domain name.
> This is really improper because system hostnames and domain names are two very different things;
> but there you have it. In order to support that software, it is necessary to ensure
> that the system hostname can be resolved. Most often this is done by putting a line
> in /etc/hosts containing some IP address and the system hostname.
> If your system has a permanent IP address then use that; otherwise use the address 127.0.1.1.
>
> multple options..
>
> add this to the interfaces.
>
> dns-nameserver IPYOURNAMSERVER
> dns-search YOURDNSDOMAIN
> dns-domain YOURDNSDOMAIN
>
> and try again.
> or
> remove resolvconf package and configure resolv.conf manualy.
>
> or....
> configure /etc/resolvconf/resolv.conf.d/head   with the dns servers
> and update :  sudo resolvconf -u
>

Hi. It's not the name resolution short hostname vs fqdn.
Our (working) openSUSE clients have exactly the same dig output. The 
fqdn resolves, the short hostname call out to root.servers just like on 
Ubuntu. BUT, they successfully update their DNS. Here is an openSUSE 
client called catral.hh3.site
  /etc/hosts
127.0.0.1       catral.hh3.site catral localhost

and, starting sssd, we can see the DNS ticket request goes just fine:
k
Kerberos: TGS-REQ CATRAL$@HH3.SITE from ipv4:192.168.1.25:46259 for 
ldap/hh16.hh3.site at HH3.SITE [canonicalize, renewable]
Kerberos: TGS-REQ authtime: 2014-05-20T19:31:19 starttime: 
2014-05-20T19:31:19 endtime: 2014-05-21T05:31:19 renew till: 
2014-05-21T19:31:16
Terminating connection - 'kdc_tcp_call_loop: 
tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED'
single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() 
- NT_STATUS_CONNECTION_DISCONNECTED]
Kerberos: TGS-REQ CATRAL$@HH3.SITE from ipv4:192.168.1.25:46957 for 
DNS/hh16.hh3.site at HH3.SITE [canonicalize, renewable]
Kerberos: TGS-REQ authtime: 2014-05-20T19:31:19 starttime: 
2014-05-20T19:31:20 endtime: 2014-05-21T05:31:19 renew till: 
2014-05-21T19:31:16

It requests:
DNS/hh16.hh3.site, the fqdn of the DC

Why can't we get this on the Ubuntu laptop?
Is having a - in the hostname permissible?
Mystery,
Steve




More information about the samba mailing list