No matter how you try, sometimes you can't escape the clutches of Microsoft and Windows. I am trying to add my ubuntu 12.04 to my domain at work and make sure my user profile have sudo privileges.
- install likewise-open
apt-get install likewise-open
- edit lightdm.conf to enable user and password GUI
- add the below lines
- edit nsswitch.conf
files dns mdns4_minimal [NOTFOUND=return] mdns4
- join domain
sudo domainjoin-cli join example.local Administrator
- Make sure your username IS NOT your directory username. Just helps in the long run.
- Add your domain username to sudo after if you wish to run commands.
I followed this tutorial on my Ubuntu 12.04 to join a domain. It works great!
sudo add-apt-repository "deb http://archive.canonical.com/ natty partner" # Adds the Partner repository which has the active directory package in it to your system. sudo apt-get install centrifydc # installs the package sudo adjoin -w domain.name # joins domain adinfo # verifies join was successful ssh username@hostname # Confirm you can still ssh ssh email@example.com #Confirm you can ssh with AD