Subject: Re: HEADS UP: nsswitch about to go `live' in NetBSD-current
To: Pete Bentley <peter.bentley@nomura.co.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/19/1999 09:27:02
On Tue, 19 Jan 1999 16:24:05 +0000
Pete Bentley <peter.bentley@nomura.co.uk> wrote:
> In the Solaris world, you could get close to that with something like:-
> hosts: dns [NOTFOUND=return UNAVAIL=continue] files
> which is close, but what you describe is actually something like
> hosts: dns [AVAIL=return] files
> ie, if DNS is available then its answers are authorative.
The correct semantics an be achieved with:
hosts: dns [notfound=return unavail=continue success=return] files
...and since "unavail=continue" and "success=return" are implied (see the
nsswitch.conf(5) manual page), it can simply be expressed as:
hosts: dns [notfound=return] files
-- Jason R. Thorpe <thorpej@nas.nasa.gov>