diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-01-14 19:07:22 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-01-14 19:07:22 +0300 |
commit | c0448c2536b7fb05e3db7d3f30bd49ca3642854f (patch) | |
tree | d219460183d2ceb751ddb3aeef59b87d6f94025b /share | |
parent | 4b6db52271070fe7c92750a619d61c2d2c23a000 (diff) | |
download | base-files-c0448c2536b7fb05e3db7d3f30bd49ca3642854f.tar.gz |
Illumos layout
Diffstat (limited to 'share')
-rw-r--r-- | share/nsswitch.conf | 79 |
1 files changed, 65 insertions, 14 deletions
diff --git a/share/nsswitch.conf b/share/nsswitch.conf index d2f03b0..ff4bafc 100644 --- a/share/nsswitch.conf +++ b/share/nsswitch.conf @@ -1,19 +1,70 @@ -# /etc/nsswitch.conf # -# Example configuration of GNU Name Service Switch functionality. -# If you have the `glibc-doc-reference' and `info' packages installed, try: -# `info libc "Name Service Switch"' for information about this file. +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +# +# /etc/nsswitch.dns: +# +# An example file that could be copied over to /etc/nsswitch.conf; it uses +# DNS for hosts lookups, otherwise it does not use any other naming service. +# +# "hosts:" and "services:" in this file are used only if the +# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. + +# DNS service expects that an instance of svc:/network/dns/client be +# enabled and online. + +passwd: files +group: files + +# You must also set up the /etc/resolv.conf file for DNS name +# server lookup. See resolv.conf(4). For lookup via mdns +# svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M) +hosts: files dns mdns -passwd: compat -group: compat -shadow: compat +# Note that IPv4 addresses are searched for in all of the ipnodes databases +# before searching the hosts databases. +ipnodes: files dns mdns -hosts: files dns -networks: files +networks: files +protocols: files +rpc: files +ethers: files +netmasks: files +bootparams: files +publickey: files +# At present there isn't a 'files' backend for netgroup; the system will +# figure it out pretty quickly, and won't use netgroups at all. +netgroup: files +automount: files +aliases: files +services: files +printers: user files -protocols: db files -services: db files -ethers: db files -rpc: db files +auth_attr: files +prof_attr: files +project: files -netgroup: nis +tnrhtp: files +tnrhdb: files |