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