1*45916cd2Sjpk# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*45916cd2Sjpk# Common Development and Distribution License (the "License"). 6*45916cd2Sjpk# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21*45916cd2Sjpk# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 227c478bd9Sstevel@tonic-gate# Use is subject to license terms. 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# /etc/nsswitch.dns: 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate# An example file that could be copied over to /etc/nsswitch.conf; it uses 307c478bd9Sstevel@tonic-gate# DNS for hosts lookups, otherwise it does not use any other naming service. 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate# "hosts:" and "services:" in this file are used only if the 337c478bd9Sstevel@tonic-gate# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate# DNS service expects that an instance of svc:/network/dns/client be 367c478bd9Sstevel@tonic-gate# enabled and online. 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gatepasswd: files 397c478bd9Sstevel@tonic-gategroup: files 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate# You must also set up the /etc/resolv.conf file for DNS name 427c478bd9Sstevel@tonic-gate# server lookup. See resolv.conf(4). 437c478bd9Sstevel@tonic-gatehosts: files dns 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate# Note that IPv4 addresses are searched for in all of the ipnodes databases 467c478bd9Sstevel@tonic-gate# before searching the hosts databases. 477c478bd9Sstevel@tonic-gateipnodes: files dns 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gatenetworks: files 507c478bd9Sstevel@tonic-gateprotocols: files 517c478bd9Sstevel@tonic-gaterpc: files 527c478bd9Sstevel@tonic-gateethers: files 537c478bd9Sstevel@tonic-gatenetmasks: files 547c478bd9Sstevel@tonic-gatebootparams: files 557c478bd9Sstevel@tonic-gatepublickey: files 567c478bd9Sstevel@tonic-gate# At present there isn't a 'files' backend for netgroup; the system will 577c478bd9Sstevel@tonic-gate# figure it out pretty quickly, and won't use netgroups at all. 587c478bd9Sstevel@tonic-gatenetgroup: files 597c478bd9Sstevel@tonic-gateautomount: files 607c478bd9Sstevel@tonic-gatealiases: files 617c478bd9Sstevel@tonic-gateservices: files 627c478bd9Sstevel@tonic-gateprinters: user files 637c478bd9Sstevel@tonic-gate 647c478bd9Sstevel@tonic-gateauth_attr: files 657c478bd9Sstevel@tonic-gateprof_attr: files 667c478bd9Sstevel@tonic-gateproject: files 67*45916cd2Sjpk 68*45916cd2Sjpktnrhtp: files 69*45916cd2Sjpktnrhdb: files 70