Check the Debian Wiki first!

Before reading this page you should try looking at the LDAP Pages on the Debian Wiki because it is updated more frequently, and by more contributors.


Lightweight Directory Access Protocol

As the name suggests LDAP is a protocol not a database. LDAP uses a backend database which is optimized for reads (such as the SleepyCat Berkeley DB Database) to hold the tree it presents. The distinction is generally not that important and this document may refer to LDAP as if it were the database and protocol both.

English LDAP Documentation



Server Setup

OpenLDAPSetup The OpenLDAP LDAP server
PowerDNSLdap DNS Server with LDAP Backend

Populating the Server(s)

LDAPMigrationTools Useful for a fresh install as well as migrating an existing server.
LDAPMigrationExamples Example LDAP entries that may be created by migrationtools. Useful to see what the tools do, as well as providing insight into what is necessary to populate the server by hand rather than using migrationtools.

LDAP Management


LDAP Entry Formats

LDAPFormatInternalVertices For nodes that exist only to host a subtree (i.e. they have no data of their own)
LDAPFormatAliases /etc/aliases in LDAP
LDAPFormatFstab /etc/fstab in LDAP
LDAPFormatPowerDNS LDAP entry format for PowerDNS LDAP backend
LDAPFormatNisMap NIS Map in LDAP


LdapDn On Distinguished Names

En Francaise


Previous:Top: LDAPNext: LDAPOverview

© 2005 Daniel Dickinson <>

This document is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should be able to view a copy of the GNU General Public License at If not, you can write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA to obtain a copy.