From owner-freebsd-questions@freebsd.org Thu Dec 15 01:14:18 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6931C75DDC for ; Thu, 15 Dec 2016 01:14:18 +0000 (UTC) (envelope-from rf@ucdavis.edu) Received: from mail.unixboxen.net (unknown [IPv6:2606:400:1140:100::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6A661B37 for ; Thu, 15 Dec 2016 01:14:18 +0000 (UTC) (envelope-from rf@ucdavis.edu) Received: from localhost (localhost [127.0.0.1]) by mail.unixboxen.net (Postfix) with ESMTP id C4CE53165AD for ; Wed, 14 Dec 2016 17:14:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at mail.unixboxen.net Received: from mail.unixboxen.net ([127.0.0.1]) by localhost (odinsheim.unixboxen.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qocGcJD4ZhPD for ; Wed, 14 Dec 2016 17:14:03 -0800 (PST) Date: Wed, 14 Dec 2016 17:14:07 -0800 From: Richard Feltstykket To: freebsd-questions@freebsd.org Subject: Hesiod support bug? Message-ID: <20161215011407.GC18251@odinseye.genomecenter.ucdavis.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 01:14:18 -0000 --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello list, I'm in the process of trying to move a few dozen file servers to FreeBSD. = During this I've encountered something confusing with hesiod support. I'm = wondering if I should submit a PR for this: If you install pkg you can install the hesiod utilities with: pkg install hesiod Also, in the man page for nsswitch.conf it suggests that hesiod support is = included by default with: dns Internet Domain Name System. =E2=80=9Chosts=E2=80=9D and =E2=80= =98networks=E2=80=99 use IN class entries, all other databases use HS class (Hesiod) entries. With a proper hesiod.conf file on a system installed from either a 10.3 or = 11.0 release iso I get: # hesinfo rf passwd hesiod_resolve: hesiod name not found getent also fails: # getent passwd rf So I did some spelunking about the FreeBSD source tree and compiled a custo= m iso, adding WITH_HESIOD=3Dtrue to /etc/src.conf. After installing from t= his media it functions properly: # hesinfo rf passwd rf:x:12345:12345:Richard Feltstykket:/home/rf:/bin/bash # getent passwd rf rf:x:12345:12345:Richard Feltstykket:/home/rf:/bin/bash Is this a bug? Thanks! Richard --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJYUe5fAAoJEJO81r3fDHGUGQMH/iH8QVcpyGb2NRHB8M3OCazE yT2Okc8d/5WgSyFegy/PWnWz4YPs1k81uQySZ15k7jfc42vH6Y4fA5C7KCZpeumR od7JbDBVLUUqgLVLIFjkIKfpxODgM3WIs7YSWKoIDD3ii3kCukmGjbctJZUlLOqn +Kg5xXrc2u457BO+a/pSvmlxn4bRmG80+cq88lJJ6EREc3fyLt/EY3mYGz/SJito //7SCEq3BslUUXUZmPLgo8RLWeqjFtnRCGK3KibeDEL4RejRfQWWGRgZYZzWTO+M 5PT5zATvUANUZo1EuWYln/pBqAeIE2sjUXzNiPuEs58UW3J0Nx8jYP4qsB++P6s= =s8e5 -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8--