# 389 Directory Server

> The enterprise-class Open Source LDAP server for Linux

Source: https://talira.ai/catalog/389-directory-server-bbbkd2zd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool, Web app
- Categories: [security / auth / directory services](https://talira.ai/categories/security/auth/directory-services)
- Platforms: linux, docker, kubernetes, web, cli[^1][^2][^5]
- Licence: GPL-3.0-or-later[^1][^3]
- Pricing: Free and open source[^1][^3]
- Pricing notes: Free under GPL-3.0-or-later (documentation under CC BY-SA 4.0). Red Hat sells Red Hat Directory Server, an LDAP directory server, with a subscription; the 389 project points to its documentation.
- Free tier: yes[^1][^3]
- Self-hostable: yes[^2]
- Plugins: yes[^4]
- Backed by: [Red Hat](https://talira.ai/orgs/red-hat.md)
- Funding: acquired by IBM (2019)[^6]

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](https://talira.ai/catalog/cockpit-qnw874pr.md) web console plugin. It's written mainly in C, with Python tooling, under GPL-3.0-or-later with an [OpenSSL](https://talira.ai/catalog/openssl-fxkppzee.md) 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.

## Links

- Website: https://www.port389.org/
- GitHub: https://github.com/389ds/389-ds-base
- Docs: https://www.port389.org/docs/389ds/documentation.html

## 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
- 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 console[^1][^2]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.48 out of 1.
Signals: backing 0.55, extensibility 0.40.

- backed by Red Hat
- funding: acquired by IBM (2019)
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [OpenLDAP](https://talira.ai/catalog/openldap-nn0rt7rs.md): Community developed LDAP software
- [FreeIPA](https://talira.ai/catalog/freeipa-9868f9g3.md): Integrated security information management solution
- [LLDAP](https://talira.ai/catalog/lldap-19r6hwmw.md): Light LDAP implementation for authentication
- [Samba](https://talira.ai/catalog/samba-2v309awc.md): The standard Windows interoperability suite of programs for Linux and Unix
- [Microsoft Active Directory Domain Services](https://talira.ai/catalog/microsoft-active-directory-domain-services-8szx5zeq.md): A directory service that makes network resource data available to authorized network users and administrators
- [Kanidm](https://talira.ai/catalog/kanidm-9ddvvv3g.md): A simple, secure, and fast identity management platform

## Sources

[^1]: https://www.port389.org/ (checked 20 Nov 2026)
[^2]: https://www.port389.org/docs/389ds/download.html (checked 20 Nov 2026)
[^3]: https://github.com/389ds/389-ds-base/blob/main/LICENSE (checked 20 Nov 2026)
[^4]: https://www.port389.org/docs/389ds/FAQ/features.html (checked 20 Nov 2026)
[^5]: https://www.port389.org/docs/389ds/howto/howto-deploy-389ds-on-openshift.html (checked 20 Nov 2026)
[^6]: https://www.redhat.com/en/about/press-releases/ibm-closes-landmark-acquisition-red-hat-34-billion-defines-open-hybrid-cloud-future (checked 20 Nov 2026)
