1*8040SBaban.Kenkre@Sun.COM# 2*8040SBaban.Kenkre@Sun.COM# CDDL HEADER START 3*8040SBaban.Kenkre@Sun.COM# 4*8040SBaban.Kenkre@Sun.COM# The contents of this file are subject to the terms of the 5*8040SBaban.Kenkre@Sun.COM# Common Development and Distribution License (the "License"). 6*8040SBaban.Kenkre@Sun.COM# You may not use this file except in compliance with the License. 7*8040SBaban.Kenkre@Sun.COM# 8*8040SBaban.Kenkre@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*8040SBaban.Kenkre@Sun.COM# or http://www.opensolaris.org/os/licensing. 10*8040SBaban.Kenkre@Sun.COM# See the License for the specific language governing permissions 11*8040SBaban.Kenkre@Sun.COM# and limitations under the License. 12*8040SBaban.Kenkre@Sun.COM# 13*8040SBaban.Kenkre@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 14*8040SBaban.Kenkre@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*8040SBaban.Kenkre@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 16*8040SBaban.Kenkre@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 17*8040SBaban.Kenkre@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 18*8040SBaban.Kenkre@Sun.COM# 19*8040SBaban.Kenkre@Sun.COM# CDDL HEADER END 20*8040SBaban.Kenkre@Sun.COM# 21*8040SBaban.Kenkre@Sun.COM# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 22*8040SBaban.Kenkre@Sun.COM# Use is subject to license terms. 23*8040SBaban.Kenkre@Sun.COM# 24*8040SBaban.Kenkre@Sun.COM 25*8040SBaban.Kenkre@Sun.COM# 26*8040SBaban.Kenkre@Sun.COM# /etc/nsswitch.ad: 27*8040SBaban.Kenkre@Sun.COM# 28*8040SBaban.Kenkre@Sun.COM# An example file that could be copied over to /etc/nsswitch.conf; it 29*8040SBaban.Kenkre@Sun.COM# uses Microsoft's Active Directory (AD) for passwd and group; DNS for 30*8040SBaban.Kenkre@Sun.COM# hosts lookups; and files for the remaining databases. 31*8040SBaban.Kenkre@Sun.COM# 32*8040SBaban.Kenkre@Sun.COM# AD name service currently only supports passwd(4) and group(4) 33*8040SBaban.Kenkre@Sun.COM# databases. 34*8040SBaban.Kenkre@Sun.COM# 35*8040SBaban.Kenkre@Sun.COM# Other name service databases such as audit_user(4) and user_attr(4) 36*8040SBaban.Kenkre@Sun.COM# that follow passwd entry in nsswitch.conf are not supported by AD. 37*8040SBaban.Kenkre@Sun.COM# If the AD backend is processed (based on the configuration) it will 38*8040SBaban.Kenkre@Sun.COM# return NOT FOUND for these databases. 39*8040SBaban.Kenkre@Sun.COM# 40*8040SBaban.Kenkre@Sun.COM# Since AD name service is not yet a complete Solaris solution, please 41*8040SBaban.Kenkre@Sun.COM# add other name service(s) as appropriate to the lines in this file. 42*8040SBaban.Kenkre@Sun.COM# 43*8040SBaban.Kenkre@Sun.COM# "hosts:" and "services:" in this file are used only if the 44*8040SBaban.Kenkre@Sun.COM# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. 45*8040SBaban.Kenkre@Sun.COM 46*8040SBaban.Kenkre@Sun.COM# DNS service expects that an instance of svc:/network/dns/client be 47*8040SBaban.Kenkre@Sun.COM# enabled and online. 48*8040SBaban.Kenkre@Sun.COM 49*8040SBaban.Kenkre@Sun.COMpasswd: files ad 50*8040SBaban.Kenkre@Sun.COMgroup: files ad 51*8040SBaban.Kenkre@Sun.COM 52*8040SBaban.Kenkre@Sun.COM# Note that IPv4 addresses are searched for in all of the ipnodes databases 53*8040SBaban.Kenkre@Sun.COM# before searching the hosts databases. 54*8040SBaban.Kenkre@Sun.COMhosts: files dns 55*8040SBaban.Kenkre@Sun.COMipnodes: files dns 56*8040SBaban.Kenkre@Sun.COM 57*8040SBaban.Kenkre@Sun.COMnetworks: files 58*8040SBaban.Kenkre@Sun.COMprotocols: files 59*8040SBaban.Kenkre@Sun.COMrpc: files 60*8040SBaban.Kenkre@Sun.COMethers: files 61*8040SBaban.Kenkre@Sun.COMnetmasks: files 62*8040SBaban.Kenkre@Sun.COMbootparams: files 63*8040SBaban.Kenkre@Sun.COMpublickey: files 64*8040SBaban.Kenkre@Sun.COM# At present there isn't a 'files' backend for netgroup; the system will 65*8040SBaban.Kenkre@Sun.COM# figure it out pretty quickly, and won't use netgroups at all. 66*8040SBaban.Kenkre@Sun.COMnetgroup: files 67*8040SBaban.Kenkre@Sun.COMautomount: files 68*8040SBaban.Kenkre@Sun.COMaliases: files 69*8040SBaban.Kenkre@Sun.COMservices: files 70*8040SBaban.Kenkre@Sun.COMprinters: user files 71*8040SBaban.Kenkre@Sun.COM 72*8040SBaban.Kenkre@Sun.COMauth_attr: files 73*8040SBaban.Kenkre@Sun.COMprof_attr: files 74*8040SBaban.Kenkre@Sun.COMproject: files 75*8040SBaban.Kenkre@Sun.COM 76*8040SBaban.Kenkre@Sun.COMtnrhtp: files 77*8040SBaban.Kenkre@Sun.COMtnrhdb: files 78