LDAP Linux HOWTO

Luiz Ernesto Pinheiro Malère

v1.10, 2007-03-18

Revision History
Revision 1.102007/03/18 
Pointer to updated documentation
Revision 1.092004/03/05 
OpenLDAP 2.2 and general corrections.
Revision 1.082003/04/02 
SASL with DIGEST-MD5 authentication.
Revision 1.072002/09/16 
Typo correction.
Revision 1.062002/07/17 
Migration to DocBook XML standard, revision of the role document. Introducing OpenLDAP 2.1.
Revision 1.052001/06/22lepm
Correction of long lines that were causing inconsistences on the PDF version of the document.
Revision 1.042001/02/28lepm
Correction of more typos and update on the following sections: Roaming Access, Authentication using LDAP.
Revision 1.032000/09/28lepm
Presenting OpenLDAP 2.0, which comprises LDAPv3, as defined on RFC2251
Revision 1.022000/09/13lepm
Correction of typos and addition of the section History of Releases.
Revision 1.012000/02/15lepm
Added the following sections: LDAP Migration Tools, Authentication using LDAP, Graphical LDAP tools, RFCs.
Revision 1.001999/06/20lepm
Initial version.

Abstract

Information about installing, configuring, running and maintaining a LDAP (Lightweight Directory Access Protocol) Server on a Linux machine is presented on this document. The document also presents details about how to create LDAP databases, how to add, how to update and how to delete information on the directory. This paper is mostly based on the University of Michigan LDAP information pages and on the OpenLDAP Administrator's Guide.


Table of Contents

1. Introduction
1. What's LDAP ?
2. How does LDAP work ?
3. LDAP backends, objects and attributes
4. New versions of this document
5. Opinions and Sugestions
6. Acknowledgments
7. Copyright and Disclaimer
2. Installing the LDAP Server
1. Pre-Requirements
2. Downloading the Package
3. Unpacking the Software
4. Configuring the Software
5. Building the Server
3. Configuring the LDAP Server
1. Configuration File Format
2. Global Directives
3. General Backend Directives
4. General Database Directives
5. BDB Database Directives
6. LDBM Database Directives
7. Access Control Examples
8. Configuration File Example
4. Running the LDAP Server
1. Command Line Options
2. Starting the LDAP Server
3. Killing the LDAP Server
5. Database Creation and Maintenance
1. Creating a Database online
2. Creating a Database offline
3. More on the LDIF Format
4. The ldapsearch, ldapdelete and ldapmodify utilities
6. Additional Information and Features
1. LDAP Migration Tools
2. Authentication using LDAP
3. SASL Configuration: Digest-MD5
4. Graphical LDAP tools
5. Logs
7. References
1. URL's
2. Books
3. RFC's

List of Tables

3.1. Debugging Levels
3.2. Database Backends
4.1. Debugging Levels