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