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)