You can add a Linux workstation to your ClearOS Domain. This howto will show you the steps that you need to take to get your Centos 8 workstation to use domain credentials to authenticate.
This guide assumes you have a full installation of Centos 8 and was based on v8.3 which was current t the time of writing. It also assumes you have full root access.
All commands should be entered in a root shell.
dnf install samba-common-tools samba-winbind samba-winbind-clients
In the /etc/samba/smb.conf, make the [global] section look like:
domain master = No security = DOMAIN client min protocol = NT1 template shell = /bin/bash template homedir = /home/%U winbind use default domain = Yes workgroup = Your_domain_name idmap config * : range = 3000-7999 idmap config * : backend = tdb idmap config HOME : range = 10000000-19999999 idmap config HOME : backend = rid wins server = The_ip_address_of_your_DC netbios name = MyMachineName
Substitute Your_domain_name, The_ip_address_of_your_DC and MyMachineName for the correct values.
net rpc join -U winadmin -I The_ip_address_of_your_DC
or:
net rpc join -U winadmin -S The_FQDN_of_your_DC
systemctl enable winbind --now
You are now fully joined but we then need to fix up authentication so users can log in and their home directories created.
systemctl enable oddjobd --now authselect select winbind with-mkhomedir
reboot & exit
In the older documentation for a Linux (Ubuntu) machine, home folders were created under /home/Your_domain_name/. If you want to do this, in the smb.conf, change the line:
template homedir = /home/%U
to:
template homedir = /home/%D/%U