xref: /titanic_44/usr/src/cmd/netfiles/nsswitch.ldap (revision be468fc6d7266e97f1330ad9a761169925f5f3f1)
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.
36passwd:     files ldap
37group:      files ldap
38
39# consult /etc "files" only if ldap is down.
40hosts:      files ldap
41
42# Note that IPv4 addresses are searched for in all of the ipnodes databases
43# before searching the hosts databases.
44ipnodes:    files ldap
45
46networks:   files ldap
47protocols:  files ldap
48rpc:        files ldap
49ethers:     files ldap
50netmasks:   files ldap
51bootparams: files ldap
52publickey:  files ldap
53
54netgroup:   ldap
55
56automount:  files ldap
57aliases:    files ldap
58
59# for efficient getservbyname() avoid ldap
60services:   files ldap
61
62printers:   user files ldap
63
64auth_attr:  files ldap
65prof_attr:  files ldap
66
67project:    files ldap
68
69tnrhtp:     files ldap
70tnrhdb:     files ldap
71