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