Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 17:14:07 -0800
From:      Richard Feltstykket <rf@ucdavis.edu>
To:        freebsd-questions@freebsd.org
Subject:   Hesiod support bug?
Message-ID:  <20161215011407.GC18251@odinseye.genomecenter.ucdavis.edu>

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

--/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--



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