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