finds.dev

aad-for-linux/pam_aad

Azure Active Directory PAM Module

View on GitHub

★ 26CGPL-3.0updated Sep 2022

// the take

A PAM module that lets Linux boxes authenticate against Azure Active Directory using the device code flow. Useful if you're managing Linux servers in an organization that's all-in on Entra ID and don't want to run a separate LDAP bridge.

Single-file C implementation (pam_aad.c) keeps the attack surface small and auditable. Debian packaging is included and looks properly structured with lintian overrides. Device code flow is the right choice here — avoids storing credentials on the machine. Has a SECURITY.md, which is more than most small security-adjacent projects bother with.

Dead since September 2022 — this is a problem for a security module that touches authentication. Azure AD was rebranded to Entra ID and the underlying OAuth endpoints have evolved; no telling if it still works without testing. 26 stars and the test suite is a dlopen smoke test plus a Postman collection, not actual PAM flow integration tests. No mention of MFA handling — device code flow will trigger MFA prompts but there's nothing in the README about how that surfaces through PAM in practice.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
26
Forks
9
Language
C
License
GPL-3.0
Last commit
27 Sep 2022

// nearby

If pam_aad isn't quite it.

All repos →