[Bug 220898] kerberos kinit not respecting no dns settings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 21 08:10:52 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220898

            Bug ID: 220898
           Summary: kerberos kinit not respecting no dns settings
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: holindho at saunalahti.fi

I set up a local realm for testing without a DNS server. Kerberos server is of
the MIT type on another box. Addresses in /etc/hosts are set up so that the
kerberos server can be pinged without DNS lookups. MIT kinit from a Linux box
works fine. Running kinit on a FreeBSD box starts looking for the KDC via DNS,
disregarding /etc/krb5.conf, disregarding /etc/hosts, and obviously fails.

/etc/nsswitch has
hosts: files dns

krb5.conf has:
[libdefaults]
        ....
        dns_lookup_kdc = false
        dns_lookup_realm = false
        rdns = false

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list