1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  22 #
  23 
  24 #
  25 # /etc/nsswitch.ldap:
  26 #
  27 # An example file that could be copied over to /etc/nsswitch.conf; it
  28 # uses LDAP in conjunction with files and DNS.
  29 #
  30 # "hosts:" and "services:" in this file are used only if the
  31 # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
  32 
  33 # LDAP service requires that svc:/network/ldap/client:default be enabled
  34 # and online.
  35 # DNS service expects that an instance of svc:/network/dns/client be
  36 # enabled and online.
  37 
  38 passwd:     files ldap
  39 group:      files ldap
  40 
  41 # You must also set up the /etc/resolv.conf file for DNS name
  42 # server lookup.  See resolv.conf(4). For lookup via mdns  
  43 # svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M)
  44 hosts:      files dns mdns
  45 
  46 # Note that IPv4 addresses are searched for in all of the ipnodes databases
  47 # before searching the hosts databases.
  48 ipnodes:    files dns mdns
  49 
  50 networks:   files
  51 protocols:  files
  52 rpc:        files
  53 ethers:     files
  54 netmasks:   files
  55 bootparams: files
  56 publickey:  files
  57 
  58 netgroup:   files
  59 
  60 automount:  files
  61 aliases:    files
  62 services:   files
  63 
  64 printers:   user files
  65 
  66 auth_attr:  files
  67 prof_attr:  files
  68 
  69 project:    files
  70 
  71 tnrhtp:     files
  72 tnrhdb:     files