Chapter 2. Installation and Configuration

In this chapter we will walk through the process of installing and configuring the OpenLDAP suite of tools. Here we will only cover basic configuration of the SLAPD server. This will serve as a base for subsequent chapters (particularly Chapters 4 to 7), where we will explore advanced configuration options. The specific topics that we will cover include:

  • Installing binary OpenLDAP packages
  • Configuring the LDAP server with the slapd.conf file
  • Verifying the slapd.conf configuration with slaptest
  • Starting and stopping the server
  • Configuring client tools with the ldap.conf file
  • Fetching the root DSE entry from the directory with ldapsearch

Before Getting Started

OpenLDAP is maintained by the OpenLDAP Foundation. The ...

Get Mastering OpenLDAP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.