Community developed LDAP software
open sourceOLDAP-2.8self-hostablefree
OpenLDAP is the open source implementation of the Lightweight Directory Access Protocol: slapd, a standalone LDAPv3 directory server, lloadd, an LDAP load balancer, the client libraries (libldap) and command-line tools such as ldapsearch and ldapmodify. slapd stores entries in the MDB backend on LMDB, a memory-mapped transactional database from the same project, and supports SASL and TLS authentication, fine-grained access control, multi-provider and LDAP Sync replication, caching proxies, overlays and modules written against its C API, and configuration through LDAP itself (cn=config). It's a general-purpose directory rather than a full identity platform: user portals, single sign-on and Kerberos come from other software, such as FreeIPA, which bundles a directory with them, or LLDAP and Kanidm for simpler setups. The OpenLDAP Foundation has run the project since 1998, releases it as source only under the OpenLDAP Public License, and Symas funds and hosts its website.
Ways to install
Package managers
Problems it solves
- run our own LDAP directory server for users, groups and hosts on Linux
- a central user directory that our mail server, VPN and web apps can all authenticate against
- replicate our directory between data centres so logins keep working if one site goes down
- a directory server that handles millions of entries with fast reads
- load balance LDAP queries across several directory servers
- change the directory server's configuration at runtime without restarting it
- store POSIX accounts and groups in LDAP so Linux machines share the same logins
- an LDAP proxy that caches search results from a slow upstream directory
- replace an old Sun or Novell directory server with an open source one
- authenticate LDAP binds with Kerberos through SASL GSSAPI
- an embeddable C library and command-line tools for querying LDAP servers
- enforce password policies such as lockout and expiry on directory accounts
Features
- slapd: standalone LDAPv3 directory server over IPv4, IPv6 and Unix sockets
- lloadd: LDAPv3 load balancer, run standalone or as a slapd module
- MDB backend on LMDB, a hierarchical high-performance transactional database
- single-provider, multi-provider and LDAP Sync (syncrepl) replication
- SASL authentication through Cyrus SASL (DIGEST-MD5, EXTERNAL, GSSAPI)
- TLS through OpenSSL or GnuTLS
- access control on entries, static or dynamic
- serves several databases at once, with the same or different backends
- modules and overlays written against a C API
- caching LDAP proxy service
View 4 more
- dynamic configuration through LDAP itself (cn=config)
- Unicode and language tags
- LDAP client libraries and tools: ldapsearch, ldapmodify, ldapadd and others
- LTS release line alongside feature releases
Limitations
- No official binary packages: the project distributes OpenLDAP as source only, and third parties such as Linux distributions package it23
- No SQL database backend since 2.7: back-sql and back-perl were retired, so entries live in the LMDB-based MDB backend45
- No commercial support from the project itself: it's supported by its users on mailing lists, and third-party firms sell support6
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what OpenLDAP does.
- 389 Directory Server The enterprise-class Open Source LDAP server for Linux
- FreeIPA Integrated security information management solution
- LLDAP Light LDAP implementation for authentication
- Samba The standard Windows interoperability suite of programs for Linux and Unix
- Kanidm A simple, secure, and fast identity management platform
- Microsoft Active Directory Domain Services A directory service that makes network resource data available to authorized network users and administrators
