(longer video tutorial version)
First thing in this tutorial we will setup Linux networking and hostname. We will setup IP address, netmask, default gateway and preferred DNS server.
Once networking and hostname will be set we will install winbind related packages:
krb5-workstation
samba
samba-client
samba-winbind
samba-winbind-clients
oddjob-mkhomedir
After successful winbind installation we will configure winbind configuration files:
/etc/krb5.conf
/etc/nsswitch.conf
/etc/samba/smb.conf
/etc/pam.d/system-auth-ac
/etc/pam.d/password-auth-ac
Once winbind will be installed and configured we will start winbind services and enable them to start during system boot. Related winbind services are:
nmb
smb
winbindd
oddjobd
We will also configure ntp server.
After all winbind related services will be configured we will join to Active Directory domain and configure firewalld and selinux for samba service and samba shares.
At the end of this tutorial we will test authentication of Active Directory users and also samba users authentication and functionality of samba shares.
Config files:
krb5.conf
nsswitch.conf
smb.conf
system-auth-ac
password-auth-ac
Related Video Tutorials:
Integration of Linux servers to Windows Active Directory domain.
Installation of Active Directory Domain Services and setup of Active Directory domain.