[33] in Hesiod

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

getpwent, getgrent

daemon@ATHENA.MIT.EDU (Greg Wohletz)
Wed Sep 26 02:55:41 1990

To: hesiod@ATHENA.MIT.EDU
Date: Tue, 25 Sep 90 21:21:06 -0700
From: Greg Wohletz <greg%duke.cs.unlv.edu@RELAY.CS.NET>


While versions of getpwnam, getpwuid, etc. are simple to implement,
the password and group routines which retrieve succesive entries pose
some problems.  What I'd like to see is a way to call hesiod_resolve
such that it initiats a zone transfer.  Say something like:

	cpp = hesiod_resolve("*", "passwd");

to get all of the password entries.

I'm not familiar enough with the resolver code at this point to implement
such a thing, but I'm sure that someone on this list has already thought
of this situation and knows how it should be done.  And if not, I guess
it's time for me to start becoming familiar...

					--Greg

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