Onboarding clients using SSSD.
Ubuntu 18.04 N/A
Ubuntu 20.04 Tested and working fine!
Ubuntu 22.04 Tested and working fine!
https://ubuntu.com/server/docs/install-and-configure-ldap
- Log on to our Fusion Directory server and paste this line:
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/onboard-client-ldap | bash -s [client-hostname]
2. Log on to the second computer, the client, to complete the install and paste this line:
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/onboard-client-sssd | bash
Offboarding clients using SSSD.
3. Log on to the second computer, the client, to complete the install and paste this line:
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/offboard-client-local | bash
4. Log on to our Fusion Directory server and paste this line:
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/offboard-client-fd | bash -s [client-hostname]
Hint, hint! The name of the exact client name will be found in this path: /usr/share/fd-vertel-se/
Mount home-directory using automount and sshfs.
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/onboard-home | bash
wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/offboard-home | bash
username@client:~$ ssh-keyscan -H stanley >> ~/.ssh/known_hosts # stanley:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3 # stanley:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3 # stanley:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3 # stanley:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3 # stanley:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3 username@client:~$ ssh stanley
These scripts are based on a true story and the link below bring you the full story!
https://ubuntu.com/server/docs/service-ldap-with-tls
Another important link...
https://ubuntu.com/server/docs/service-sssd-ldap
# Troubleshooting
https://ubuntu.com/server/docs/service-sssd-troubleshooting
getent passwd sudo sssctl user-checks
https://askubuntu.com/
# Notes
sudo cat /var/log/ipaclient-uninstall.log sudo systemctl restart sssd.service sudo systemctl status sssd.service