Joining Linux to AD Domain

Joining Mint Linux Desktop to SAMBA4 Domain
sudo apt-get install winbind libpam-winbind libnss-winbind krb5-config
Default Kerberos version 5 realm:
MYDC.ABC.LAN
Configure Winbind

sudo nano /etc/samba/smb.conf
workgroup = MYDC
password server = dcsrv.abc.lan
realm = MYDC.ABC.LAN
security = ads
idmap config * : range = 16777216-33554431
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = true

sudo nano /etc/nsswitch.conf
passwd: compat winbind
group: compat winbind
shadow: compat winbind

Add at the last line if you need ( auto create a home directory when initial login )
sudo nano /etc/pam.d/common-session
session optional pam_mkhomedir.so skel=/etc/skel umask=077

Add the following right after %admin ALL=(ALL) ALL
sudo visudo
%MYDC\\domain^admins ALL=(ALL:ALL) ALL

Restart the following services:
===sudo initctl restart winbind===
===sudo initctl restart smbd===
===sudo initctl restart nmbd===