[1099] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Greg abuses the file hierarchy a bit

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Nov 2 02:49:04 1995

Date: Thu, 2 Nov 1995 02:51:36 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: netbsd-dev@MIT.EDU

Please be aware that I have checked out

	/mit/netbsd/dev/netbsd-1.1/src/{include,lib/libc}

and am in the process of hacking hesiod support into libc there.  This
is not the intended function of the 1.1 tree, but mycroft's tfork
changes have made current-source's libc temporarily unsuitable for
development, and the netbsd-1.1 tree is just a plce-holder for now.

I'm not using any nsswitch framework at the moment, just an #ifdef
HESIOD; I'm waiting on someone else's allegedly finished nsswitch
implementation before I do that part of the integration.  I have
getpwnam, getpwuid, getgrnam, and getgruid doing hesiod lookups so
far; all pretty straightforward.

The tough issue is initgroups().  Getting the grouplist is easy, but
libc has never been very clever about deciding when to stop
accumulating groups.  In the Athena environment, we want to leave two
groups open for a PAG, but that kind of policy decision doesn't seem
to belong in libc.

I also haven't dealt with the default domain yet (in the absence of
/etc/hesiod.conf, it currently defaults to athena.mit.edu).  I'll see
if I can figure out what Ultrix does there, and probably just use a
null domain (letting DNS do the domain search using /etc/resolv.conf)
if I can't find anything useful.


home help back first fref pref prev next nref lref last post