Join Ubuntu 24.04 LTS Desktop to Active Directory

Install packages:

$ sudo apt install adsys realmd sssd

Join the machine:

$ sudo realm join -v -U <my-admin-user>

Edit your config /etc/sssd/sssd.conf and add or change following lines to your domain config:

ad_gpo_ignore_unreadable = True
use_fully_qualified_names = False
fallback_homedir = %u

Enable home folder creation in /etc/pam.d/common-session:

session optional pam_mkhomedir.so skel=/etc/skel umask=0077

Reboot machine and good to go.