Catalogue / Infrastructure & systems
Linux directories and identity: OpenLDAP, SSSD, Kerberos and FreeIPA
Centralise the accounts of dozens of Linux servers in an OpenLDAP or FreeIPA directory, authenticate with SSSD and Kerberos, distribute sudo rules and SSH keys, join Active Directory, and troubleshoot the identity outages you really meet in production.
A MasterLinux course · Original text
What you will learn
- Read and write an LDAP directory: DIT, DN, object classes, schemas and LDIF files
- Query and modify the directory with ldapsearch, ldapmodify, ldapadd and precise filters
- Configure slapd through cn=config: suffix, administrator account, schemas, ACLs and indexes
- Encrypt the directory with LDAPS and StartTLS, and master its certificate chain
- Replicate OpenLDAP with syncrepl as provider/consumer, then as multi-provider
- Connect Linux servers to the directory with SSSD, NSS and PAM (cache, access control, home directories)
- Distribute sudo rules and public SSH keys from the directory
- Understand Kerberos (KDC, tickets, principals, keytabs) and diagnose its errors
- Install FreeIPA and manage users, groups, HBAC, sudo and integrated DNS; join Active Directory with realm or a trust
- Troubleshoot with getent, id, sssctl and the SSSD logs: clock skew, stale cache, expired certificate
Course content
12 lessons · 12 h 5 minSection 1 — The LDAP model
Section 2 — Securing and replicating
Section 3 — Linux identity
- Centralized Linux authentication — SSSD, NSS and PAM 55 min
- sudo and SSH keys from the directory 50 min
- Kerberos — KDC, tickets, principals and keytabs 55 min
- FreeIPA — installation, users, groups, HBAC, sudo and integrated DNS 1 h
- Linux in Active Directory — realm join, SSSD and the FreeIPA trust 55 min
Requirements
- The “Fundamentals” course (included) or solid hands-on experience with the Linux command line
- Able to administer a Debian or Rocky server (packages, services, users, basic PAM)
- Basic knowledge of DNS and TLS certificates
Who is this course for?
- System administrators who manage more than a handful of servers and want to stop using local accounts
- Operations engineers at IT service companies who work on mixed Linux and Active Directory estates
- Students preparing for a Linux administrator job or an RHCE-type certification