FreeIPA vs Kanidm vs LLDAP

FreeIPA suits Linux estates that need Kerberos, a certificate authority and AD trusts. Kanidm suits a single modern identity server with OIDC and Unix login. LLDAP suits applications that only need an LDAP user store.

On this page

Which of the three fits your identity situation

FreeIPA fits a Linux estate that needs Kerberos single sign-on, an integrated certificate authority and a cross-forest trust with Active Directory, all managed from one place. Kanidm fits a team that wants a single modern identity server with OAuth2 and OIDC, passkeys and Unix login, and is comfortable administering it from the command line. LLDAP fits applications that only need a small LDAP user store with a web interface for managing users and groups. If your requirement list includes Kerberos, host-based policy or an internal CA, FreeIPA is the only one of the three that covers it. Kanidm and LLDAP do not replace those pieces.

The main trade-off for FreeIPA is operational weight. It bundles 389 Directory Server, MIT Kerberos, Dogtag and optional DNS and NTP, and its deployment recommendations call for several replicas per datacenter, dedicated servers and careful backup handling, so plan for a team that can run that topology. Kanidm trades breadth for simplicity: its own database and replication remove the need for an external SQL server, but its README says administration is offered primarily through the CLI, and SAML is not among its listed features. Confirm that your applications accept OIDC or LDAP before committing to it.

The main trade-off for LLDAP is maintenance risk. Its FAQ describes it as volunteer-developed on a best-effort basis with a bus factor of one, offers no commercial support, and says it is not recommended for a large organization unless you are ready to audit and maintain the code. It also has no native multi-tenancy, and its FAQ suggests one instance per virtual host. Ask yourself whether you will outgrow it when you need OAuth, Kerberos or policy features, because LLDAP's own README points those needs to companion components such as Keycloak or Authelia.

Which platform fits which scenario

This table maps common identity needs to the platform that fits each one best, with the reason and the condition that would change the answer. Read each row against your own estate: the scenario column describes what you must support, and the last column tells you what would move the recommendation.

ScenarioBest fitWhyWhen the answer changes
Kerberos single sign-on on LinuxFreeIPAFreeIPA bundles an MIT Kerberos KDC with its 389 Directory Server LDAP directory and Dogtag CA, so Linux hosts and services sign on through one integrated stack.Kanidm does not list Kerberos among its features, so if Kerberos is a hard requirement, FreeIPA is the only one of the three that covers it.
AD user access to Linux resourcesFreeIPAFreeIPA can establish a cross-forest trust with an Active Directory domain on Windows Server 2008 R2 or later, so AD users reach Linux resources without duplicating accounts.The IPA DNS domain must not overlap any AD forest domain. If you only need AD logins on a few hosts, confirm whether direct SSSD integration is simpler for your estate.
Central OIDC provider for web appsKanidmKanidm includes an OAuth2/OIDC provider with token exchange, an application portal and a self-service web UI, so it can serve as the single identity source for modern apps.If you need SAML for legacy SaaS, Kanidm is a poor fit: SAML is not in its feature list and the maintainers position it as a last resort. Keycloak or authentik would be the alternatives to evaluate.
Unix login with offline TPM-protected authKanidmThe Kanidm README lists Linux and Unix integration with TPM-protected offline authentication, along with SSH key distribution, which FreeIPA and LLDAP do not present in this form.Confirm TPM availability on your hardware and whether your fleet's Unix clients match the supported integration. Sudo and host-based access policy are not Kanidm's stated focus; check them against FreeIPA's sudo and HBAC rules.
Bare LDAP store behind existing appsLLDAPLLDAP is a lightweight LDAP-facing directory with a web UI for managing users and groups, and its FAQ reports it runs in under 10 MB of RAM including the database.Its LDAP interface is read-only on the Kanidm side and LLDAP is not a full LDAP server, so if apps need full LDAP write semantics, OpenLDAP or FreeIPA should be checked instead.
Multi-tenant needsNeither fits wellLLDAP does not natively support virtual hosts or multi-tenancy: all users sit under one base DN, and the FAQ suggests one instance per virtual host. FreeIPA and Kanidm are built around a single domain or server.If several customers or business units must each manage their own users, evaluate a platform built for organizations within one instance, such as Zitadel, and confirm its licensing fit separately.
Team with no directory skillsLLDAP or Kanidm, with cautionLLDAP has the smallest surface to learn. Kanidm's README says administration is primarily through its CLI, so expect command-line work even though the web UI handles user tasks.LLDAP offers no commercial support and is volunteer-developed with a bus factor of one. A team that needs vendor-backed support should weigh FreeIPA, which is also community-run, or plan a retainer for operations.

What FreeIPA, Kanidm and LLDAP are each built to do

FreeIPA is an integrated suite, not a single directory. It combines 389 Directory Server for users, groups, hosts and policies, an MIT Kerberos KDC for single sign-on, and the Dogtag certificate authority for issuing certificates. Clients run SSSD, and DNS and NTP are optional components that the suite can also provide. Its scope is Linux and UNIX identity, host-based policy and Kerberos-dependent services, which is why it also offers a cross-forest trust with Active Directory. What it leaves out is a modern web-based sign-on layer: its OTP and Kerberos model is built for Linux logins and internal services, so OIDC-first application sign-on is not its core job. If your estate depends on Kerberos or internal certificates, plan for FreeIPA's replication and backup model from the start, including the FreeIPA About page for component scope.

Kanidm is a single identity server rather than a bundle. The project describes it as a complete identity provider, so the README states that no other component such as Keycloak is needed alongside it. It stores data in its own database and runs its own eventually consistent replication instead of depending on an external SQL database. Its feature set covers passkeys, an OAuth2/OIDC provider, Linux and UNIX login with TPM-protected offline authentication, SSH key distribution, RADIUS and a read-only LDAPS gateway for legacy systems. What it leaves out matters as much: SAML is not among its listed features, and administration is designed around the CLI rather than the web UI. Confirm that your applications can use OAuth2/OIDC and that your legacy systems can work with a read-only LDAP view before you commit.

LLDAP is a deliberately small authentication server. It provides an opinionated, simplified LDAP interface, with a web front end where administrators manage users and groups and users can edit their own details or reset passwords by email. It is meant to be the user store behind applications that only need LDAP logins. It does not try to be a full directory: its README says the goal is not to provide a full LDAP server and points users who need one to OpenLDAP. For OAuth, OpenID or reverse proxy features, it suggests pairing it with components such as Keycloak or Authelia that treat LLDAP as the source of truth. Ask whether your applications need write access through LDAP, Kerberos or per-host policy, since those needs push you toward FreeIPA or a different design.

Scope, LDAP write support, footprint, support and maintenance risk compared

This table sets FreeIPA, Kanidm and LLDAP side by side on license, Kerberos and certificate authority, AD trust, protocols, LDAP write behavior, data store, tenancy and support. Read each row against the scope of the application you need to log in. Where a capability is not in the supplied documentation for a platform, the cell says to confirm it with the vendor before you rely on it.

CapabilityFreeIPAKanidmLLDAP
LicenseGPL-3.0-or-later, community project with no paid edition of its ownMPL-2.0GPL-3.0, free software
Kerberos and certificate authorityIncludes an MIT Kerberos KDC and a Dogtag certificate authorityKerberos not listed in its README; confirm before planning Kerberos clientsNot in its documented scope; LLDAP is an LDAP directory only
Active Directory trustCross-forest trust with AD via Samba components; IPA DNS domain must not overlap AD forest domainsNot listed in supplied material; confirm with Kanidm before relying on itNot listed; confirm with the LLDAP project if AD users must sign in
OIDC, OAuth2 and SAMLOIDC and SAML support not in supplied material; confirm for your target applicationsOAuth2/OIDC provider with token exchange; SAML is not listed and an open request remainsNo native OIDC provider; the README pairs it with Keycloak or Authelia for OAuth
RADIUS and SSH keysOTP checks can be proxied to an existing RADIUS server; confirm SSH key distributionRADIUS and SSH key distribution both listed in its READMENot listed; confirm if network or SSH logins need it
LDAP write supportFull LDAPv3 directory on 389 Directory Server with multi-master replicationRead-only LDAPS gateway for legacy systems; writes go through Kanidm's own interfacesSimplified, opinionated LDAP interface; confirm which client write operations it supports
Database and footprint389 Directory Server store; plan at least two to three replicas per datacenterOwn key-value store on durable SQL storage; no external database; two-node HASQLite by default, MySQL/MariaDB or PostgreSQL optional; under 10 MB RAM per its FAQ
Multi-tenancyConfirm with the FreeIPA project for multi-tenant designsConfirm with the Kanidm project for multi-tenant designsNot supported; all users sit under one base DN, so run one instance per virtual host
Commercial support and latest releaseNo vendor-backed build of its own; latest tag release-4-13-4 (4.13.4 dated July 9, 2026)Confirm vendor support terms; latest release v1.11.2 on September 11, 2026No commercial support; volunteer-developed; latest release v0.6.3 on April 30, 2026

License and edition terms for each platform

FreeIPA is licensed under GPL-3.0-or-later, and the project is a community effort with no paid edition of its own. Nothing in the license or the project's own materials sells you a commercial tier, so the license fee is zero and the cost sits in people, hosting and any support contract you choose to buy. The same codebase is packaged in Fedora, Debian and CentOS, and Red Hat ships it in Red Hat Enterprise Linux as Identity Management, which is where a vendor-backed support path exists.

  • No paid edition: FreeIPA itself has no Enterprise tier, so there is no feature gate to price separately.
  • Vendor support through RHEL: Identity Management on Red Hat Enterprise Linux is the supported build. Its support scope is tied to RHEL subscriptions, so confirm what applies to your distribution.
  • Distribution packages: Fedora, Debian and CentOS packages are maintained by their own communities. Ask your distributor or a partner what support, if any, covers the package you run.
  • Partner support: Third parties may offer implementation or support for community builds. Confirm scope, response commitments and which versions they cover in writing.
  • GPL obligations: Modifications you distribute to others carry GPL source obligations. Internal use alone does not trigger them, so have counsel confirm your case.

Confirm with your distributor or Red Hat which FreeIPA version and support window applies to your platform before you sign anything.

How the architectures differ in practice

The three directories make very different bets on how they stay available and how their data survives failure. FreeIPA uses multi-master replication across its 389 Directory Server topology, so any replica can accept writes. Its deployment recommendations advise at least two to three replicas in each datacenter, no more than four replication agreements per replica, and at least one replica per datacenter running PKI or DNS if you use those services. Plan the topology before the first install, because changing it later is work. The backup documentation adds a hard rule: restoring an outdated backup into an active replica topology can break replication, so restore tests should be run against an isolated copy, and you should confirm which server handles certificate renewal and CRL publication in your build, since the first server does so by default.

Kanidm takes a narrower path. It does not use SQL. It stores data in its own key-value engine with its own indexing and an eventually consistent replication layer, so there is no external database to size or back up separately. The README describes two-node high availability through replication, which is the scope to plan around. TLS for all connections is mandatory rather than an optional feature, so certificate issuance and trust distribution belong in the first week of any deployment, not the last. Ask the maintainers or your own tests whether two nodes meet your recovery targets before treating that setup as a full disaster recovery design.

LLDAP is the simplest of the three. It runs as a single small container and stores data in SQLite by default. The LLDAP FAQ says it runs in under 10 MB of RAM including the database, which keeps the footprint small, but SQLite is a single-file store that suits a lab or small estate. LLDAP documents a migration to MySQL, MariaDB or PostgreSQL, and that move should be rehearsed before production. LLDAP also has no native virtual hosts or multi-tenancy: all users sit under one base DN, and the FAQ suggests one instance per virtual host. If you host several customers or business units, count instances, databases and backups as separate units from the start.

What drives the running cost of each directory

Running cost for these three directories comes from different places: how many people must operate FreeIPA's services, how often Kanidm forces upgrades, and how much a volunteer-maintained LLDAP leaves to your own team. The cards below separate one-time work from recurring work so you can ask each vendor or partner for a quote that covers both.

FreeIPA replicas, DNS, PKI and backups

FreeIPA is several services in one stack: 389 Directory Server replicas, a Kerberos KDC, a Dogtag CA, and optionally DNS and NTP. The deployment recommendations advise two to three replicas per datacenter, no more than four replication agreements per replica, and dedicated servers. Your on-call team needs skills in all of these, and backup and restore discipline matters: the backup documentation warns that restoring an outdated backup into an active replica topology can break replication. Ask who will staff these services and who pays for that time.

Kanidm forced upgrade path

Kanidm supports upgrades only from the previous minor version, so skipping a release means a staged move through each one. Stable releases receive support for 4 months, and releases arrive quarterly on February 1, May 1, August 1 and November 1. Recurring cost therefore comes from scheduled upgrade windows and testing, not from a support contract. Before adopting Kanidm, confirm whether your change process can absorb a quarterly cycle and whether a retainer for upgrades is in scope.

LLDAP volunteer maintenance risk

LLDAP is volunteer-developed on a best-effort basis, and its FAQ describes the project as having a bus factor of one. It offers no commercial support and says it is not recommended for a big organization unless you are prepared to audit and maintain the code. The main recurring cost is therefore your own security review, patching and any fork or code audit you decide to fund. Ask whether your team can own that work before choosing LLDAP as a source of truth for many applications.

Audit burden in large estates

If a regulated organization deploys LLDAP at scale, auditors will ask who reviews changes, who issues fixes and how upgrades are tested. Those answers must come from your own change records and any third-party review you commission, since DeployOpen prepares evidence but does not issue audit reports. The cost recurs with each assessment cycle. Confirm with your assessor which evidence they expect for an open-source directory before committing to the platform.

One-time migration between platforms

Moving between these directories is a one-time project with its own cost. FreeIPA can migrate users and groups from other LDAP servers with ipa migrate-ds, but sudo and HBAC rules need manual LDIF migration. Moving off LLDAP or Kanidm means re-creating identities, application bindings and login flows, which is often the largest hidden item. Ask any implementation partner to price discovery, data mapping, cutover and rollback as separate line items in the written scope.

How to move between the three without a rebuild

This sequence settles the scope first, so the directory you pick covers Kerberos, certificates and AD trust needs before any user data moves. It ends with a cutover that each application has been tested against, so you can change platforms without rebuilding the estate from scratch.

  1. Decide scope before choosing a target

    Before any migration work, the identity owner and the platform team list what the directory must do: Kerberos single sign-on for Linux hosts, a certificate authority, an Active Directory cross-forest trust, sudo and host-based access rules, OIDC for web applications, or plain LDAP binds for a small set of apps. Each need points toward a different target, so this list decides whether FreeIPA, Kanidm or LLDAP is even the right destination. Done means a signed-off requirements list that names which items are must-have and which can be dropped. Ask each vendor or project to confirm which of these needs it covers in your environment.

  2. Check constraints that are hard to reverse

    Before building anything, record the choices that are expensive to change later. For FreeIPA, the IPA DNS domain must not overlap any domain in an Active Directory forest you plan to trust, and the certificate authority setup (integrated, externally signed or CA-less) shapes how certificates are issued and renewed. For Kanidm, the upgrade policy only allows moves from the previous minor version, so the team needs a plan for keeping pace with the quarterly releases. Done means a written record of domain names, CA design and upgrade ownership that the pilot must follow.

  3. Run a pilot with a small group

    Stand up the target in a non-production environment and onboard a limited group of test accounts, one Linux host group and one or two representative applications. Use the pilot to measure how the chosen platform handles login, password resets, two-factor enrollment and any Kerberos or OIDC flows your applications rely on. Done means a written pilot report listing what worked, what needed custom configuration and which features turned out to be missing. If the pilot exposes a gap, return to the scope step rather than forcing the workload onto a tool that does not support it.

  4. Migrate users and groups

    For FreeIPA targets, the ipa migrate-ds command imports users and groups from another LDAP server, but it excludes Kerberos attributes because FreeIPA regenerates them, so password and key material must be handled as a separate step. Sudo and host-based access control rules do not come across automatically and must be exported and re-created by hand through LDIF. For Kanidm and LLDAP, confirm the supported import path with each project before planning this step, since the documented tooling differs. Done means user and group counts match between source and target, and a sample of accounts can authenticate.

  5. Rebuild policy and access rules

    Recreate the sudo, host-based access and group policy rules that existed in the source system, using the LDIF exports from the previous step as the reference. Compare each rule against the original to confirm it grants the same access, and record any rule that the target cannot express so it can be redesigned or accepted as a risk. Done means a reviewed rule inventory where every item is either migrated, redesigned or formally accepted by the system owner.

  6. Validate each application against the target

    Test every application that authenticates against the directory, one at a time, using the same login methods users rely on: Kerberos tickets, LDAP binds, OIDC redirects, SSH keys or RADIUS, depending on the target. Confirm that service accounts still bind, that group-based authorization returns the expected results and that certificates issued by the new platform are accepted by the services that trust them. Done means a validation log per application with the test cases, the outcome and the owner who signed off.

  7. Cut over and keep the source for rollback

    Schedule the cutover window with the application owners, then point clients, services and DNS entries at the new directory. Keep the source system read-only and intact for a rollback period you agree in advance, because restoring an outdated backup into an active FreeIPA replica topology can break replication, so rollback must follow the vendor's backup guidance. Done means every client and application authenticates against the target, the rollback window has closed by written agreement and the source is decommissioned under change control.

What implementing each platform involves

FreeIPA carries the heaviest up-front planning of the three, and the first decision is the DNS domain. When you trust Active Directory, the IPA domain must use a DNS domain that does not overlap with any domain in the AD forest, so that name has to be settled before the first server is built. The FreeIPA deployment recommendations also advise dedicated servers without other applications, at least two to three replicas in each datacenter, no more than four replication agreements per replica, and at least two DNS servers in each client's resolv.conf. Your team owns the naming, the datacenter layout, the replica count and the change control around them. DeployOpen can scope the trust configuration, replica build, certificate authority choices and the ipa-backup and ipa-restore runbook, which the backup documentation treats as a real risk area because restoring an outdated backup into an active replica topology can break replication. Confirm the cross-forest trust setup against the FreeIPA Active Directory trust setup page before you commit to a design.

Kanidm asks for a different kind of readiness. TLS is mandatory for all connections rather than an optional layer added later, so certificate issuance and renewal must be in place from day one, and your team needs a plan for that. Administration runs primarily through the CLI, with the web UI aimed at user interactions, so the operators who will manage accounts, groups and OAuth2 clients need to be comfortable at a command line. Upgrades are the recurring obligation to plan for: Kanidm releases quarterly, supports each stable release for four months, and upgrades only from the previous minor version. Skipping a release means a multi-step path, so your team owns the upgrade calendar and the test environment that runs ahead of production. DeployOpen can scope the initial deployment, the replication pair, Unix login and SSH key configuration, and the upgrade runbook. Ask the vendor to confirm current support and migration paths in the Kanidm support guidelines.

LLDAP is the smallest job of the three, but it still has decisions. Installation is from an OCI image with Docker or Podman, from a distribution package, on Kubernetes or TrueNAS, or from source, and the choice should follow your existing patching process. The database choice matters: LLDAP stores data in SQLite by default and can use MySQL, MariaDB or PostgreSQL, with documented migration away from SQLite, so decide early whether a file-based store is acceptable for your backup and recovery targets. The larger effort is usually on the application side, where each service needs its own LDAP bind, search base and attribute mapping, and LLDAP's single base DN means every application sees the same user tree. Your team owns the application inventory, the bind accounts and the test of each login path. DeployOpen can scope the install, the database configuration and the application integration work. Because LLDAP offers no commercial support, the operating risk stays with your team and any contract you add around it.

Questions buyers ask before choosing a directory

Can LLDAP replace FreeIPA in our Linux estate?

Only for a narrow job. LLDAP is a small LDAP user directory with a web front end, and its own documentation says the goal is not to provide a full LDAP server. FreeIPA also bundles 389 Directory Server, an MIT Kerberos KDC, a Dogtag certificate authority and sudo and host-based access policy. If you need Kerberos single sign-on, certificates or host policy for Linux hosts, LLDAP does not cover those needs. Confirm which of these services your applications and hosts actually depend on before you decide.

Does Kanidm support SAML for our legacy applications?

Not as a listed feature. Kanidm's README lists OAuth2 and OpenID Connect, LDAPS for legacy systems, RADIUS and SSH key distribution, but SAML is not among them. A GitHub issue proposing SAML, opened in August 2023, remains open, and the maintainers direct users to OAuth2/OIDC first, LDAP app passwords second, and SAML only as a last resort. If a vendor application requires SAML, confirm the requirement with the vendor and the Kanidm maintainers, or consider FreeIPA or a product with native SAML support.

How much effort does FreeIPA need to run day to day?

FreeIPA is an integrated suite, so the effort is mostly in its replication topology, certificates and backups rather than in a single service. FreeIPA's deployment recommendations advise at least two to three replicas in each datacenter, no more than four replication agreements per replica, and dedicated servers without other applications. Its backup documentation warns that restoring an outdated backup into an active replica topology can break replication, and that the first server handles certificate renewal and CRL publication by default. Ask for the effort of operating each of these tasks in your environment, including who on your team will own them.

Can our own team deploy and run one of these directories?

Often yes for LLDAP and Kanidm on a small scale, and it depends on your skills for FreeIPA. LLDAP installs from container images or distribution packages and stores data in SQLite by default. Kanidm is administered mainly through its CLI and does not use an external SQL database. FreeIPA needs staff who understand Kerberos, LDAP replication, DNS and certificate lifecycle. Assess these skills honestly, and decide whether to build the knowledge in-house, buy training, or bring in outside help for the first deployment and handover.

How long does a directory migration take, and what drives the effort?

The duration depends on the number of users, groups, applications and the rules that must move. FreeIPA's migration how-to supports moving users and groups from other LDAP servers with the ipa migrate-ds command, but sudo and HBAC rules need manual migration through LDIF. Kerberos attributes are regenerated rather than copied. Moving between FreeIPA and Kanidm is a different exercise, with a different identity model and no direct import path confirmed in the sources. Ask any provider for an inventory of accounts, groups, policies, applications and authentication methods, then size the work from that inventory rather than from a generic number.

What should we ask a consultant for in a fixed-scope quote?

Ask for a written scope that names each service in the deployment, the number of replicas or instances, the integrations (applications, Linux hosts, Active Directory trusts, RADIUS or LDAP consumers), the migration inventory and the handover documents. DeployOpen works on a fixed-scope basis, with scope, deliverables and timelines agreed in writing before work starts, and it does not publish a price list. Ask which items are one-time work, which are recurring support or upgrade retainers, what is excluded, and how changes to scope are priced and approved.

When does an organization outgrow LLDAP?

Most organizations outgrow LLDAP when they need capabilities it does not provide. LLDAP's FAQ states that it does not natively support virtual hosts or multi-tenancy, since all users sit under one base DN, and that it offers no commercial support. Its FAQ calls it volunteer-developed on a best-effort basis with a bus factor of one, and says it is not recommended for a big organization's infrastructure unless you can audit and maintain the code. Signals to watch include the need for Kerberos, certificates, host policy, paid support, or several isolated tenants. Confirm the current LLDAP release status with its maintainers before you rely on it for production.

How DeployOpen helps choose and implement a directory

DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For a choice between FreeIPA, Kanidm and LLDAP, we start by working out which services actually need Kerberos, certificates, OIDC or a plain LDAP bind, and then build only what that requires.

How we scope

  • Inventory which applications, hosts and users need Kerberos, LDAP binds, OIDC logins, SSH keys or RADIUS.
  • Confirm whether an Active Directory trust or existing AD users must coexist with the new directory.
  • Agree scope, deliverables and timelines in writing before work starts, since most engagements are fixed-scope.

How we build

  • Deploy the chosen directory in your cloud accounts, data centers or air-gapped network, with replicas sized to your sites.
  • Test LDAP write support, client enrollment and login paths against each application before cutover.
  • Plan backup, restore and upgrade procedures, including the version support policy of the chosen product.

How we hand over

  • Document architecture, configuration, identity sources and the runbooks your operators will use day to day.
  • Run security testing of the directory and its exposed endpoints, and record the findings and fixes.
  • Prepare systems and evidence for compliance assessments, noting that independent auditors issue any formal reports.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan for the maintenance risk of each option, including whether a commercial support path is needed later.
  • Revisit the choice if requirements grow, such as multi-tenancy, SAML or Kerberos, and scope any migration in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.