version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
libnss-ldap.conf |
|
|
2 |
!!!libnss-ldap.conf |
|
|
3 |
NAME |
|
|
4 |
DESCRIPTION |
|
|
5 |
PARAMETERS |
|
|
6 |
FILES |
|
|
7 |
AUTHOR |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
libnss-ldap.conf - Configuration file for LDAP NSS library |
|
|
13 |
!!DESCRIPTION |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
This file provides configuration information for NSS LDAP |
|
|
17 |
library. |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
Each line in the file is either a comment (indicated with a |
|
|
21 |
hash '#') or a directive followed by a parameter. Directives |
|
|
22 |
which are not specified in the file are set to their default |
|
|
23 |
values. |
|
|
24 |
!!PARAMETERS |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
The recognized directives are as follows: __host__ The |
|
|
28 |
LDAP directory server to direct all queries to. Must be |
|
|
29 |
resolvable without using LDAP. Can be a hostname or an IP |
|
|
30 |
address. If not specified the libraries will attempt to use |
|
|
31 |
DNS 'Resource Records' (RR) to find the appropriate |
|
|
32 |
host. |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
__base__ |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The distinguished name of the search base. If this parameter |
|
|
39 |
is omitted it the defaultdomain is used in a fashion |
|
|
40 |
specified by RFC2247 |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Commonly the elements of the domain |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
name prefixed with 'dc='. Example: dc=rage,dc=net. This |
|
|
47 |
value is required. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__uri__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Another way to specify your LDAP server is to provide an uri |
|
|
54 |
with the server name. This allows to use Unix Domain Sockets |
|
|
55 |
to connect to a local LDAP Server. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
uri ldap://127.0.0.1/ |
|
|
59 |
uri ldaps://127.0.0.1/ |
|
|
60 |
uri ldapi://%2fvar%2frun%2fldapi_sock/ |
|
|
61 |
Note: %2f encodes the '/' used as directory |
|
|
62 |
separator |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
__ldap_version__ |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
LDAP version to use. Valid values are 2 or 3. |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
__binddn__ |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
The distinguished name to bind to the server with. If |
|
|
75 |
omitted the library will bind anonymously. |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
__bindpw__ |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
The credentials to bind with. This should only be specified |
|
|
82 |
in conjunction with binddn. |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
__rootbinddn__ |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
The distinguished name to bind to the server with if the |
|
|
89 |
effective user ID is root. |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
Password is stored in /etc/ldap.secret (mode |
|
|
93 |
600) |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
__port__ |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
The TCP port to bind to the server with. Defaults to |
|
|
100 |
389 |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
__scope__ |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
The search scope. Should be one of 'one', 'base', or |
|
|
107 |
'sub'. |
|
|
108 |
|
|
|
109 |
|
|
|
110 |
__timelimit__ |
|
|
111 |
|
|
|
112 |
|
|
|
113 |
Timelimit for searches |
|
|
114 |
|
|
|
115 |
|
|
|
116 |
__bind_timelimit__ |
|
|
117 |
|
|
|
118 |
|
|
|
119 |
Timelimit for binding to LDAP server. |
|
|
120 |
|
|
|
121 |
|
|
|
122 |
The following parameters are NSS specific. They modify the |
|
|
123 |
default behaviour of NSS library. All of these are |
|
|
124 |
optional. |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
__nss_base_XXX__ |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
these parameters control where certain data is found. if you |
|
|
131 |
define a filter, it will be |
|
|
132 |
|
|
|
133 |
|
|
|
134 |
example: nss_base_XXX base?scope?filter |
|
|
135 |
|
|
|
136 |
|
|
|
137 |
you can also omit the suffix, and base DN will be appended |
|
|
138 |
to it. This may incur a small performance |
|
|
139 |
impact. |
|
|
140 |
|
|
|
141 |
|
|
|
142 |
example: nss_base_passwd ou=People, |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
Valid parameters are: |
|
|
146 |
|
|
|
147 |
|
|
|
148 |
nss_base_passwd |
|
|
149 |
nss_base_shadow |
|
|
150 |
nss_base_group |
|
|
151 |
nss_base_hosts |
|
|
152 |
nss_base_services |
|
|
153 |
nss_base_networks |
|
|
154 |
nss_base_protocols |
|
|
155 |
nss_base_rpc |
|
|
156 |
nss_base_ethers |
|
|
157 |
nss_base_netmasks |
|
|
158 |
nss_base_bootparams |
|
|
159 |
nss_base_aliases |
|
|
160 |
nss_base_netgroup |
|
|
161 |
!!FILES |
|
|
162 |
|
|
|
163 |
|
|
|
164 |
/etc/libnss-ldap.conf |
|
|
165 |
!!AUTHOR |
|
|
166 |
|
|
|
167 |
|
|
|
168 |
Software by Luke Howard |
|
|
169 |
---- |