xref: /illumos-gate/usr/src/cmd/netfiles/nsswitch.ldap (revision dbed73cbda2229fd1aa6dc5743993cae7f0a7ee9)
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 2006 Sun Microsystems, Inc.  All rights reserved.
21# Use is subject to license terms.
22#
23# ident	"%Z%%M%	%I%	%E% SMI"
24
25#
26# /etc/nsswitch.ldap:
27#
28# An example file that could be copied over to /etc/nsswitch.conf; it
29# uses LDAP in conjunction with files.
30#
31# "hosts:" and "services:" in this file are used only if the
32# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
33
34# LDAP service requires that svc:/network/ldap/client:default be enabled
35# and online.
36
37# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
38passwd:     files ldap
39group:      files ldap
40
41# consult /etc "files" only if ldap is down.
42hosts:      ldap [NOTFOUND=return] files
43
44# Note that IPv4 addresses are searched for in all of the ipnodes databases
45# before searching the hosts databases.
46ipnodes:    ldap [NOTFOUND=return] files
47
48networks:   ldap [NOTFOUND=return] files
49protocols:  ldap [NOTFOUND=return] files
50rpc:        ldap [NOTFOUND=return] files
51ethers:     ldap [NOTFOUND=return] files
52netmasks:   ldap [NOTFOUND=return] files
53bootparams: ldap [NOTFOUND=return] files
54publickey:  ldap [NOTFOUND=return] files
55
56netgroup:   ldap
57
58automount:  files ldap
59aliases:    files ldap
60
61# for efficient getservbyname() avoid ldap
62services:   files ldap
63
64printers:   user files ldap
65
66auth_attr:  files ldap
67prof_attr:  files ldap
68
69project:    files ldap
70
71tnrhtp:     files ldap
72tnrhdb:     files ldap
73