2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# CDDL HEADER START
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# The contents of this file are subject to the terms of the
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Common Development and Distribution License (the "License").
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# You may not use this file except in compliance with the License.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# See the License for the specific language governing permissions
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# and limitations under the License.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# When distributing Covered Code, include this CDDL HEADER in each
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# If applicable, add the following below this CDDL HEADER, with the
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# fields enclosed by brackets "[]" replaced with your own identifying
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# information: Portions Copyright [yyyy] [name of copyright owner]
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# CDDL HEADER END
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Use is subject to license terms.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# An example file that could be copied over to /etc/nsswitch.conf; it
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# uses Microsoft's Active Directory (AD) for passwd and group; DNS for
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# hosts lookups; and files for the remaining databases.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# AD name service currently only supports passwd(4) and group(4)
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Other name service databases such as audit_user(4) and user_attr(4)
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# that follow passwd entry in nsswitch.conf are not supported by AD.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# If the AD backend is processed (based on the configuration) it will
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# return NOT FOUND for these databases.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Since AD name service is not yet a complete Solaris solution, please
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# add other name service(s) as appropriate to the lines in this file.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# "hosts:" and "services:" in this file are used only if the
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# DNS service expects that an instance of svc:/network/dns/client be
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# enabled and online.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrepasswd: files ad
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkregroup: files ad
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# Note that IPv4 addresses are searched for in all of the ipnodes databases
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# before searching the hosts databases.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrehosts: files dns
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreipnodes: files dns
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrenetworks: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreprotocols: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreethers: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrenetmasks: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrebootparams: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrepublickey: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# At present there isn't a 'files' backend for netgroup; the system will
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkre# figure it out pretty quickly, and won't use netgroups at all.
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrenetgroup: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreautomount: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkrealiases: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreservices: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreprinters: user files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreauth_attr: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreprof_attr: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkreproject: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkretnrhtp: files
2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1fBaban Kenkretnrhdb: files