[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c00932a] | 7 | <!ENTITY openldap-download-http " ">
|
---|
[12949fb] | 8 | <!ENTITY openldap-download-ftp "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
|
---|
[0760f1d] | 9 | <!ENTITY openldap-md5sum "5adae44897647c15ce5abbff313bc85a">
|
---|
| 10 | <!ENTITY openldap-size "5.3 MB">
|
---|
[1ef8da9] | 11 | <!ENTITY openldap-buildsize "100 MB">
|
---|
[0760f1d] | 12 | <!ENTITY openldap-time "1.2 SBU">
|
---|
[0931098] | 13 | ]>
|
---|
| 14 |
|
---|
[9a9a0fec] | 15 | <sect1 id="openldap" xreflabel="OpenLDAP-&openldap-version;">
|
---|
[814e53c] | 16 | <?dbhtml filename="openldap.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>OpenLDAP-&openldap-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="openldap">
|
---|
| 26 | <primary sortas="a-OpenLDAP">OpenLDAP</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to OpenLDAP</title>
|
---|
| 31 |
|
---|
[b5e36dd] | 32 | <para>
|
---|
| 33 | The <application>OpenLDAP</application> package provides an open
|
---|
| 34 | source implementation of the Lightweight Directory Access Protocol.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[2870db0] | 37 | &lfs72_checked;
|
---|
[814e53c] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[b5e36dd] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&openldap-download-http;"/>
|
---|
| 44 | </para>
|
---|
[814e53c] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[b5e36dd] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&openldap-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[814e53c] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[b5e36dd] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &openldap-md5sum;
|
---|
| 54 | </para>
|
---|
[814e53c] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[b5e36dd] | 57 | <para>
|
---|
| 58 | Download size: &openldap-size;
|
---|
| 59 | </para>
|
---|
[814e53c] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[b5e36dd] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &openldap-buildsize;
|
---|
| 64 | </para>
|
---|
[814e53c] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[b5e36dd] | 67 | <para>
|
---|
| 68 | Estimated build time: &openldap-time;
|
---|
| 69 | </para>
|
---|
[814e53c] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[6a604251] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[ba432fd] | 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
[b5e36dd] | 76 | <para>
|
---|
| 77 | Required patch:
|
---|
[0760f1d] | 78 | <ulink url="&patch-root;/openldap-&openldap-version;-blfs_paths-1.patch"/>
|
---|
[b5e36dd] | 79 | </para>
|
---|
[1ef8da9] | 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
[b5e36dd] | 82 | <para>
|
---|
| 83 | Required patch:
|
---|
[0760f1d] | 84 | <ulink url="&patch-root;/openldap-&openldap-version;-symbol_versions-1.patch"/>
|
---|
[b5e36dd] | 85 | </para>
|
---|
[1ef8da9] | 86 | </listitem>
|
---|
| 87 | <listitem>
|
---|
[b5e36dd] | 88 | <para>
|
---|
| 89 | Optional patch:
|
---|
| 90 | <ulink url="&patch-root;/openldap-&openldap-version;-ntlm-1.patch"/>
|
---|
| 91 | </para>
|
---|
[ba432fd] | 92 | </listitem>
|
---|
| 93 | </itemizedlist>
|
---|
| 94 |
|
---|
[814e53c] | 95 | <bridgehead renderas="sect3">OpenLDAP Dependencies</bridgehead>
|
---|
| 96 |
|
---|
[de7f20e] | 97 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b5e36dd] | 98 | <para role="required">
|
---|
| 99 | <xref linkend="db"/>
|
---|
| 100 | </para>
|
---|
[814e53c] | 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[b5e36dd] | 103 | <para role="recommended">
|
---|
| 104 | <xref linkend="cyrus-sasl"/> and
|
---|
| 105 | <xref linkend="openssl"/>
|
---|
| 106 | </para>
|
---|
[814e53c] | 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b5e36dd] | 109 | <para role="optional">
|
---|
| 110 | <xref linkend="icu"/>,
|
---|
| 111 | <xref linkend="mysql"/> or
|
---|
| 112 | <xref linkend="postgresql"/>,
|
---|
| 113 | <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
|
---|
[bc6e56d] | 114 | <xref linkend="pth"/> and
|
---|
[b5e36dd] | 115 | <xref linkend="unixodbc"/>
|
---|
| 116 | </para>
|
---|
[814e53c] | 117 |
|
---|
[3cb0c57] | 118 | <para condition="html" role="usernotes">User Notes:
|
---|
[bc6e56d] | 119 | <ulink url="&blfs-wiki;/openldap"/>
|
---|
| 120 | </para>
|
---|
[814e53c] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of OpenLDAP</title>
|
---|
| 125 |
|
---|
[1ef8da9] | 126 | <important>
|
---|
[b5e36dd] | 127 | <para>
|
---|
| 128 | Without the following patch, the <application>Evolution</application>
|
---|
| 129 | Exchange addressbook integration uses simple binds with cleartext
|
---|
| 130 | passwords. If you are going to build
|
---|
| 131 | <application>Evolution Data Server</application> with
|
---|
| 132 | <application>OpenLDAP</application> support, apply the following patch:
|
---|
| 133 | </para>
|
---|
[c00932a] | 134 |
|
---|
| 135 | <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-ntlm-1.patch</userinput></screen>
|
---|
[1ef8da9] | 136 | </important>
|
---|
[c00932a] | 137 |
|
---|
[12949fb] | 138 | <note>
|
---|
[b5e36dd] | 139 | <para>
|
---|
| 140 | If you only need to install the client side <command>ldap*</command>
|
---|
| 141 | binaries, corresponding man pages, libraries and header files (referred to
|
---|
| 142 | as a <quote>client-only</quote> install), issue the following
|
---|
| 143 | <command>configure</command> command instead of the other one, and
|
---|
| 144 | then proceed with the remaining commands (no test suite available):
|
---|
| 145 | </para>
|
---|
[12949fb] | 146 |
|
---|
[0760f1d] | 147 | <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs_paths-1.patch &&
|
---|
| 148 | patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch &&
|
---|
[439e942e] | 149 | autoconf &&
|
---|
[ba432fd] | 150 | ./configure --prefix=/usr \
|
---|
[12949fb] | 151 | --sysconfdir=/etc \
|
---|
| 152 | --enable-dynamic \
|
---|
[c00932a] | 153 | --disable-debug \
|
---|
| 154 | --disable-slapd</userinput></screen>
|
---|
[12949fb] | 155 | </note>
|
---|
| 156 |
|
---|
[b5e36dd] | 157 | <para>
|
---|
| 158 | Install <application>OpenLDAP</application> by
|
---|
| 159 | running the following commands:
|
---|
| 160 | </para>
|
---|
[814e53c] | 161 |
|
---|
[0760f1d] | 162 | <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs_paths-1.patch &&
|
---|
| 163 | patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch &&
|
---|
[439e942e] | 164 | autoconf &&
|
---|
[ba432fd] | 165 | ./configure --prefix=/usr \
|
---|
[516a4acd] | 166 | --sysconfdir=/etc \
|
---|
[c00932a] | 167 | --localstatedir=/var \
|
---|
| 168 | --libexecdir=/usr/lib \
|
---|
| 169 | --disable-static \
|
---|
[39b02ba] | 170 | --disable-debug \
|
---|
[516a4acd] | 171 | --enable-dynamic \
|
---|
| 172 | --enable-crypt \
|
---|
| 173 | --enable-modules \
|
---|
[2288649] | 174 | --enable-rlookups \
|
---|
[c00932a] | 175 | --enable-backends=mod \
|
---|
| 176 | --enable-overlays=mod \
|
---|
| 177 | --disable-ndb \
|
---|
[b895aa3] | 178 | --disable-sql &&
|
---|
[0931098] | 179 | make depend &&
|
---|
[d9091faa] | 180 | make</userinput></screen>
|
---|
| 181 |
|
---|
[b5e36dd] | 182 | <para>
|
---|
[bc6e56d] | 183 | To test the results, issue: <command>make test</command>.
|
---|
[b5e36dd] | 184 | </para>
|
---|
[814e53c] | 185 |
|
---|
[b5e36dd] | 186 | <para>
|
---|
| 187 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 188 | </para>
|
---|
[814e53c] | 189 |
|
---|
| 190 | <screen role="root"><userinput>make install &&
|
---|
[0c74155e] | 191 |
|
---|
[1ef8da9] | 192 | install -v -dm 755 /usr/share/doc/openldap-&openldap-version; &&
|
---|
| 193 | cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; &&
|
---|
| 194 | cp -vfr doc/rfc /usr/share/doc/openldap-&openldap-version; &&
|
---|
| 195 | cp -vfr doc/guide /usr/share/doc/openldap-&openldap-version;</userinput></screen>
|
---|
[814e53c] | 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="commands">
|
---|
| 200 | <title>Command Explanations</title>
|
---|
| 201 |
|
---|
[c00932a] | 202 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[b5e36dd] | 203 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 204 |
|
---|
| 205 | <para>
|
---|
| 206 | <option>--disable-debug</option>: This parameter disables
|
---|
| 207 | the debugging code in <application>OpenLDAP</application>.
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <para>
|
---|
| 211 | <option>--enable-dynamic</option>: This parameter forces the
|
---|
| 212 | <application>OpenLDAP</application> libraries to be dynamically
|
---|
| 213 | linked to the executable programs.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
| 217 | <option>--enable-crypt</option>: This parameter enables using of
|
---|
| 218 | <command>crypt(3)</command> passwords.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
| 222 | <option>--enable-modules</option>: This parameter enables dynamic
|
---|
| 223 | module support.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | <para>
|
---|
| 227 | <option>--enable-rlookups</option>: This parameter enables
|
---|
| 228 | reverse lookups of client hostnames.
|
---|
| 229 | </para>
|
---|
| 230 |
|
---|
| 231 | <para>
|
---|
| 232 | <option>--enable-backends</option>: This parameter enables
|
---|
| 233 | all available backends.
|
---|
| 234 | </para>
|
---|
| 235 |
|
---|
| 236 | <para>
|
---|
| 237 | <option>--enable-overlays</option>: This parameter enables
|
---|
| 238 | all available overlays.
|
---|
| 239 | </para>
|
---|
| 240 |
|
---|
| 241 | <para>
|
---|
| 242 | <option>--disable-ndb</option>: This parameter disables
|
---|
| 243 | <application>MySQL</application> NDB Cluster backend
|
---|
| 244 | which causes configure to fail if
|
---|
| 245 | <application>MySQL</application> is present.
|
---|
| 246 | </para>
|
---|
| 247 |
|
---|
| 248 | <para>
|
---|
| 249 | <option>--disable-sql</option>: This parameter explicitly
|
---|
| 250 | disables the SQL backend. Omit this switch if a SQL server is
|
---|
| 251 | installed and you are going to use a SQL backend.
|
---|
| 252 | </para>
|
---|
| 253 |
|
---|
| 254 | <para>
|
---|
| 255 | <option>--enable-spasswd</option>: This parameter enables
|
---|
| 256 | <application>SASL</application> password verification.
|
---|
| 257 | </para>
|
---|
[c00932a] | 258 |
|
---|
[b5e36dd] | 259 | <para>
|
---|
| 260 | <option>--enable-slp</option>: This parameter enables
|
---|
| 261 | SLPv2 support. Use this switch if you have installed
|
---|
| 262 | <ulink url="http://www.openslp.org/">OpenSLP</ulink>.
|
---|
| 263 | </para>
|
---|
[516a4acd] | 264 |
|
---|
| 265 | <note>
|
---|
[b5e36dd] | 266 | <para>
|
---|
| 267 | You can run <command>./configure --help</command> to see if there
|
---|
| 268 | are other parameters you can pass to the <command>configure</command>
|
---|
| 269 | command to enable other options or dependency packages.
|
---|
| 270 | </para>
|
---|
[516a4acd] | 271 | </note>
|
---|
| 272 |
|
---|
[814e53c] | 273 | </sect2>
|
---|
| 274 |
|
---|
| 275 | <sect2 role="configuration">
|
---|
| 276 | <title>Configuring OpenLDAP</title>
|
---|
| 277 |
|
---|
| 278 | <sect3 id="openldap-config">
|
---|
| 279 | <title>Config Files</title>
|
---|
| 280 |
|
---|
[bc6e56d] | 281 | <para>
|
---|
| 282 | <filename>/etc/openldap/*</filename>
|
---|
| 283 | </para>
|
---|
[814e53c] | 284 |
|
---|
| 285 | <indexterm zone="openldap openldap-config">
|
---|
[bc6e56d] | 286 | <primary sortas="e-etc-openldap">/etc/openldap/*</primary>
|
---|
[814e53c] | 287 | </indexterm>
|
---|
| 288 |
|
---|
| 289 | </sect3>
|
---|
| 290 |
|
---|
| 291 | <sect3>
|
---|
| 292 | <title>Configuration Information</title>
|
---|
| 293 |
|
---|
[b5e36dd] | 294 | <para>
|
---|
| 295 | Configuring the <command>slapd</command> servers can be complex.
|
---|
| 296 | Securing the LDAP directory, especially if you are storing non-public
|
---|
| 297 | data such as password databases, can also be a challenging task. You'll
|
---|
| 298 | need to modify the <filename>/etc/openldap/slapd.conf</filename> and
|
---|
| 299 | <filename>/etc/openldap/ldap.conf</filename> files to set up
|
---|
| 300 | <application>OpenLDAP</application> for your particular needs.
|
---|
| 301 | </para>
|
---|
[814e53c] | 302 |
|
---|
| 303 | <indexterm zone="openldap openldap-config">
|
---|
| 304 | <primary
|
---|
| 305 | sortas="e-etc-openldap-slapd.conf">/etc/openldap/slapd.conf</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 |
|
---|
| 308 | <indexterm zone="openldap openldap-config">
|
---|
| 309 | <primary
|
---|
| 310 | sortas="e-etc-openldap-ldap.conf">/etc/openldap/ldap.conf</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 |
|
---|
[bc6e56d] | 313 | <para>
|
---|
| 314 | Resources to assist you with topics such as choosing a directory
|
---|
| 315 | configuration, backend and database definitions, access control settings,
|
---|
| 316 | running as a user other than <systemitem class="username">root</systemitem>
|
---|
| 317 | and setting a <command>chroot</command> environment include:
|
---|
| 318 | </para>
|
---|
[814e53c] | 319 |
|
---|
| 320 | <itemizedlist spacing='compact'>
|
---|
| 321 | <listitem>
|
---|
[b5e36dd] | 322 | <para>
|
---|
| 323 | The <command>slapd</command> man page.
|
---|
| 324 | </para>
|
---|
[814e53c] | 325 | </listitem>
|
---|
| 326 | <listitem>
|
---|
[b5e36dd] | 327 | <para>
|
---|
| 328 | The <filename>slapd.conf</filename> man page.
|
---|
| 329 | </para>
|
---|
[814e53c] | 330 | </listitem>
|
---|
| 331 | <listitem>
|
---|
[b5e36dd] | 332 | <para>
|
---|
| 333 | The <ulink url="http://www.openldap.org/doc/admin24/">
|
---|
| 334 | OpenLDAP 2.4 Administrator's Guide</ulink>
|
---|
| 335 | (also installed locally in <filename class='directory'>
|
---|
| 336 | /usr/share/doc/openldap-&openldap-version;/guide/admin</filename>).
|
---|
| 337 | </para>
|
---|
[814e53c] | 338 | </listitem>
|
---|
| 339 | <listitem>
|
---|
[b5e36dd] | 340 | <para>
|
---|
| 341 | Documents located at
|
---|
| 342 | <ulink url="http://www.openldap.org/pub/"/>.
|
---|
| 343 | </para>
|
---|
[814e53c] | 344 | </listitem>
|
---|
| 345 | </itemizedlist>
|
---|
| 346 |
|
---|
| 347 | </sect3>
|
---|
| 348 |
|
---|
| 349 | <sect3>
|
---|
| 350 | <title>Mozilla Address Directory</title>
|
---|
| 351 |
|
---|
[b5e36dd] | 352 | <para>
|
---|
| 353 | By default, LDAPv2 support is disabled in the
|
---|
| 354 | <filename>slapd.conf</filename> file. Once the database is properly
|
---|
| 355 | set up and <application>Mozilla</application> is configured to use the
|
---|
| 356 | directory, you must add <option>allow bind_v2</option> to the
|
---|
| 357 | <filename>slapd.conf</filename> file.
|
---|
| 358 | </para>
|
---|
[814e53c] | 359 |
|
---|
| 360 | </sect3>
|
---|
| 361 |
|
---|
| 362 | <sect3 id="openldap-init">
|
---|
| 363 | <title>Boot Script</title>
|
---|
| 364 |
|
---|
[b5e36dd] | 365 | <para>
|
---|
| 366 | To automate the startup of the LDAP server at system bootup,
|
---|
[d9d26317] | 367 | install the <filename>/etc/rc.d/init.d/slapd</filename> init script
|
---|
[b5e36dd] | 368 | included in the <xref linkend="bootscripts"/> package
|
---|
| 369 | using the following command:
|
---|
| 370 | </para>
|
---|
[814e53c] | 371 |
|
---|
| 372 | <indexterm zone="openldap openldap-init">
|
---|
[d9d26317] | 373 | <primary sortas="f-slapd">slapd</primary>
|
---|
[814e53c] | 374 | </indexterm>
|
---|
| 375 |
|
---|
[d9d26317] | 376 | <screen role="root"><userinput>make install-slapd</userinput></screen>
|
---|
[814e53c] | 377 |
|
---|
| 378 | <note>
|
---|
[b5e36dd] | 379 | <para>
|
---|
| 380 | The init script starts the daemon without any parameters.
|
---|
| 381 | You'll need to modify the
|
---|
[d9d26317] | 382 | <filename>/etc/sysconfig/slapd</filename> to include the
|
---|
[b5e36dd] | 383 | parameters needed for your specific configuration. See the
|
---|
| 384 | <command>slapd</command> man page for parameter information.
|
---|
| 385 | </para>
|
---|
[814e53c] | 386 | </note>
|
---|
| 387 |
|
---|
| 388 | </sect3>
|
---|
| 389 |
|
---|
| 390 | <sect3>
|
---|
| 391 | <title>Testing the Configuration</title>
|
---|
| 392 |
|
---|
[b5e36dd] | 393 | <para>
|
---|
| 394 | Start the LDAP server using the init script:
|
---|
| 395 | </para>
|
---|
[814e53c] | 396 |
|
---|
[d9d26317] | 397 | <screen role="root"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen>
|
---|
[814e53c] | 398 |
|
---|
[b5e36dd] | 399 | <para>
|
---|
| 400 | Verify access to the LDAP server with the following command:
|
---|
| 401 | </para>
|
---|
[814e53c] | 402 |
|
---|
| 403 | <screen><userinput>ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts</userinput></screen>
|
---|
| 404 |
|
---|
[b5e36dd] | 405 | <para>
|
---|
| 406 | The expected result is:
|
---|
| 407 | </para>
|
---|
[814e53c] | 408 |
|
---|
[0931098] | 409 | <screen><computeroutput># extended LDIF
|
---|
| 410 | #
|
---|
| 411 | # LDAPv3
|
---|
| 412 | # base <> with scope base
|
---|
| 413 | # filter: (objectclass=*)
|
---|
[814e53c] | 414 | # requesting: namingContexts
|
---|
[0931098] | 415 | #
|
---|
| 416 |
|
---|
| 417 | #
|
---|
| 418 | dn:
|
---|
| 419 | namingContexts: dc=my-domain,dc=com
|
---|
| 420 |
|
---|
| 421 | # search result
|
---|
| 422 | search: 2
|
---|
| 423 | result: 0 Success
|
---|
| 424 |
|
---|
| 425 | # numResponses: 2
|
---|
| 426 | # numEntries: 1</computeroutput></screen>
|
---|
| 427 |
|
---|
[814e53c] | 428 | </sect3>
|
---|
| 429 |
|
---|
| 430 | </sect2>
|
---|
| 431 |
|
---|
| 432 | <sect2 role="content">
|
---|
| 433 | <title>Contents</title>
|
---|
| 434 |
|
---|
| 435 | <segmentedlist>
|
---|
| 436 | <segtitle>Installed Programs</segtitle>
|
---|
| 437 | <segtitle>Installed Libraries</segtitle>
|
---|
| 438 | <segtitle>Installed Directories</segtitle>
|
---|
| 439 |
|
---|
| 440 | <seglistitem>
|
---|
[b5e36dd] | 441 | <seg>
|
---|
| 442 | ldapadd, ldapcompare, ldapdelete, ldapexop, ldapmodify, ldapmodrdn,
|
---|
| 443 | ldappasswd, ldapsearch, ldapurl, ldapwhoami, slapacl, slapadd, slapauth,
|
---|
| 444 | slapcat, slapd, slapdn, slapindex, slappasswd, slapschema and slaptest
|
---|
| 445 | </seg>
|
---|
| 446 | <seg>
|
---|
| 447 | liblber.so, libldap.so,a and libldap_r.so
|
---|
| 448 | </seg>
|
---|
| 449 | <seg>
|
---|
| 450 | /etc/openldap,
|
---|
| 451 | /usr/lib/openldap and
|
---|
| 452 | /var/lib/openldap
|
---|
| 453 | </seg>
|
---|
[814e53c] | 454 | </seglistitem>
|
---|
| 455 | </segmentedlist>
|
---|
| 456 |
|
---|
| 457 | <variablelist>
|
---|
| 458 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 459 | <?dbfo list-presentation="list"?>
|
---|
| 460 | <?dbhtml list-presentation="table"?>
|
---|
| 461 |
|
---|
| 462 | <varlistentry id="ldapadd">
|
---|
| 463 | <term><command>ldapadd</command></term>
|
---|
| 464 | <listitem>
|
---|
[b5e36dd] | 465 | <para>
|
---|
| 466 | opens a connection to an LDAP server, binds and adds entries.
|
---|
| 467 | </para>
|
---|
[814e53c] | 468 | <indexterm zone="openldap ldapadd">
|
---|
| 469 | <primary sortas="b-ldapadd">ldapadd</primary>
|
---|
| 470 | </indexterm>
|
---|
| 471 | </listitem>
|
---|
| 472 | </varlistentry>
|
---|
| 473 |
|
---|
| 474 | <varlistentry id="ldapcompare">
|
---|
| 475 | <term><command>ldapcompare</command></term>
|
---|
| 476 | <listitem>
|
---|
[b5e36dd] | 477 | <para>
|
---|
| 478 | opens a connection to an LDAP server, binds and performs
|
---|
| 479 | a compare using specified parameters.
|
---|
| 480 | </para>
|
---|
[814e53c] | 481 | <indexterm zone="openldap ldapcompare">
|
---|
| 482 | <primary sortas="b-ldapcompare">ldapcompare</primary>
|
---|
| 483 | </indexterm>
|
---|
| 484 | </listitem>
|
---|
| 485 | </varlistentry>
|
---|
| 486 |
|
---|
| 487 | <varlistentry id="ldapdelete">
|
---|
| 488 | <term><command>ldapdelete</command></term>
|
---|
| 489 | <listitem>
|
---|
[b5e36dd] | 490 | <para>
|
---|
| 491 | opens a connection to an LDAP server, binds and deletes
|
---|
| 492 | one or more entries.
|
---|
| 493 | </para>
|
---|
[814e53c] | 494 | <indexterm zone="openldap ldapdelete">
|
---|
| 495 | <primary sortas="b-ldapdelete">ldapdelete</primary>
|
---|
| 496 | </indexterm>
|
---|
| 497 | </listitem>
|
---|
| 498 | </varlistentry>
|
---|
| 499 |
|
---|
[c00932a] | 500 | <varlistentry id="ldapexop">
|
---|
| 501 | <term><command>ldapexop</command></term>
|
---|
| 502 | <listitem>
|
---|
[b5e36dd] | 503 | <para>
|
---|
| 504 | issues the LDAP extended operation specified by
|
---|
| 505 | oid or one of the special keywords whoami,
|
---|
| 506 | cancel, or refresh.
|
---|
| 507 | </para>
|
---|
[c00932a] | 508 | <indexterm zone="openldap ldapexop">
|
---|
| 509 | <primary sortas="b-ldapexop">ldapexop</primary>
|
---|
| 510 | </indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
| 513 |
|
---|
[814e53c] | 514 | <varlistentry id="ldapmodify">
|
---|
| 515 | <term><command>ldapmodify</command></term>
|
---|
| 516 | <listitem>
|
---|
[b5e36dd] | 517 | <para>
|
---|
| 518 | opens a connection to an LDAP server, binds and modifies entries.
|
---|
| 519 | </para>
|
---|
[814e53c] | 520 | <indexterm zone="openldap ldapmodify">
|
---|
| 521 | <primary sortas="b-ldapmodify">ldapmodify</primary>
|
---|
| 522 | </indexterm>
|
---|
| 523 | </listitem>
|
---|
| 524 | </varlistentry>
|
---|
| 525 |
|
---|
| 526 | <varlistentry id="ldapmodrdn">
|
---|
| 527 | <term><command>ldapmodrdn</command></term>
|
---|
| 528 | <listitem>
|
---|
[b5e36dd] | 529 | <para>
|
---|
| 530 | opens a connection to an LDAP server, binds and modifies
|
---|
| 531 | the RDN of entries.
|
---|
| 532 | </para>
|
---|
[814e53c] | 533 | <indexterm zone="openldap ldapmodrdn">
|
---|
| 534 | <primary sortas="b-ldapmodrdn">ldapmodrdn</primary>
|
---|
| 535 | </indexterm>
|
---|
| 536 | </listitem>
|
---|
| 537 | </varlistentry>
|
---|
| 538 |
|
---|
| 539 | <varlistentry id="ldappasswd">
|
---|
| 540 | <term><command>ldappasswd</command></term>
|
---|
| 541 | <listitem>
|
---|
[b5e36dd] | 542 | <para>
|
---|
| 543 | is a tool used to set the password of an LDAP user.
|
---|
| 544 | </para>
|
---|
[814e53c] | 545 | <indexterm zone="openldap ldappasswd">
|
---|
| 546 | <primary sortas="b-ldappasswd">ldappasswd</primary>
|
---|
| 547 | </indexterm>
|
---|
| 548 | </listitem>
|
---|
| 549 | </varlistentry>
|
---|
| 550 |
|
---|
| 551 | <varlistentry id="ldapsearch">
|
---|
| 552 | <term><command>ldapsearch</command></term>
|
---|
| 553 | <listitem>
|
---|
[b5e36dd] | 554 | <para>
|
---|
| 555 | opens a connection to an LDAP server, binds and performs
|
---|
| 556 | a search using specified parameters.
|
---|
| 557 | </para>
|
---|
[814e53c] | 558 | <indexterm zone="openldap ldapsearch">
|
---|
| 559 | <primary sortas="b-ldapsearch">ldapsearch</primary>
|
---|
| 560 | </indexterm>
|
---|
| 561 | </listitem>
|
---|
| 562 | </varlistentry>
|
---|
| 563 |
|
---|
[c00932a] | 564 | <varlistentry id="ldapurl">
|
---|
| 565 | <term><command>ldapurl</command></term>
|
---|
| 566 | <listitem>
|
---|
[b5e36dd] | 567 | <para>
|
---|
| 568 | is a command that allows to either compose or
|
---|
| 569 | decompose LDAP URIs.
|
---|
| 570 | </para>
|
---|
[c00932a] | 571 | <indexterm zone="openldap ldapurl">
|
---|
| 572 | <primary sortas="b-ldapurl">ldapurl</primary>
|
---|
| 573 | </indexterm>
|
---|
| 574 | </listitem>
|
---|
| 575 | </varlistentry>
|
---|
| 576 |
|
---|
[814e53c] | 577 | <varlistentry id="ldapwhoami">
|
---|
| 578 | <term><command>ldapwhoami</command></term>
|
---|
| 579 | <listitem>
|
---|
[b5e36dd] | 580 | <para>
|
---|
| 581 | opens a connection to an LDAP server, binds and displays
|
---|
| 582 | whoami information.
|
---|
| 583 | </para>
|
---|
[814e53c] | 584 | <indexterm zone="openldap ldapwhoami">
|
---|
| 585 | <primary sortas="b-ldapwhoami">ldapwhoami</primary>
|
---|
| 586 | </indexterm>
|
---|
| 587 | </listitem>
|
---|
| 588 | </varlistentry>
|
---|
| 589 |
|
---|
[c00932a] | 590 | <varlistentry id="slapacl">
|
---|
| 591 | <term><command>slapacl</command></term>
|
---|
| 592 | <listitem>
|
---|
[b5e36dd] | 593 | <para>
|
---|
| 594 | is used to check the behavior of slapd by verifying
|
---|
| 595 | access to directory data according to the access control
|
---|
| 596 | list directives defined in its configuration.
|
---|
| 597 | </para>
|
---|
[c00932a] | 598 | <indexterm zone="openldap slapacl">
|
---|
| 599 | <primary sortas="b-slapacl">slapacl</primary>
|
---|
| 600 | </indexterm>
|
---|
| 601 | </listitem>
|
---|
| 602 | </varlistentry>
|
---|
| 603 |
|
---|
[814e53c] | 604 | <varlistentry id="slapadd">
|
---|
| 605 | <term><command>slapadd</command></term>
|
---|
| 606 | <listitem>
|
---|
[b5e36dd] | 607 | <para>
|
---|
| 608 | is used to add entries specified in LDAP Directory Interchange
|
---|
| 609 | Format (LDIF) to an LDAP database.
|
---|
| 610 | </para>
|
---|
[814e53c] | 611 | <indexterm zone="openldap slapadd">
|
---|
| 612 | <primary sortas="b-slapadd">slapadd</primary>
|
---|
| 613 | </indexterm>
|
---|
| 614 | </listitem>
|
---|
| 615 | </varlistentry>
|
---|
| 616 |
|
---|
[c00932a] | 617 | <varlistentry id="slapauth">
|
---|
| 618 | <term><command>slapauth</command></term>
|
---|
| 619 | <listitem>
|
---|
[b5e36dd] | 620 | <para>
|
---|
| 621 | is used to check the behavior of the slapd
|
---|
| 622 | in mapping identities for authentication and
|
---|
| 623 | authorization purposes, as specified in slapd.conf.
|
---|
| 624 | </para>
|
---|
[c00932a] | 625 | <indexterm zone="openldap slapauth">
|
---|
| 626 | <primary sortas="b-slapauth">slapauth</primary>
|
---|
| 627 | </indexterm>
|
---|
| 628 | </listitem>
|
---|
| 629 | </varlistentry>
|
---|
| 630 |
|
---|
[814e53c] | 631 | <varlistentry id="slapcat">
|
---|
| 632 | <term><command>slapcat</command></term>
|
---|
| 633 | <listitem>
|
---|
[b5e36dd] | 634 | <para>
|
---|
| 635 | is used to generate an LDAP LDIF output based upon the
|
---|
| 636 | contents of a slapd database.
|
---|
| 637 | </para>
|
---|
[814e53c] | 638 | <indexterm zone="openldap slapcat">
|
---|
| 639 | <primary sortas="b-slapcat">slapcat</primary>
|
---|
| 640 | </indexterm>
|
---|
| 641 | </listitem>
|
---|
| 642 | </varlistentry>
|
---|
| 643 |
|
---|
| 644 | <varlistentry id="slapd">
|
---|
| 645 | <term><command>slapd</command></term>
|
---|
| 646 | <listitem>
|
---|
[b5e36dd] | 647 | <para>
|
---|
| 648 | is the standalone LDAP server.
|
---|
| 649 | </para>
|
---|
[814e53c] | 650 | <indexterm zone="openldap slapd">
|
---|
| 651 | <primary sortas="b-slapd">slapd</primary>
|
---|
| 652 | </indexterm>
|
---|
| 653 | </listitem>
|
---|
| 654 | </varlistentry>
|
---|
| 655 |
|
---|
| 656 | <varlistentry id="slapdn">
|
---|
| 657 | <term><command>slapdn</command></term>
|
---|
| 658 | <listitem>
|
---|
[b5e36dd] | 659 | <para>
|
---|
| 660 | checks a list of string-represented DNs based on schema syntax.
|
---|
| 661 | </para>
|
---|
[814e53c] | 662 | <indexterm zone="openldap slapdn">
|
---|
| 663 | <primary sortas="b-slapdn">slapdn</primary>
|
---|
| 664 | </indexterm>
|
---|
| 665 | </listitem>
|
---|
| 666 | </varlistentry>
|
---|
| 667 |
|
---|
| 668 | <varlistentry id="slapindex">
|
---|
| 669 | <term><command>slapindex</command></term>
|
---|
| 670 | <listitem>
|
---|
[b5e36dd] | 671 | <para>
|
---|
| 672 | is used to regenerate slapd indexes based upon the current
|
---|
| 673 | contents of a database.
|
---|
| 674 | </para>
|
---|
[814e53c] | 675 | <indexterm zone="openldap slapindex">
|
---|
| 676 | <primary sortas="b-slapindex">slapindex</primary>
|
---|
| 677 | </indexterm>
|
---|
| 678 | </listitem>
|
---|
| 679 | </varlistentry>
|
---|
| 680 |
|
---|
| 681 | <varlistentry id="slappasswd">
|
---|
| 682 | <term><command>slappasswd</command></term>
|
---|
| 683 | <listitem>
|
---|
[b5e36dd] | 684 | <para>
|
---|
| 685 | is an <application>OpenLDAP</application> password utility.
|
---|
| 686 | </para>
|
---|
[814e53c] | 687 | <indexterm zone="openldap slappasswd">
|
---|
| 688 | <primary sortas="b-slappasswd">slappasswd</primary>
|
---|
| 689 | </indexterm>
|
---|
| 690 | </listitem>
|
---|
| 691 | </varlistentry>
|
---|
| 692 |
|
---|
[c00932a] | 693 | <varlistentry id="slapschema">
|
---|
| 694 | <term><command>slapschema</command></term>
|
---|
| 695 | <listitem>
|
---|
[b5e36dd] | 696 | <para>
|
---|
| 697 | is used to check schema compliance of the contents
|
---|
| 698 | of a slapd database.
|
---|
| 699 | </para>
|
---|
[c00932a] | 700 | <indexterm zone="openldap slapschema">
|
---|
| 701 | <primary sortas="b-slapschema">slapschema</primary>
|
---|
| 702 | </indexterm>
|
---|
| 703 | </listitem>
|
---|
| 704 | </varlistentry>
|
---|
| 705 |
|
---|
[814e53c] | 706 | <varlistentry id="slaptest">
|
---|
| 707 | <term><command>slaptest</command></term>
|
---|
| 708 | <listitem>
|
---|
[b5e36dd] | 709 | <para>
|
---|
| 710 | checks the sanity of the <filename>slapd.conf</filename> file.
|
---|
| 711 | </para>
|
---|
[814e53c] | 712 | <indexterm zone="openldap slaptest">
|
---|
| 713 | <primary sortas="b-slaptest">slaptest</primary>
|
---|
| 714 | </indexterm>
|
---|
| 715 | </listitem>
|
---|
| 716 | </varlistentry>
|
---|
| 717 |
|
---|
| 718 | <varlistentry id="liblber">
|
---|
[c00932a] | 719 | <term><filename class='libraryfile'>liblber.so</filename></term>
|
---|
[814e53c] | 720 | <listitem>
|
---|
[b5e36dd] | 721 | <para>
|
---|
[1ef8da9] | 722 | is a set of Lightweight Basic Encoding Rules routines. These
|
---|
[b5e36dd] | 723 | routines are used by the LDAP library routines to encode and decode
|
---|
| 724 | LDAP protocol elements using the (slightly simplified) Basic
|
---|
| 725 | Encoding Rules defined by LDAP. They are not normally used directly
|
---|
| 726 | by an LDAP application program except in the handling of controls
|
---|
| 727 | and extended operations.
|
---|
| 728 | </para>
|
---|
[814e53c] | 729 | <indexterm zone="openldap liblber">
|
---|
[c00932a] | 730 | <primary sortas="c-liblber">liblber.so</primary>
|
---|
[814e53c] | 731 | </indexterm>
|
---|
| 732 | </listitem>
|
---|
| 733 | </varlistentry>
|
---|
| 734 |
|
---|
| 735 | <varlistentry id="libldap">
|
---|
[c00932a] | 736 | <term><filename class='libraryfile'>libldap.so</filename></term>
|
---|
[814e53c] | 737 | <listitem>
|
---|
[b5e36dd] | 738 | <para>
|
---|
| 739 | supports the LDAP programs and provide functionality for
|
---|
| 740 | other programs interacting with LDAP.
|
---|
| 741 | </para>
|
---|
[814e53c] | 742 | <indexterm zone="openldap libldap">
|
---|
[c00932a] | 743 | <primary sortas="c-libldap">libldap.so</primary>
|
---|
[814e53c] | 744 | </indexterm>
|
---|
| 745 | </listitem>
|
---|
| 746 | </varlistentry>
|
---|
| 747 |
|
---|
| 748 | <varlistentry id="libldap_r">
|
---|
[c00932a] | 749 | <term><filename class='libraryfile'>libldap_r.so</filename></term>
|
---|
[814e53c] | 750 | <listitem>
|
---|
[b5e36dd] | 751 | <para>
|
---|
| 752 | contains the functions required by the LDAP programs to
|
---|
| 753 | produce the results from LDAP requests.
|
---|
| 754 | </para>
|
---|
[814e53c] | 755 | <indexterm zone="openldap libldap_r">
|
---|
[c00932a] | 756 | <primary sortas="c-libldap_r">libldap_r.so</primary>
|
---|
[814e53c] | 757 | </indexterm>
|
---|
| 758 | </listitem>
|
---|
| 759 | </varlistentry>
|
---|
| 760 |
|
---|
| 761 | </variablelist>
|
---|
| 762 |
|
---|
| 763 | </sect2>
|
---|
[9905a3c] | 764 |
|
---|
| 765 | </sect1>
|
---|