Problem:
user@hostname:/$ sudo realm join server.domainname.local —user=user
Password for user:
See: journalctl REALMD_OPERATION=r4374.2939
realm: Couldn’t join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli
Solve:
sudo apt-get install realmd packagekit