25.5.14

DNS good enough for Kerberos

Forget everything you learned at Red Hut Pizza. Under the banner of Ubuntu does it different, here we have a Lubuntu 14.04 client joined to a Samba4 AD domain.  This is DNS the Ubuntu way. And the kids love it.

client: lubuntu5
domain: hh3.site
DC: 192.168.1.16

/etc/hosts
127.0.0.1 lubuntu5.hh3.site lubuntu5 localhost

/etc/hostname
lubuntu5.hh3.site

/etc/krb5.conf
[libdefaults]
        default_realm = HH3.SITE
        dns_lookup_realm = false
        dns_lookup_kdc = true

/etc/nsswitch.conf
hosts:  files dns

Now point and click your way home
set the DC as only DNS entry and delete any other nonsense
then hand it all over DHCP