head 1.29; access; symbols netbsd-8-3-RELEASE:1.28.38.1 netbsd-9-4-RELEASE:1.29 netbsd-10-0-RELEASE:1.29 netbsd-10-0-RC6:1.29 netbsd-10-0-RC5:1.29 netbsd-10-0-RC4:1.29 netbsd-10-0-RC3:1.29 netbsd-10-0-RC2:1.29 netbsd-10-0-RC1:1.29 netbsd-10:1.29.0.16 netbsd-10-base:1.29 netbsd-9-3-RELEASE:1.29 cjep_sun2x-base1:1.29 cjep_sun2x:1.29.0.14 cjep_sun2x-base:1.29 cjep_staticlib_x-base1:1.29 netbsd-9-2-RELEASE:1.29 cjep_staticlib_x:1.29.0.12 cjep_staticlib_x-base:1.29 netbsd-9-1-RELEASE:1.29 phil-wifi-20200421:1.29 phil-wifi-20200411:1.29 is-mlppp:1.29.0.10 is-mlppp-base:1.29 phil-wifi-20200406:1.29 netbsd-8-2-RELEASE:1.28.38.1 netbsd-9-0-RELEASE:1.29 netbsd-9-0-RC2:1.29 netbsd-9-0-RC1:1.29 phil-wifi-20191119:1.29 netbsd-9:1.29.0.8 netbsd-9-base:1.29 phil-wifi-20190609:1.29 netbsd-8-1-RELEASE:1.28 netbsd-8-1-RC1:1.28 pgoyette-compat-merge-20190127:1.29 pgoyette-compat-20190127:1.29 pgoyette-compat-20190118:1.29 pgoyette-compat-1226:1.29 pgoyette-compat-1126:1.29 pgoyette-compat-1020:1.29 pgoyette-compat-0930:1.29 pgoyette-compat-0906:1.29 netbsd-7-2-RELEASE:1.28 pgoyette-compat-0728:1.29 netbsd-8-0-RELEASE:1.28 phil-wifi:1.29.0.6 phil-wifi-base:1.29 pgoyette-compat-0625:1.29 netbsd-8-0-RC2:1.28 pgoyette-compat-0521:1.29 pgoyette-compat-0502:1.29 pgoyette-compat-0422:1.29 netbsd-8-0-RC1:1.28 pgoyette-compat-0415:1.29 pgoyette-compat-0407:1.29 pgoyette-compat-0330:1.29 pgoyette-compat-0322:1.29 pgoyette-compat-0315:1.29 netbsd-7-1-2-RELEASE:1.28 pgoyette-compat:1.29.0.4 pgoyette-compat-base:1.29 netbsd-7-1-1-RELEASE:1.28 matt-nb8-mediatek:1.28.0.40 matt-nb8-mediatek-base:1.28 perseant-stdc-iso10646:1.29.0.2 perseant-stdc-iso10646-base:1.29 netbsd-8:1.28.0.38 netbsd-8-base:1.28 prg-localcount2-base3:1.28 prg-localcount2-base2:1.28 prg-localcount2-base1:1.28 prg-localcount2:1.28.0.36 prg-localcount2-base:1.28 pgoyette-localcount-20170426:1.28 bouyer-socketcan-base1:1.28 pgoyette-localcount-20170320:1.28 netbsd-7-1:1.28.0.34 netbsd-7-1-RELEASE:1.28 netbsd-7-1-RC2:1.28 netbsd-7-nhusb-base-20170116:1.28 bouyer-socketcan:1.28.0.32 bouyer-socketcan-base:1.28 pgoyette-localcount-20170107:1.28 netbsd-7-1-RC1:1.28 pgoyette-localcount-20161104:1.28 netbsd-7-0-2-RELEASE:1.28 localcount-20160914:1.28 netbsd-7-nhusb:1.28.0.30 netbsd-7-nhusb-base:1.28 pgoyette-localcount-20160806:1.28 pgoyette-localcount-20160726:1.28 pgoyette-localcount:1.28.0.28 pgoyette-localcount-base:1.28 netbsd-7-0-1-RELEASE:1.28 netbsd-7-0:1.28.0.26 netbsd-7-0-RELEASE:1.28 netbsd-7-0-RC3:1.28 netbsd-7-0-RC2:1.28 netbsd-7-0-RC1:1.28 netbsd-5-2-3-RELEASE:1.25 netbsd-5-1-5-RELEASE:1.25 netbsd-6-0-6-RELEASE:1.28 netbsd-6-1-5-RELEASE:1.28 netbsd-7:1.28.0.24 netbsd-7-base:1.28 yamt-pagecache-base9:1.28 yamt-pagecache-tag8:1.28 netbsd-6-1-4-RELEASE:1.28 netbsd-6-0-5-RELEASE:1.28 tls-earlyentropy:1.28.0.22 tls-earlyentropy-base:1.28 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.28 riastradh-drm2-base3:1.28 netbsd-6-1-3-RELEASE:1.28 netbsd-6-0-4-RELEASE:1.28 netbsd-5-2-2-RELEASE:1.25 netbsd-5-1-4-RELEASE:1.25 netbsd-6-1-2-RELEASE:1.28 netbsd-6-0-3-RELEASE:1.28 netbsd-5-2-1-RELEASE:1.25 netbsd-5-1-3-RELEASE:1.25 netbsd-6-1-1-RELEASE:1.28 riastradh-drm2-base2:1.28 riastradh-drm2-base1:1.28 riastradh-drm2:1.28.0.16 riastradh-drm2-base:1.28 netbsd-6-1:1.28.0.20 netbsd-6-0-2-RELEASE:1.28 netbsd-6-1-RELEASE:1.28 netbsd-6-1-RC4:1.28 netbsd-6-1-RC3:1.28 agc-symver:1.28.0.18 agc-symver-base:1.28 netbsd-6-1-RC2:1.28 netbsd-6-1-RC1:1.28 yamt-pagecache-base8:1.28 netbsd-5-2:1.25.0.16 netbsd-6-0-1-RELEASE:1.28 yamt-pagecache-base7:1.28 netbsd-5-2-RELEASE:1.25 netbsd-5-2-RC1:1.25 matt-nb6-plus-nbase:1.28 yamt-pagecache-base6:1.28 netbsd-6-0:1.28.0.14 netbsd-6-0-RELEASE:1.28 netbsd-6-0-RC2:1.28 tls-maxphys:1.28.0.12 tls-maxphys-base:1.28 matt-nb6-plus:1.28.0.10 matt-nb6-plus-base:1.28 netbsd-6-0-RC1:1.28 yamt-pagecache-base5:1.28 yamt-pagecache-base4:1.28 netbsd-6:1.28.0.8 netbsd-6-base:1.28 netbsd-5-1-2-RELEASE:1.25 netbsd-5-1-1-RELEASE:1.25 yamt-pagecache-base3:1.28 yamt-pagecache-base2:1.28 yamt-pagecache:1.28.0.6 yamt-pagecache-base:1.28 cherry-xenmp:1.28.0.4 cherry-xenmp-base:1.28 bouyer-quota2-nbase:1.28 bouyer-quota2:1.28.0.2 bouyer-quota2-base:1.28 matt-mips64-premerge-20101231:1.28 matt-nb5-mips64-premerge-20101231:1.25 matt-nb5-pq3:1.25.0.14 matt-nb5-pq3-base:1.25 netbsd-5-1:1.25.0.12 netbsd-5-1-RELEASE:1.25 netbsd-5-1-RC4:1.25 matt-nb5-mips64-k15:1.25 netbsd-5-1-RC3:1.25 netbsd-5-1-RC2:1.25 netbsd-5-1-RC1:1.25 netbsd-5-0-2-RELEASE:1.25 matt-nb5-mips64-premerge-20091211:1.25 matt-premerge-20091211:1.28 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.25 matt-nb4-mips64-k7-u2a-k9b:1.25 matt-nb5-mips64-u1-k1-k5:1.25 matt-nb5-mips64:1.25.0.10 netbsd-5-0-1-RELEASE:1.25 jym-xensuspend-nbase:1.26 netbsd-5-0:1.25.0.8 netbsd-5-0-RELEASE:1.25 netbsd-5-0-RC4:1.25 netbsd-5-0-RC3:1.25 netbsd-5-0-RC2:1.25 jym-xensuspend:1.25.0.6 jym-xensuspend-base:1.26 netbsd-5-0-RC1:1.25 netbsd-5:1.25.0.4 netbsd-5-base:1.25 matt-mips64-base2:1.25 matt-mips64:1.24.0.30 netbsd-4-0-1-RELEASE:1.24 wrstuden-revivesa-base-3:1.25 wrstuden-revivesa-base-2:1.25 wrstuden-fixsa-newbase:1.24 wrstuden-revivesa-base-1:1.25 yamt-pf42-base4:1.25 yamt-pf42-base3:1.25 hpcarm-cleanup-nbase:1.25 yamt-pf42-baseX:1.24 yamt-pf42-base2:1.25 wrstuden-revivesa:1.25.0.2 wrstuden-revivesa-base:1.25 yamt-pf42:1.24.0.28 yamt-pf42-base:1.24 mjf-devfs2:1.24.0.26 mjf-devfs2-base:1.25 keiichi-mipv6-nbase:1.24 keiichi-mipv6:1.24.0.24 keiichi-mipv6-base:1.24 matt-armv6-nbase:1.24 matt-armv6-prevmlocking:1.24 wrstuden-fixsa-base-1:1.24 netbsd-4-0:1.24.0.22 netbsd-4-0-RELEASE:1.24 cube-autoconf:1.24.0.20 cube-autoconf-base:1.24 netbsd-4-0-RC5:1.24 netbsd-4-0-RC4:1.24 netbsd-4-0-RC3:1.24 netbsd-4-0-RC2:1.24 netbsd-4-0-RC1:1.24 matt-armv6:1.24.0.18 matt-armv6-base:1.24 matt-mips64-base:1.24 hpcarm-cleanup:1.24.0.16 hpcarm-cleanup-base:1.24 netbsd-3-1-1-RELEASE:1.24 netbsd-3-0-3-RELEASE:1.24 wrstuden-fixsa:1.24.0.14 wrstuden-fixsa-base:1.24 abandoned-netbsd-4-base:1.24 abandoned-netbsd-4:1.24.0.8 netbsd-3-1:1.24.0.10 netbsd-3-1-RELEASE:1.24 netbsd-3-0-2-RELEASE:1.24 netbsd-3-1-RC4:1.24 netbsd-3-1-RC3:1.24 netbsd-3-1-RC2:1.24 netbsd-3-1-RC1:1.24 netbsd-4:1.24.0.12 netbsd-4-base:1.24 chap-midi-nbase:1.24 netbsd-3-0-1-RELEASE:1.24 chap-midi:1.24.0.6 chap-midi-base:1.24 netbsd-3-0:1.24.0.4 netbsd-3-0-RELEASE:1.24 netbsd-3-0-RC6:1.24 netbsd-3-0-RC5:1.24 netbsd-3-0-RC4:1.24 netbsd-3-0-RC3:1.24 netbsd-3-0-RC2:1.24 netbsd-3-0-RC1:1.24 netbsd-2-0-3-RELEASE:1.22 netbsd-2-1:1.22.0.6 netbsd-2-1-RELEASE:1.22 netbsd-2-1-RC6:1.22 netbsd-2-1-RC5:1.22 netbsd-2-1-RC4:1.22 netbsd-2-1-RC3:1.22 netbsd-2-1-RC2:1.22 netbsd-2-1-RC1:1.22 netbsd-2-0-2-RELEASE:1.22 netbsd-3:1.24.0.2 netbsd-3-base:1.24 netbsd-2-0-1-RELEASE:1.22 netbsd-2:1.22.0.4 netbsd-2-base:1.22 netbsd-2-0-RELEASE:1.22 netbsd-2-0-RC5:1.22 netbsd-2-0-RC4:1.22 netbsd-2-0-RC3:1.22 netbsd-2-0-RC2:1.22 netbsd-2-0-RC1:1.22 netbsd-2-0:1.22.0.2 netbsd-2-0-base:1.22 netbsd-1-6-PATCH002-RELEASE:1.20 netbsd-1-6-PATCH002:1.20 netbsd-1-6-PATCH002-RC4:1.20 netbsd-1-6-PATCH002-RC3:1.20 netbsd-1-6-PATCH002-RC2:1.20 netbsd-1-6-PATCH002-RC1:1.20 netbsd-1-6-PATCH001:1.20 netbsd-1-6-PATCH001-RELEASE:1.20 netbsd-1-6-PATCH001-RC3:1.20 netbsd-1-6-PATCH001-RC2:1.20 netbsd-1-6-PATCH001-RC1:1.20 fvdl_fs64_base:1.21 netbsd-1-6-RELEASE:1.20 netbsd-1-6-RC3:1.20 netbsd-1-6-RC2:1.20 netbsd-1-6-RC1:1.20 netbsd-1-6:1.20.0.2 netbsd-1-6-base:1.20 netbsd-1-5-PATCH003:1.18 netbsd-1-5-PATCH002:1.18 netbsd-1-5-PATCH001:1.18 netbsd-1-5-RELEASE:1.18 netbsd-1-5-BETA2:1.18 netbsd-1-5-BETA:1.18 netbsd-1-4-PATCH003:1.14 netbsd-1-5-ALPHA2:1.18 netbsd-1-5:1.18.0.4 netbsd-1-5-base:1.18 minoura-xpg4dl:1.18.0.2 minoura-xpg4dl-base:1.18 netbsd-1-4-PATCH002:1.14 wrstuden-devbsize-19991221:1.15 wrstuden-devbsize:1.15.0.4 wrstuden-devbsize-base:1.15 comdex-fall-1999:1.15.0.2 comdex-fall-1999-base:1.15 netbsd-1-4-PATCH001:1.14 netbsd-1-4-RELEASE:1.14 netbsd-1-4:1.14.0.2 netbsd-1-4-base:1.14 lukem-nsswitch2:1.2.0.2; locks; strict; comment @# @; 1.29 date 2017.07.03.21.30.59; author wiz; state Exp; branches; next 1.28; commitid OfTDvnrC1yx1sPXz; 1.28 date 2009.10.25.01.30.48; author wiz; state Exp; branches 1.28.38.1; next 1.27; 1.27 date 2009.10.25.00.17.06; author tsarna; state Exp; branches; next 1.26; 1.26 date 2009.03.11.13.51.47; author joerg; state Exp; branches; next 1.25; 1.25 date 2008.05.04.13.56.27; author martin; state Exp; branches 1.25.6.1; next 1.24; 1.24 date 2004.11.23.07.54.56; author lukem; state Exp; branches 1.24.26.1 1.24.28.1; next 1.23; 1.23 date 2004.10.24.23.58.58; author lukem; state Exp; branches; next 1.22; 1.22 date 2003.02.14.15.20.20; author grant; state Exp; branches; next 1.21; 1.21 date 2002.10.02.15.22.44; author wiz; state Exp; branches; next 1.20; 1.20 date 2002.02.13.08.18.14; author ross; state Exp; branches; next 1.19; 1.19 date 2001.09.08.01.29.07; author wiz; state Exp; branches; next 1.18; 1.18 date 2000.02.20.14.45.35; author itojun; state Exp; branches; next 1.17; 1.17 date 2000.02.14.13.03.37; author itojun; state Exp; branches; next 1.16; 1.16 date 99.12.27.00.42.38; author lukem; state Exp; branches; next 1.15; 1.15 date 99.07.29.00.11.28; author lukem; state Exp; branches; next 1.14; 1.14 date 99.03.17.20.19.47; author garbled; state Exp; branches; next 1.13; 1.13 date 99.02.08.04.03.04; author lukem; state Exp; branches; next 1.12; 1.12 date 99.01.22.03.27.56; author lukem; state Exp; branches; next 1.11; 1.11 date 99.01.21.23.08.16; author thorpej; state Exp; branches; next 1.10; 1.10 date 99.01.20.23.28.10; author ross; state Exp; branches; next 1.9; 1.9 date 99.01.20.03.03.25; author lukem; state Exp; branches; next 1.8; 1.8 date 99.01.19.08.28.03; author lukem; state Exp; branches; next 1.7; 1.7 date 99.01.19.08.26.14; author lukem; state Exp; branches; next 1.6; 1.6 date 99.01.18.12.12.05; author lukem; state Exp; branches; next 1.5; 1.5 date 99.01.16.14.16.42; author lukem; state Exp; branches; next 1.4; 1.4 date 99.01.15.23.06.36; author lukem; state Exp; branches; next 1.3; 1.3 date 99.01.15.13.05.19; author lukem; state Exp; branches; next 1.2; 1.2 date 97.01.23.12.25.22; author lukem; state dead; branches 1.2.2.1; next 1.1; 1.1 date 96.11.06.00.16.28; author lukem; state Exp; branches; next ; 1.28.38.1 date 2019.09.02.16.39.20; author martin; state Exp; branches; next ; commitid sfvI0Jm76dICpsBB; 1.25.6.1 date 2009.05.13.19.19.13; author jym; state Exp; branches; next ; 1.24.26.1 date 2008.06.02.13.21.40; author mjf; state Exp; branches; next ; 1.24.28.1 date 2008.05.18.12.31.10; author yamt; state Exp; branches; next ; 1.2.2.1 date 97.05.23.20.16.27; author lukem; state Exp; branches; next 1.2.2.2; 1.2.2.2 date 97.05.23.20.29.15; author lukem; state Exp; branches; next 1.2.2.3; 1.2.2.3 date 99.01.15.12.56.58; author lukem; state Exp; branches; next ; desc @@ 1.29 log @Remove workaround for ancient HTML generation code. @ text @.\" $NetBSD: nsswitch.conf.5,v 1.28 2009/10/25 01:30:48 wiz Exp $ .\" .\" Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation .\" by Luke Mewburn. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd October 25, 2009 .Dt NSSWITCH.CONF 5 .Os .Sh NAME .Nm nsswitch.conf .Nd name-service switch configuration file .Sh DESCRIPTION The .Nm file specifies how the .Xr nsdispatch 3 (name-service switch dispatcher) routines in the C library should operate. .Pp The configuration file controls how a process looks up various databases containing information regarding hosts, users (passwords), groups, netgroups, etc. Each database comes from a source (such as local files, DNS, and .Tn NIS ) , and the order to look up the sources is specified in .Nm nsswitch.conf . .Pp Each entry in .Nm consists of a database name, and a space separated list of sources. Each source can have an optional trailing criterion that determines whether the next listed source is used, or the search terminates at the current source. Each criterion consists of one or more status codes, and actions to take if that status code occurs. .Ss Sources The following sources are implemented: .Bl -column "multicast_dns" -offset indent -compact .It Sy Source Description .It files Local files, such as .Pa /etc/hosts , and .Pa /etc/passwd . .It dns Internet Domain Name System. .Dq hosts and .Dq networks use .Sy IN class entries, all other databases use .Sy HS class (Hesiod) entries. .It mdnsd Use .Xr mdnsd 8 for .Dq hosts lookups, acting as both a system-wide cache for normal unicast DNS as well as providing multicast DNS .Dq ( zeroconf ) lookups. .It multicast_dns Use .Xr mdnsd 8 only for multicast DNS .Dq hosts lookups. This would normally be used in conjunction with .Dq dns , which would then provide unicast DNS resolver functions. .It nis NIS (formerly YP) .It compat support .Sq +/- in the .Dq passwd and .Dq group databases. If this is present, it must be the only source for that entry. .El .Ss Databases The following databases are used by the following C library functions: .Bl -column "netgroup" -offset indent -compact .It Sy Database Used by .It group Ta Xr getgrent 3 .It hosts Ta Xr gethostbyname 3 .It netgroup Ta Xr getnetgrent 3 .It networks Ta Xr getnetbyname 3 .It passwd Ta Xr getpwent 3 .It shells Ta Xr getusershell 3 .El .Ss Status codes The following status codes are available: .Bl -column "tryagain" -offset indent -compact .It Sy Status Description .It success The requested entry was found. .It notfound The entry is not present at this source. .It tryagain The source is busy, and may respond to retries. .It unavail The source is not responding, or entry is corrupt. .El .Ss Actions For each of the status codes, one of two actions is possible: .Bl -column "continue" -offset indent -compact .It Sy Action Description .It continue Try the next source .It return Return with the current result .El .Ss Format of file A .Tn BNF description of the syntax of .Nm is: .Bl -column "" -offset indent .It ::= ":" [ []]* .It ::= "[" + "]" .It ::= "=" .It ::= "success" | "notfound" | "unavail" | "tryagain" .It ::= "return" | "continue" .El .Pp Each entry starts on a new line in the file. A .Sq # delimits a comment to end of line. Blank lines are ignored. A .Sq \e at the end of a line escapes the newline, and causes the next line to be a continuation of the current line. All entries are case-insensitive. .Pp The default criteria is to return on .Dq success , and continue on anything else (i.e, .Li [success=return notfound=continue unavail=continue tryagain=continue] ). .Ss Compat mode: +/- syntax In historical multi-source implementations, the .Sq + and .Sq - characters are used to specify the importing of user password and group information from .Tn NIS . Although .Nm provides alternative methods of accessing distributed sources such as .Tn NIS , specifying a sole source of .Dq compat will provide the historical behaviour. .Pp An alternative source for the information accessed via .Sq +/- can be used by specifying .Dq passwd_compat: source . .Dq source in this case can be .Sq dns , .Sq nis , or any other source except for .Sq files and .Sq compat . .Ss Notes Historically, many of the databases had enumeration functions, often of the form .Fn getXXXent . These made sense when the databases were in local files, but don't make sense or have lesser relevance when there are possibly multiple sources, each of an unknown size. The interfaces are still provided for compatibility, but the source may not be able to provide complete entries, or duplicate entries may be retrieved if multiple sources that contain similar information are specified. .Pp To ensure compatibility with previous and current implementations, the .Dq compat source must appear alone for a given database. .Ss Default source lists If, for any reason, .Nm nsswitch.conf doesn't exist, or it has missing or corrupt entries, .Xr nsdispatch 3 will default to an entry of .Dq files for the requested database. Exceptions are: .Bl -column passwd_compat "files dns" -offset indent .It Sy Database Default source list .It group compat .It group_compat nis .It hosts files dns .It netgroup files [notfound=return] nis .It passwd compat .It passwd_compat nis .El .Sh FILES .Bl -tag -width /etc/nsswitch.conf -compact .It Pa /etc/nsswitch.conf The file .Nm resides in .Pa /etc . .El .Sh EXAMPLES To lookup hosts in .Pa /etc/hosts and then from the DNS, and lookup user information from .Tn NIS then files, use: .Bl -column "passwd:" -offset indent .It hosts: files dns .It passwd: nis [notfound=return] files .It group: nis [notfound=return] files .El .Pp The criteria .Dq [notfound=return] sets a policy of "if the user is notfound in nis, don't try files." This treats nis as the authoritative source of information, except when the server is down. .Sh SEE ALSO .Xr getent 1 , .Xr nsdispatch 3 , .Xr resolv.conf 5 , .Xr named 8 , .Xr ypbind 8 .Sh HISTORY The .Nm file format first appeared in .Nx 1.4 . .Sh AUTHORS .An Luke Mewburn .Aq lukem@@NetBSD.org wrote this freely distributable name-service switch implementation, using ideas from the .Tn ULTRIX .Xr svc.conf 5 and .Tn Solaris .Xr nsswitch.conf 4 manual pages. @ 1.28 log @Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.27 2009/10/25 00:17:06 tsarna Exp $ d135 8 a142 8 .Bl -column "\*[Lt]criterion\*[Gt]" -offset indent .It \*[Lt]entry\*[Gt] ::= \*[Lt]database\*[Gt] ":" [\*[Lt]source\*[Gt] [\*[Lt]criteria\*[Gt]]]* .It \*[Lt]criteria\*[Gt] ::= "[" \*[Lt]criterion\*[Gt]+ "]" .It \*[Lt]criterion\*[Gt] ::= \*[Lt]status\*[Gt] "=" \*[Lt]action\*[Gt] .It \*[Lt]status\*[Gt] ::= d144 1 a144 1 .It \*[Lt]action\*[Gt] ::= @ 1.28.38.1 log @Pull up following revision(s) (requested by sevan in ticket #1351): share/man/man4/man4.amiga/grf.4: revision 1.7 share/man/man4/si.4: revision 1.11 share/man/man8/man8.sparc/boot.8: revision 1.32 share/man/man5/nsswitch.conf.5: revision 1.29 share/man/man5/mixerctl.conf.5: revision 1.7 share/man/man8/man8.vax/boot.8: revision 1.14 share/man/man4/man4.vax/dn.4: revision 1.12 share/man/man8/man8.vax/drtest.8: revision 1.16 share/man/man8/sysinst.8: revision 1.6 share/man/man4/ip.4: revision 1.37 share/man/man5/boot.cfg.5: revision 1.28 share/man/man1/cd.1: revision 1.10 share/man/man4/usb.4: revision 1.106 share/man/man4/man4.vax/ix.4: revision 1.17 share/man/man7/security.7: revision 1.15 share/man/man7/hier.7: revision 1.123 share/man/man8/afterboot.8: revision 1.58 share/man/man1/man1.x68k/bellctrl.1: revision 1.14 share/man/man4/se.4: revision 1.6 share/man/man4/utoppy.4: revision 1.7 share/man/man4/midi.4: revision 1.32 share/man/man4/cfb.4: revision 1.5 share/man/man4/man4.sparc/magma.4: revision 1.12 share/man/man4/audio.4: revision 1.80 share/man/man4/isic.4: revision 1.18 share/man/man1/cd.1: revision 1.7 share/man/man4/envsys.4: revision 1.51 share/man/man1/cd.1: revision 1.8 share/man/man1/cd.1: revision 1.9 share/man/man3/fast_divide32.3: revision 1.9 share/man/man4/pci.4: revision 1.97 share/man/man5/ranlib.5: revision 1.7 share/man/man3/__arraycount.3: revision 1.7 share/man/man4/isa.4: revision 1.46 share/man/man8/man8.atari/ahdilabel.8: revision 1.14 share/man/man4/chipsfb.4: revision 1.6 share/man/man8/man8.macppc/boot.8: revision 1.8 share/man/man5/passwd.5: revision 1.33 share/man/man8/man8.macppc/ofwboot.8: revision 1.14 share/man/man8/compat_linux.8: revision 1.38 share/man/man4/iop.4: revision 1.22 share/man/man4/ddb.4: revision 1.167 share/man/man4/termios.4: revision 1.37 share/man/man8/compat_freebsd.8: revision 1.18 share/man/man5/ar.5: revision 1.9 share/man/man7/release.7: revision 1.37 share/man/man5/core.5: revision 1.31 share/man/man4/ahd.4: revision 1.6 share/man/man4/man4.vax/ad.4: revision 1.12 share/man/man4/pppoe.4: revision 1.39 share/man/man5/locale.alias.5: revision 1.3 share/man/man8/man8.amiga/installboot.8: revision 1.23 share/man/man4/etherip.4: revision 1.8 share/man/man3/queue.3: revision 1.57 share/man/man5/genassym.cf.5: revision 1.13 share/man/man4/mpls.4: revision 1.10 share/man/man1/wait.1: revision 1.5 share/man/man5/capfile.5: revision 1.4 share/man/man4/man4.alpha/ttwopci.4: revision 1.6 share/man/man4/man4.atari/rtc.4: revision 1.8 share/man/man4/gpiosim.4: revision 1.6 share/man/man3/bitstring.3: revision 1.18 share/man/man4/isdntel.4: revision 1.8 share/man/man4/ai.4: revision 1.9 share/man/man8/man8.hppa/boot.8: revision 1.2 share/man/man4/uyurex.4: revision 1.6 share/man/man8/man8.alpha/mkbootimage.8: revision 1.9 share/man/man4/bpf.4: revision 1.56 share/man/man4/man4.amiga/mfcs.4: revision 1.8 share/man/man4/cmpci.4: revision 1.9 share/man/man8/man8.vax/format.8: revision 1.14 share/man/man8/compat_svr4.8: revision 1.27 share/man/man4/crypto.4: revision 1.26 share/man/man4/userconf.4: revision 1.13 share/man/man4/agp.4: revision 1.17 share/man/man9/man9.i386/bioscall.9: revision 1.10 share/man/man4/uftdi.4: revision 1.20 share/man/man4/radio.4: revision 1.13 share/man/man4/mfb.4: revision 1.5 share/man/man7/ascii.7: revision 1.8 share/man/man4/man4.vax/dl.4: revision 1.13 share/man/man4/ral.4: revision 1.12 share/man/man4/unix.4: revision 1.26 share/man/man4/edc.4: revision 1.12 share/man/man4/pim.4: revision 1.5 share/man/man8/compat_ultrix.8: revision 1.21 share/man/man4/dge.4: revision 1.11 share/man/man8/diskless.8: revision 1.32 share/man/man5/passwd.conf.5: revision 1.11 share/man/man8/man8.acorn26/boot26.8: revision 1.8 share/man/man4/man4.vax/hy.4: revision 1.12 share/man/man4/plip.4: revision 1.4 share/man/man4/sc.4: revision 1.8 share/man/man4/ec.4: revision 1.14 share/man/man4/man4.sgimips/giopci.4: revision 1.9 share/man/man7/sysctl.7: revision 1.114 share/man/man3/bits.3: revision 1.18 share/man/man4/we.4: revision 1.19 share/man/man8/compat_sunos.8: revision 1.21 share/man/man4/ip6.4: revision 1.31 share/man/man4/acpilid.4: revision 1.8 share/man/man4/man4.dreamcast/aica.4: revision 1.6 share/man/man4/mfi.4: revision 1.12 share/man/man4/ugen.4: revision 1.32 share/man/man4/jme.4: revision 1.7 share/man/man4/man4.sparc64/intro.4: revision 1.5 share/man/man4/zyd.4: revision 1.5 share/man/man4/gre.4: revision 1.45 share/man/man3/bitmap.3: revision 1.10 share/man/man4/man4.vax/cons.4: revision 1.12 share/man/man3/gcq.3: revision 1.4 share/man/man4/man4.hppa/pdc.4: revision 1.3 share/man/man4/multicast.4: revision 1.8 share/man/man4/man4.sparc/intro.4: revision 1.27 share/man/man4/ath.4: revision 1.32 share/man/man4/ym.4: revision 1.19 share/man/man3/iso646.3: revision 1.6 share/man/man4/btsco.4: revision 1.13 share/man/man4/man4.i386/ndis.4: revision 1.6 share/man/man4/pad.4: revision 1.6 share/man/man4/strip.4: revision 1.16 share/man/man8/man8.x86/boot.8: revision 1.12 share/man/man4/amr.4: revision 1.15 share/man/man4/ieee80211.4: revision 1.5 share/man/man4/options.4: revision 1.467 share/man/man5/link.5: revision 1.24 share/man/man8/man8.cobalt/boot.8: revision 1.10 share/man/man5/stab.5: revision 1.15 share/man/man3/tree.3: revision 1.12 share/man/man4/route.4: revision 1.31 share/man/man4/man4.sun3/leds.4: revision 1.13 share/man/man4/bluetooth.4: revision 1.20 share/man/man4/man4.i386/pcibios.4: revision 1.19 share/man/man5/veriexec.5: revision 1.8 share/man/man7/operator.7: revision 1.12 share/man/man4/man4.hp300/dcl.4: revision 1.13 share/man/man4/man4.i386/intro.4: revision 1.31 share/man/man5/ld.so.conf.5: revision 1.21 share/man/man8/man8.alpha/boot.8: revision 1.16 share/man/man4/bio.4: revision 1.13 share/man/man4/man4.sun2/leds.4: revision 1.10 share/man/man8/man8.x86/mbr.8: revision 1.4 share/man/man8/man8.mvme68k/boot.8: revision 1.9 share/man/man4/man4.alpha/ttwoga.4: revision 1.6 share/man/man4/ahc.4: revision 1.34 Direct reader to shell documentation generally, rather than csh(1) specifically. Mention variables OLDPWD and PWD. Move the text that explains that cd(1) is a shell built-in to the very beginning of the description where it can be seen prominently. Improve formatting. - Remove workaround for ancient HTML generation code. Use EXIT STATUS and .Ex. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.28 2009/10/25 01:30:48 wiz Exp $ d135 8 a142 8 .Bl -column "" -offset indent .It ::= ":" [ []]* .It ::= "[" + "]" .It ::= "=" .It ::= d144 1 a144 1 .It ::= @ 1.27 log @Major enhancements to mdnsd nsswitch support: - nss_mdns renamed to nss_multicast_dns for clarity and less chance of confusion with nss_mdnsd (see next). - Support using mdnsd for all unicast too with new nss_mdnsd module (note: this mode requires an updated mdnsd too, not yet committed) - Implement resolv.conf "search" directive support. Needed for nss_mdnsd, potentially useful with nss_multicast_dns (you could now do "search example.com local" in resolv.conf if you wanted to and it would act as you might expect) - Add references in nsswitch.conf man page and sample file - Implement AI_CANONNAME - Various bug fixes @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.26 2009/03/11 13:51:47 joerg Exp $ d30 1 a30 1 .Dd November 23, 2004 @ 1.26 log @Fix markup @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.25 2008/05/04 13:56:27 martin Exp $ d61 1 a61 1 .Bl -column "compat" -offset indent -compact d70 1 a70 1 .Sq networks d76 16 @ 1.25 log @Move TNF license to 2 clause form @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.24 2004/11/23 07:54:56 lukem Exp $ d62 1 a62 1 .Sy Source Description d89 1 a89 1 .Sy Database Used by d100 1 a100 1 .Sy Status Description d109 1 a109 1 .Sy Action Description d202 1 a202 1 .Sy Database Default source list @ 1.25.6.1 log @Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.26 2009/03/11 13:51:47 joerg Exp $ d62 1 a62 1 .It Sy Source Description d89 1 a89 1 .It Sy Database Used by d100 1 a100 1 .It Sy Status Description d109 1 a109 1 .It Sy Action Description d202 1 a202 1 .It Sy Database Default source list @ 1.24 log @xref getent(1) @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.23 2004/10/24 23:58:58 lukem Exp $ a16 5 .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by Luke Mewburn. .\" 4. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. d18 11 a28 10 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS .\" OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR .\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE .\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @ 1.24.26.1 log @Sync with HEAD. @ text @d1 1 a1 1 .\" $NetBSD$ d17 5 d23 10 a32 11 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. @ 1.24.28.1 log @sync with head. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.24 2004/11/23 07:54:56 lukem Exp $ d17 5 d23 10 a32 11 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. @ 1.23 log @fix formatting of a column @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.22 2003/02/14 15:20:20 grant Exp $ d34 1 a34 1 .Dd October 25, 2004 d240 1 @ 1.22 log @The correct capitalisation of 'NetBSD.org' is (you guessed it) 'NetBSD.org'. some mdoc fixes. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.21 2002/10/02 15:22:44 wiz Exp $ d34 1 a34 1 .Dd December 27, 1999 d94 6 a99 12 .It group .Xr getgrent 3 .It hosts .Xr gethostbyname 3 .It netgroup .Xr getnetgrent 3 .It networks .Xr getnetbyname 3 .It passwd .Xr getpwent 3 .It shells .Xr getusershell 3 @ 1.21 log @authoritative instead of authoritive. From Adrian Mrva. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.20 2002/02/13 08:18:14 ross Exp $ d256 2 a257 2 Luke Mewburn .Aq lukem@@netbsd.org @ 1.20 log @Generate <>& symbolically. I'm avoiding .../dist/... directories for now. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.19 2001/09/08 01:29:07 wiz Exp $ d243 1 a243 1 This treats nis as the authoritive source of information, except @ 1.19 log @Whitespace/punctuation fixes. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.18 2000/02/20 14:45:35 itojun Exp $ d129 8 a136 8 .Bl -column "" -offset indent .It ::= ":" [ []]* .It ::= "[" + "]" .It ::= "=" .It ::= d138 1 a138 1 .It ::= @ 1.18 log @getaddrinfo(3) now obeys nsswitch.conf correctly. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.17 2000/02/14 13:03:37 itojun Exp $ d5 1 a5 1 .\" d8 1 a8 1 .\" d22 1 a22 1 .\" d55 1 a55 1 Each entry in d94 1 a94 1 .It group d96 1 a96 1 .It hosts d98 1 a98 1 .It netgroup d100 1 a100 1 .It networks d102 1 a102 1 .It passwd d104 1 a104 1 .It shells @ 1.17 log @document getaddrinfo(3) twist. NetBSD PR: 9413 From: Thilo Manske @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.16 1999/12/27 00:42:38 lukem Exp $ a265 11 .Sh BUGS Due to resolver internal issues, .Xr getaddrinfo 3 may not behave as .Nm suggests. Consequently, userland programs that use .Xr getaddrinfo 3 may behave differently from what .Nm says. @ 1.16 log @the default for hosts: changed a while ago... @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.15 1999/07/29 00:11:28 lukem Exp $ d266 11 @ 1.15 log @group is used by getgrent(3) not getpwent(3). noticed by Johnny C. Lam @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.14 1999/03/17 20:19:47 garbled Exp $ d34 1 a34 1 .Dd July 29, 1999 d211 1 a211 1 .Bl -column passwd_compat "dns files" -offset indent d215 1 a215 1 .It hosts dns files @ 1.14 log @More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.13 1999/02/08 04:03:04 lukem Exp $ d34 1 a34 1 .Dd January 22, 1998 d95 1 a95 1 .Xr getpwent 3 @ 1.13 log @s/retreived/retrieved/ @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.12 1999/01/22 03:27:56 lukem Exp $ d36 1 a36 1 .Os NetBSD @ 1.12 log @netgroup default was more like "files [notfound=return] nis" @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.11 1999/01/21 23:08:16 thorpej Exp $ d196 1 a196 1 be retreived if multiple sources that contain similar information are @ 1.11 log @Document the netgroup default of files nis. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.10 1999/01/20 23:28:10 ross Exp $ d34 1 a34 1 .Dd January 20, 1998 d216 1 a216 1 .It netgroup files nis @ 1.10 log @Kill bogus unmatched .Bd. I can probably jazz up the end macro to detect things like this and narc on the offenders. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.9 1999/01/20 03:03:25 lukem Exp $ d216 1 @ 1.9 log @fix spelos and tyops. document networks and group defaults @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.8 1999/01/19 08:28:03 lukem Exp $ a210 1 .Bd - @ 1.8 log @formatting nits @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.7 1999/01/19 08:26:14 lukem Exp $ d34 1 a34 1 .Dd January 16, 1998 d51 1 a51 1 .Tn NIS ), d73 3 a75 1 uses d80 1 a80 1 .It nis NIS (formally YP) d97 1 a97 2 .Xr gethostbyname 3 , .Xr gethostbyaddr 3 d100 2 d113 1 a114 1 .It tryagain The source is busy, and may respond to retries. d163 1 a163 1 characters are used to signify the importing of user password and d214 2 a244 10 .Pp If the older-style "+/-" syntax for .Pa /etc/passwd is required, use: .Bl -column "passwd_compat:" -offset indent .It passwd: compat .It group: compat .It passwd_compat: nis .It group_compat: nis .El @ 1.7 log @note new defaults for hosts, passwd, and passwd_compat @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.6 1999/01/18 12:12:05 lukem Exp $ a199 1 .Pp d202 2 a203 1 doesn't exist, or it has missing or corrupt entries, it d205 1 a205 1 .Sq files @ 1.6 log @be consistent in formatting source names @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.5 1999/01/16 14:16:42 lukem Exp $ a54 7 If, for any reason, if the file doesn't exist, or has missing or corrupt entries, .Xr nsdispatch 3 will default to an entry of .Sq files for the requested database. .Pp d199 16 @ 1.5 log @reference nsswitch.conf(5) as necessary change references from YP to NIS. @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.4 1999/01/15 23:06:36 lukem Exp $ d59 1 a59 1 .Va files @ 1.4 log @clarify compat mode. remove references to nis+ for now @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.3 1999/01/15 13:05:19 lukem Exp $ d50 2 a51 1 Each database comes from a source (such as local files, DNS, and NIS), d168 2 a169 1 group information from NIS. d173 2 a174 1 NIS, specifying a sole source of d217 3 a219 1 and then from the DNS, and lookup user information from NIS then files, use: @ 1.3 log @merge nsswitch into main branch @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.2.2.3 1999/01/15 12:56:58 lukem Exp $ d50 2 a51 2 Each database comes from a source (such as local files, DNS, NIS, and NIS+), and the order to look up the sources is specified in d184 4 a187 1 .Sq nisplus . d220 1 d230 1 a230 1 .Bl -column "passwd:" -offset indent d233 2 @ 1.2 log @(this shouldn't have been in the main trunk) @ text @d1 7 a7 1 .\" Copyright 1995, 1996 Luke Mewburn . All rights reserved. d34 1 a34 1 .Dd March 12, 1996 d36 1 a36 1 .Os "NetBSD 1.1" d70 2 a71 2 The following sources are supported: .Bl -column "nisplus" -offset indent -compact a84 3 .It nisplus NIS+ (not implemented yet by .Bx . However, the functionality is available in the name-service switch routines) d129 1 a129 1 (Backus-Naur Form) description of the syntax of d134 1 a134 1 ":" [ []]* d150 1 a150 1 A d169 1 a169 1 .Nm nsswitch.conf d235 5 d242 1 a242 1 .Aq lm@@werj.com.au d248 1 a248 1 .Tn SOLARIS @ 1.2.2.1 log @* Add nsswitch.conf(5) * Document that resolv.conf's "lookup" keyword has been deprecated in favour of nsswitch.conf @ text @d1 1 a1 2 .\" Copyright (c) 1997 Luke Mewburn .\" All rights reserved. d28 1 a28 1 .Dd May 24, 1997 d30 1 a30 1 .Os NetBSD d166 1 a166 1 .Nm a231 5 .Sh HISTORY The .Nm file format first appeared in .Nx 1.3 . d234 1 a234 1 .Aq lukem@@netbsd.org @ 1.2.2.2 log @add the rcsid @ text @a0 2 .\" $NetBSD$ .\" @ 1.2.2.3 log @update to reality @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.2.2.2 1997/05/23 20:29:15 lukem Exp $ d3 1 a3 1 .\" Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. a5 3 .\" This code is derived from software contributed to The NetBSD Foundation .\" by Luke Mewburn. .\" d31 1 a31 1 .Dd January 16, 1998 d67 2 a68 2 The following sources are implemented: .Bl -column "compat" -offset indent -compact d82 3 d129 1 a129 1 description of the syntax of d134 1 a134 1 ":" [ []]* d150 1 a150 1 A d239 1 a239 1 .Nx 1.4 . d248 1 a248 1 .Tn Solaris @ 1.1 log @initial nsswitch implementation @ text @@