selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

directory-server logo

Self-host directory-server

2.0.0.AM27

LDAPv3 directory server with Kerberos and replication

AlphaOpen SourceApache-2.0
Updated3 years ago
LanguageJava
Setup difficultyAdvanced
Stars
188
Port
10389 (LDAP)
Requires
Java Runtime (JDK 11 or 17)

What is directory-server?

Apache Directory Server (ApacheDS) is an extensible, embeddable directory server written in Java. The Open Group has certified it as LDAPv3 compatible. Beyond standard LDAP, it includes a built-in Kerberos 5 server providing KDC, TGS, and AS roles, supports the Change Password Protocol, and extends the LDAP model with additional constructs. Key capabilities include multi-master replication via RFC 4533, password policy enforcement per the LDAP Password Policy draft, LDIF-based configuration stored in the DIT, and X.500-style access control using subentries. The server runs on Linux, macOS, and Windows with native installers (.deb, .rpm, .bin, .exe, .zip, .tar.gz) and can also be embedded directly into Java applications. The current release is 2.0.0.AM27 (a milestone toward 2.0 GA), which supports Java 11 and 17, TLS 1.3, and SASL mechanisms including GSSAPI for Kerberos integration. Note: the project documents that it is not yet considered production ready due to known data corruption issues; a repair command exists as a workaround.

Should you self-host directory-server?

directory-server scores 46/100 on selfhost.directory (how scoring works) and ranks #26 of 40 in Authentication. It has 188 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is Apache-2.0-licensed and written mostly in Java.

Its closest alternative on selfhost.directory is keycloak (86/100, 37 568 stars). It scores higher overall, so compare the two before you pick. See directory-server vs keycloak side by side.

Features

  • Backup and Restore
  • Change Password Protocol
  • DHCP Server
  • DNS Server
  • Embeddable in Java Applications
  • Kerberos 5 Server
  • LDAPv3 Compliance
  • LDIF-Based Configuration
  • Multi-master replication
  • Password policy
  • SASL Authentication
  • TLS 1.3 Support
  • Triggers and Stored Procedures
  • X.500 Access Control

directory-server README

More in Identity & Auth

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…