Microsoft Active Directory logo

6 self-hosted Microsoft Active Directory alternatives

Azure Active Directory (Microsoft Active Directory cloud service) is a cloud identity and access management platform providing centralized user, group and device management, authentication (SAML/OAuth/OpenID/Kerberos), single sign-on, RBAC, and integration with on-prem AD.

Alternatives to Microsoft Active Directory

Open-source IdP delivering SSO, OAuth2/OIDC, SAML2, LDAP, RADIUS, MFA, WebAuthn, conditional access and application-proxy capabilities for self-hosted deployments.

authentik screenshot

22.5k stars1.7k forkslast commit Actively maintained

Casdoor is an open-source, UI-first IAM/SSO platform supporting OAuth 2.0, OIDC, SAML, LDAP, SCIM, WebAuthn and MFA, with an admin web UI and SDKs.

14.1k stars1.8k forksApache-2.0last commit Actively maintained

LLDAP is a lightweight LDAP server for authentication and user management, providing a simplified LDAP interface, a web admin UI, and SQLite/MySQL/PostgreSQL backends.

6.4k stars347 forksGPL-3.0last commit Actively maintained

GLAuth is a lightweight LDAP/LDAPS authentication server for development, CI, and homelabs, supporting file, S3, SQL, or LDAP proxy backends and optional 2FA.

2.8k stars240 forksMITlast commit Actively maintained

Samba is an open source SMB/CIFS file and print server that also provides Active Directory Domain Controller and member server capabilities for Linux/Unix systems.

Samba screenshot

Activity unknown

Stackspin is an open source platform that bundles common team collaboration apps with single sign-on, centralized user management, backups, and monitoring for admins.

Stackspin screenshot

Activity unknown

What replacing Microsoft Active Directory actually involves

Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 4 of 6 shipped a commit in the last six months. Licences in this list: Apache-2.0, GPL-3.0, MIT. In exchange you take on hosting, backups and updates yourself.

Browse everything in Identity & Access Management (IAM).

Other tools people replace alongside Microsoft Active Directory