Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2017 08:10:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220898] kerberos kinit not respecting no dns settings
Message-ID:  <bug-220898-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: holindho@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220898-8>