Join Ubuntu 20.04 to Active Directory with SSSD and SSH Access Overview This guide walks you through joining an Ubuntu 20.04 machine to an Active Directory domain using SSSD, configuring PAM for AD user logins over SSH, and enabling automatic creation of home directories upon first login. We’ll also cover troubleshooting steps and verification commands. Environment Used Component Value Ubuntu Client ubuntu-client.bazboutey.local Active Directory FQDN bazboutey.local Realm (Kerberos) BAZBOUTEY.LOCAL AD Admin Account Administrator Step 1: Prerequisites and Package Installation 1.1 Update system and install required packages bash sudo apt update sudo apt install realmd sssd libnss-sss libpam-sss adcli \ samba-common-bin oddjob oddjob-mkhomedir packagekit \ libpam-modules openssh-server Step 2: Test DNS and Kerberos Configuration Ensure that the client can resolve the AD domain and discover services. 2.1 Test domain name resol...
Welcome to Emmanuel Steven's Blog! 🎯 Passionate about IT and new technologies, I share my expertise in DevOps, cloud infrastructure (AWS, Azure, Kubernetes), data analysis tools, and more. Whether you're a beginner or an experienced professional, this blog offers valuable resources to enhance your skills and optimize your projects.