LDAP & sssd Integration
Centralized authentication with LDAP/Active Directory via sssd, PAM integration, and Kerberos SSO for Linux hosts.
Overview
sssd (System Security Services Daemon) is the standard Linux daemon for integrating with centralized identity providers: LDAP, Active Directory, FreeIPA, and Kerberos. It caches identity and authentication data so Linux hosts can authenticate users even when the directory server is temporarily unreachable.
Components
- sssd — main daemon. Spawns per-domain provider processes.
- PAM — pluggable authentication modules. pam_sss.so hooks login, sudo, and SSH into sssd.
- NSS — name service switch. nss_sss resolves usernames/groups via sssd.
- Kerberos — sssd can obtain Kerberos tickets on login for SSO to other services.
Key concepts
- PAM (pam_sss.so)
- NSS (nss_sss)
- Credential caching
- realm join
Interview questions
- Explain how sssd integrates Linux authentication with Active Directory and what happens when the AD server is unreachable.
Sign up free to read the full topic
More Linux topics
Start free on Cariara · Coding problems · System design studio