adding ubuntu host as Microsoft Active Directory domain member

To add ubuntu host to domain i will use packet likewise-open5 sudo apt-get install likewise-open5 Edit /etc/nsswitch.conf and change hosts to: hosts: files dns [NOTFOUND=return] Edit /etc/resolvconfd/resolv.conf.d/head and add: nameserver YOUR_AD_IP Now restart networking service sudo /etc/init.d/networking restart And add machine to domain domainjoin-cli YOURDOMAINNAME.LOCAL DOMAIN_ADMIN_ACCOUNT