Subject: Re: yppasswd fix (please review)
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: David Brownlee <abs@mono.org>
List: tech-userlevel
Date: 12/16/1999 18:42:37
On Fri, 10 Dec 1999, Hubert Feyrer wrote:
> On Fri, 10 Dec 1999, David Brownlee wrote:
> > I prefer a), except if it might cause spurious syslog output on
> > some systems.
>
> OK, next round, please see the patch below.
> This tries master.passwd first, and falls back to passwd.
>
> I've tested this with secure (NetBSD default), insecure (NetBSD) and
> Solaris (passwd) NIS.
>
Looks good to me...
>
> > Hmm - a command line switch to override one way or the other
> > is probably also a good idea...
>
> Maybe, but I don't really see a reason for it. It would be needed when
> you wanted to take the passwd map while master.passwd is still available.
> As the only circumstance this could help is out of sync maps, I won't try
> to assist such a situation here.
>
Its always nice to provide the extra rope - it may be needed
very rarely, but when it is, it will be in a hurry :)
David/absolute