Skip to content

vertelab/sssd

Repository files navigation

sssd onboarding

Onboarding clients using SSSD.
Ubuntu 18.04 N/A
Ubuntu 20.04 Tested and working fine!
Ubuntu 22.04 Tested and working fine!


Ubuntu + LDAP User Guide:

https://ubuntu.com/server/docs/install-and-configure-ldap


  1. 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



sssd offboarding

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/



Automount home directory

Mount home-directory using automount and sshfs.

wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/onboard-home | bash

Offboard home



wget -O- https://raw.githubusercontent.com/vertelab/sssd/main/offboard-home | bash




When re-installing a server on your LAN, then nothing is working unless you...

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




Geek info


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 

Ubuntu forums


https://askubuntu.com/

# Notes
sudo cat /var/log/ipaclient-uninstall.log
sudo systemctl restart sssd.service
sudo systemctl status sssd.service

About

Onboarding clients using SSSD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages