Ory Kratos vs Samba Active Directory DC

A side-by-side comparison of two self-hosted identity & sso options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureOry KratosSamba Active Directory DC
CategoryIdentity & SSOIdentity & SSO
LicenseApache-2.0GPL-3.0
LanguageGoC
Setup difficultyHardHard
Min. RAM256 MB512 MB
Deploymentdocker, kubernetes, binarydocker, bare-metal, source
GitHub stars★ 13,815★ 1,000
First released20201992
ReplacesAuth0, Firebase AuthActive Directory, Windows Server

Why pick each one

Choose Ory Kratos if…

  • Extremely flexible architecture
  • Excellent for custom frontends
Ory Kratos details

Choose Samba Active Directory DC if…

  • Drop-in AD replacement
  • Mature and widely deployed
Samba Active Directory DC details

Frequently asked questions

Is Ory Kratos or Samba Active Directory DC better?

Neither is universally better. Ory Kratos has the larger community; both share a hard setup difficulty, so the decision comes down to features and licensing.

Are Ory Kratos and Samba Active Directory DC free and open-source?

Yes. Ory Kratos is licensed under Apache-2.0 and Samba Active Directory DC under GPL-3.0. Both can be self-hosted at no software cost.

Can I run Ory Kratos and Samba Active Directory DC with Docker?

Ory Kratos: yes. Samba Active Directory DC: yes.

Related comparisons