Directory

SYNRC LDAP is a high-performant IETF 2849 3296 3671-3673 3866 4510-4518 4522 4525 4526 4929 5480 compliant LDAP directory server with SQLITE backend in 300 LOC of Elixir.

Intro

SYNRC LDAP is designed for extreme performance and simplicity. At just 300 lines of Elixir code, it provides a full-featured LDAPv3 server capable of handling large-scale directory services with various backends. The server leverages Erlang/OTP for concurrency and reliability, making it robust for mission-critical applications.

Key Capabilities

Backends

  • SQLITE (Exqlite)
  • LMDB, MONGODB
  • ROCKSDB NVME

Compliance

  • IETF LDAPv3
  • RFC 4510—4518
  • RFC 5480, 4929

Protocol

  • ASN.1 (Erlang certified)
  • Simple Bind, Search
  • Add, Delete, Modify

Performance

  • 300 Lines of Elixir
  • Optimized for NVME
  • High Throughput

Services & Protocols

MESIA Architecture

MESIA is the high-performance storage engine architecture used in SYNRC LDAP, designed for efficient prefix-searchable data access.
Directory Table — Prefix-searchable DN paths with MD5 hashing for rapid lookups.
Attributes Table — Selectable attribute information per RDN with optimized sub-indexing.
Subschema Subentry — Integration with ou=schema for persistent metadata.
Unlike traditional monolithic LDAP databases, MESIA provides a distributed framework where attributes are stored efficiently across various backends like RocksDB, ensuring minimal overhead and maximum scalability for NVME storage.

Development History

Open Source