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.

  • Intermediate to advanced
  • 12 lessons
  • 12 h 5 min
  • Versions Debian 12, Debian 13, Ubuntu 24.04, Rocky 9, Rocky 10, Debian 12 (client), Ubuntu 24.04 (client)

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 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