Self-host LLDAP
v0.6.3Lightweight LDAP authentication server with web UI
- Stars
- 6 618
- Ports
- 3890 (LDAP), 6360 (LDAPS (LDAP over SSL)), 17170 (HTTP web front-end)
lldap/lldapWhat is LLDAP?
lldap is a lightweight LDAP implementation focused on authentication for self-hosted environments. It provides a simplified LDAP interface with a built-in web UI for user management, allowing users to edit their details and reset passwords via email. It stores data in SQLite by default with optional MySQL/MariaDB or PostgreSQL backends. The server exposes LDAP (port 3890), LDAPS (port 6360), and HTTP (port 17170) interfaces. It integrates with many services like Nextcloud, Keycloak, Authelia, and Authentik through LDAP. lldap is not a full LDAP server — it intentionally omits features like password hash exposure and LDAP browsing tools. It can be deployed via Docker, Podman, Kubernetes, TrueNAS, various Linux package managers, or compiled from source. The project is licensed under GPL-3.0 and developed by volunteers with a bus factor of 1.
LLDAP alternatives
phpLDAPadminphpLDAPadmin (PLA) is a self-hosted, open-source web app for browsing, searching, and modifying LDAP directory data — a user-friendly alternative to CLI LDAP tools.ComparephpLDAPadmin with LLDAP
LoStackLoStack is a self-hosted Docker and Traefik proxy manager automating service routing, SSO via Authelia, with a 100+ package depot for one-click installs.CompareLoStack with LLDAP
Pocket IDSelf-hosted, open-source OpenID Connect Certified provider for homelabs and small teams that find Keycloak or Authentik too heavy; passkey sign-in only.ComparePocket ID with LLDAP
osixia/openldapSelf-hosted OpenLDAP container for centralized authentication identity management with bootstrap setup backup utilities TLS encryption replication and upgrade automation.Compareosixia/openldap with LLDAP
autheliaSelf-hosted, open-source IAM portal providing single sign-on, multi-factor authentication and an OpenID Certified OpenID Connect provider for proxied apps.Compareauthelia with LLDAP
zitadelSelf-hosted open-source IAM stack: password, passkey and second-factor logins, external IdP brokering, OIDC/SAML tokens, on PostgreSQL with Docker or Kubernetes.Comparezitadel with LLDAP
KanidmSelf-hosted, open-source identity management server in Rust: passkey/WebAuthn login, OAuth2/OIDC SSO, an app portal, read-only LDAPS, RADIUS, SSH keys and Unix auth.CompareKanidm with LLDAP
LinOTPLinOTP is a self-hosted, open-source MFA server supporting OATH standards, LDAP/AD, and various tokens with web UI and REST API.CompareLinOTP with LLDAP
Should you self-host LLDAP?
LLDAP scores 66/100 on selfhost.directory (how scoring works) and ranks #9 of 40 in Authentication. It has 6 618 GitHub stars, +72 in the last 30 days.
It shipped 1 stable release in the past year. The latest, v0.6.3, came out on 30 April 2026.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Rust.
Its closest alternative on selfhost.directory is keycloak (86/100, 37 776 stars). It scores higher overall, so compare the two before you pick. See LLDAP vs keycloak side by side.
Features
- Bootstrap script for IaC
- Custom attributes
- GraphQL API
- Group management with memberOf
- LDAP Authentication
- LDAPS support
- Multiple Database Backends
- Password reset via email
- Role-based Access Control
- Terraform ProviderCommunity-maintained, not official
- Web-based user management UI
LLDAP README
LDAP made easy.
FAQ
Is lldap sustainable? Can we depend on it for our infrastructure?
LLDAP is hobbyist software with bus factor of 1 (only @nitnelave knows the full codebase). Not recommended for big organization infrastructure unless you can maintain it yourself.
Can I make a donation to fund development?
Yes, donate via buymeacoffee.com/nitnelave to support the maintainer. Donations are <100€/month and not enough for full-time development.
Does lldap provide commercial support contracts?
No, LLDAP is volunteer-developed free software on a best-effort basis. No official commercial support or endorsed third-party providers.
Does lldap support vhosts (multi-tenancy)?
No native multi-tenancy support. Users share the same base DN. Can run separate instances per domain since LLDAP is lightweight (~15 MiB RAM).
Migrating from SQLite
Follow the database migration documentation to migrate from SQLite to MySQL/MariaDB or PostgreSQL.
Discord Integration
Use the LLDAP-Discord bot to automate Discord role synchronization for paid memberships, allowing users to self-serve create LLDAP accounts via /register command.
I can't log in!
Check if the admin password in config is only used for initial creation, ensure /data folder is persistent, verify lldap_config.toml and users.db exist with correct permissions, restart the server.
More in Authentication
lmgateSelf-hosted gateway adding enterprise auth, rate limits, and model ACLs to Ollama, llama.cpp, and LM Studio via Docker Compose.
logtoSelf-hosted, open-source auth server for SaaS and AI apps: OIDC, OAuth 2.1 and SAML with passwordless, social login, MFA, RBAC and multi-tenant organizations.
LoStackLoStack is a self-hosted Docker and Traefik proxy manager automating service routing, SSO via Authelia, with a 100+ package depot for one-click installs.
melody-authOpen-source OAuth auth server for Cloudflare Workers or self-hosted Node.js with Redis/PostgreSQL. Features MFA, social login, SAML SSO, RBAC, and web admin panel.
Mozilla Accounts (FxA)Monorepo for Mozilla Accounts (formerly Firefox Accounts)
my-self-hosting-servicesSelf-hosted Docker homelab with Authentik SSO, Traefik automated SSL, Cloudflare DNS automation, and Portainer. Includes n8n, OpenClaw AI, and microservices.
nforwardauthnforwardauth is a self-hosted, open-source forward auth service for Traefik, Caddy, and nginx that protects apps behind a single login using username/password credentials
nginx-ldap-authSelf-hosted reference for adding LDAP auth to NGINX via auth_request module, with Python daemon and sample config.
nhostOpen-source Firebase alternative and Backend-as-a-Service: Postgres, Hasura GraphQL APIs, auth, file storage and serverless functions, self-hosted with Docker Compose.
OIDC AuthSelf-hosted Home Assistant integration adding OpenID Connect single sign-on via providers like Authentik, Authelia, Keycloak, or Pocket ID. Installed via HACS.
openamSelf-hosted open-source access management: SSO, SAML, OAuth 2.0 and OIDC federation, adaptive authentication, centralized policy; ships as a Docker image or WAR.
Open GENAIOpen GENAI is a self-hosted, open-source fork of Japan's Digital Agency GenAI replacing cloud services with local alternatives for air-gapped operation.

0 comments