The enterprise-class Open Source LDAP server for Linux
open sourceGPL-3.0-or-laterself-hostablefree
389 Directory Server is an open source LDAPv3 directory server for Linux from a project run by Red Hat: its site is copyright Red Hat, and it tells users that the Red Hat Directory Server documentation applies to 389 DS as well. It stores identities, groups and organization data, with asynchronous multi-supplier replication (including fractional replication), fine-grained access control stored in entries, password policy and account lockout, attribute encryption, chaining, roles and class of service, a C plug-in interface and synchronization of users, groups and passwords with Active Directory. Schema, access control and configuration changes, imports, backups and restores happen over LDAP while the server runs, from the dscreate, dsctl, dsconf and dsidm tools (built on the lib389 Python library) or a Cockpit web console plugin. It's written mainly in C, with Python tooling, under GPL-3.0-or-later with an OpenSSL linking exception, uses Berkeley DB by default with LMDB as an option, and ships in Fedora, CentOS Stream and EL AppStream, openSUSE and as a container image.
Problems it solves
- run our own LDAP directory for user accounts and groups on Linux servers
- an LDAP directory that accepts writes on two or more servers in different data centres
- replicate only some attributes to a directory replica in a less trusted network
- keep users, groups and passwords in sync between our Linux LDAP directory and Windows Active Directory
- change the directory schema, access rules and configuration without restarting the server
- different password policies and lockout rules for different parts of our LDAP tree
- encrypt sensitive attributes such as ID numbers on disk in our directory
- manage our LDAP server from a web console instead of hand-writing LDIF
- script creating directory instances, users and groups from the command line
- point SSSD on our Linux machines at the directory and allow logins only for one group
- back up and restore our LDAP database without long downtime
- show each user's groups as a memberOf attribute so applications can read them
- run an LDAP directory server in a container on OpenShift or Kubernetes
- write a server plug-in in C to change how our directory handles operations
- move our LDAP database from Berkeley DB to LMDB
- an open source directory server that handles hundreds of thousands of accounts and thousands of operations per second
- present several LDAP servers as one directory tree with chaining and referrals
- limit how many resources one application's bind DN can use for searches
Features
- LDAPv3 server with TLS, startTLS and SASL authentication, including Kerberos credentials
- asynchronous multi-supplier replication with automatic conflict resolution
- fractional replication of selected attributes
- Windows Synchronization of users, groups and passwords with Active Directory, with a PassSync service for Windows
- online, zero-downtime schema, configuration and ACI updates over LDAP
- access control instructions stored in entries, with macros and Get Effective Rights
- password policy and account lockout at server, subtree or user level
- account inactivation
- attribute encryption on disk
- import, export, backup and restore as tasks over LDAP
View 9 more
- chaining and referrals across servers
- roles and class of service
- server-side sorting and virtual list views
- C/C++ plug-in interface, with plugins such as memberOf
- Berkeley DB backend, with LMDB as an option
- dscreate, dsctl, dsconf and dsidm command-line tools, built on the lib389 Python library
- Cockpit web console plugin (cockpit-389-ds)
- container images at quay.io/389ds/dirsrv (Fedora and CentOS Stream 9 based)
- packages for Fedora, CentOS Stream and EL8/EL9, and openSUSE
Limitations
- Doesn't run on Windows or macOS: it's an LDAP server for Linux, and the Windows downloads are only the password sync service and the console12
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 389 Directory Server does.
- OpenLDAP Community developed LDAP software
- FreeIPA Integrated security information management solution
- LLDAP Light LDAP implementation for authentication
- Samba The standard Windows interoperability suite of programs for Linux and Unix
- Microsoft Active Directory Domain Services A directory service that makes network resource data available to authorized network users and administrators
- Kanidm A simple, secure, and fast identity management platform