Active Directory / LDAP¶
Companies with Active Directory on premises, and no identity provider in front of it, can let people log in with their directory username and password. The CA checks them against the directory and reads the person's groups, nested groups included. The same access rules decide what they get, as with OIDC.
$ bxp ssh --ldap --key ~/.ssh/id_ed25519.pub
Password for alice:
Certificate: /home/alice/.ssh/id_ed25519-cert.pub
Principals: alice
Valid until: 2026-11-16 08:28 UTC
How it works¶
Prefer OIDC where you can¶
With OIDC the CA never sees a password, and the provider's MFA applies. With LDAP the password passes through the CA on its way to the directory: over TLS both ways, never stored, never logged, but the CA handles it. AD FS, which many AD sites already run, speaks OIDC: see AD FS. Both logins can be on at the same time.
Next¶
- Server setup (Active Directory)
- OpenLDAP and FreeIPA
- Access rules
- User guide
- Security
- Hosts in Active Directory (SSSD)