Subject: Re: yppasswd fix (please review)
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Luke Mewburn <lukem@cs.rmit.edu.au>
List: tech-userlevel
Date: 12/17/1999 11:22:45
Hubert Feyrer writes:
> On Thu, 16 Dec 1999, David Brownlee wrote:
> > > I've tested this with secure (NetBSD default), insecure (NetBSD) and
> > > Solaris (passwd) NIS.
> > > 
> > 	Looks good to me...
> 
> I've talked to Martin Laubach in the mean time, and he offered me a
> different patch which I prefer to mine. It removes duplicating work that
> 's in libc already, and only does the RPC dance to see if the data was
> fetched via NIS or not.
> 
> If we get hooks from libc to find out where from data came we can get rid
> of that, for now, I'll let Martin post his fix here, hoping that people
> agree that it's better than my fix. :>

I have an idea how to do this by hooking into a new getpwent()
combined with some minor work in the nsswitch backends.

We probably should discuss this offline.