This portal tries to centralize Debian LDAP documentation.
LDAP stands for Lightweight Directory Access Protocol and is a protocol for querying a directory (database). However, the term is often used to refer to LDAP as if it were the database and protocol both.
An LDAP database stores information on objects in a hierarchical manner. Objects have attributes that contain the information that is stored about the object. Objects also have classes that define which attributes must and may be stored on the object. Objects in an LDAP database are distinguished by their Distinguished Name (DN) which indicates their place in the hierarchical tree.
For more general information about LDAP see Ldap. These pages try to explain what use of LDAP can be made on a Debian system.
Contents
Server Setup
Different parts of the system can be configured to use LDAP to different degrees. Most parts are independant so it's not required to use LDAP for all parts. You generally need an LDAP server somewhere that serves information and configured services to use that information.
LDAP/OpenLDAPSetup - Instructions for installing and configuring the OpenLDAP server
Management Tools
LDAP/LDAPUtils - Instructions for querying and modifying the LDAP database
ldapscripts - Scripts for managing posix accounts for ldap (such as ldapadduser) , some notes at : ldapscripts
luma - QT-based LDAP client
phpldapadmin - web based interface for administering LDAP servers
cpu - a console based LDAP user management tool
ldapvi - perform an LDAP search and update results using a text editor
Populating the Server(s)
LDAP/MigrationTools - Migrate Authentication and Name Services (NSS) to LDAP
- Formats for various LDAP entries:
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
LDAP/PowerDNSSetup/Format: PowerDNS entry format.
Using LDAP
Debian-LAN implements most of the features listed below. Take a look there for examples.
NSS and PAM Client Setup
DNS from LDAP
LDAP/PowerDNSSetup - How to set up a DNS Server that uses an LDAP Backend
AutoFS Setup
LDAP/AutoFSSetup - How to get automounter maps from LDAP
LDAP + Kerberos Setup
LDAP/Kerberos - How to use Kerberos for authentication and LDAP for authorization + account data
SAMBA Setup
External links
There are a lot of resources available on running, using and configuring LDAP servers and services. Note that the list is not ordered and some parts are likely out of date.
WLUG WIKI LDAP Authentication page
http://www.wlug.org.nz/LDAPAuthenticationDebian GNU: Setting up OpenLDAP
http://techpubs.spinlocksolutions.com/dklar/ldap.htmlLDAP for the Lazy Sysadmin
http://wiki.ucc.asn.au/LDAP/LazySysadminUsing OpenLDAP on Debian Woody to serve Linux and Samba Users
http://homex.subnet.at/~max/ldap/Samba & LDAP on Debian made simple! (last updated August 2003)
http://mawi.org/sambaldap/Samba_and_LDAP_on_Debian.htmlMisc LDAP docs (last updated January 2003)
http://cmeerw.org/notes/ldap.htmlA Lazy Directory Administrator's Pal
http://www.paldap.org/LDAPv3-Howto (last updated January 2005)
http://www.bayour.com/LDAPv3-HOWTO.html
covers LDAP, Kerberos, TLS/SSL, everything with Debian-related pointersLDAP Schema Viewer
http://ldap.akbkhome.com/
Explanations about many possible LDAP entriesExploring LDAP
Part 1: http://www.linux-mag.com/2002-01/guru_01.html
Part 2: http://www.linux-mag.com/2002-02/guru_01.html
Part 3: http://www.linux-mag.com/2002-03/guru_01.html
Excellent Articles from a leading Linux/Unix-author.PADL Software Pty Ltd
http://www.padl.com
a company creating GPL'd PAM-LDAP/NSS-LDAP softwarenss-pam-ldapd: NSS and PAM modules for lookups using LDAP
http://arthurdejong.org/nss-pam-ldapd/LDAP Linux Howto
http://www.linuxselfhelp.com/HOWTO/LDAP-HOWTO.htmlOpenLDAP with Linux and Windows
http://www.linuxjournal.com/article.php?sid=5689Shell Script for addusers to ldap database
http://www.gnu.org/directory/devel/shell/diradm.htmlActive Directory integration using LDAP Samba, kerberos, winbind, pam, nss
http://sadms.sourceforge.net/LDAP Schema Design
http://www.skills-1st.co.uk/papers/ldap-schema-design-feb-2005/ldap-schema-design-feb-2005.htmlActive-Active LDAP cluster
Part 2:http://ral-arturo.blogspot.com/2011/10/diario-de-despliegue-cluster-ha-ldap_29.html
Part 3:http://ral-arturo.blogspot.com/2011/11/diario-de-despliegue-cluster-ha-ldap.html
Part 4:http://ral-arturo.blogspot.com/2011/11/diario-de-despliegue-de-cluster-ldap.html
In spanish. Load balancing a specific LDAP cluster deployment over Debian Squeeze. Part 1 isn't technical.