Skip to content

Instantly share code, notes, and snippets.

@swamikevala
swamikevala / rhel9-sssd-samba-ad.md
Last active September 2, 2025 20:20
Configure RHEL9.5 with sssd, samba and AD (by OpenAI Deep Research)

RHEL 9.5 AD Integration with SSSD and Samba (Step-by-Step Guide)

Important Note: (18-Feb-2025) This gist has some issues. Please see the addendum. Thanks @hortimech for pointing this out

A step-by-step configuration guide for setting up RHEL 9.5 with SSSD and Samba for Active Directory integration. Covers all required configuration files, settings, and explanations for each option. Also sources for further documentation and troubleshooting recommendations:

  • Domain Joining with SSSD (configuring sssd.conf, realmd, Kerberos, and automatic authentication for SSH and Samba)
  • Samba Configuration with SSSD (using sss as the backend for identity mapping, Kerberos authentication, and ensuring smooth Windows/Mac access)
  • Kerberos-based Single Sign-On (SSO) (ensuring users can access SMB shares without re-entering credentials)
  • Offline Authentication (caching credentials for when AD is unreachable)