1

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.

1
1
  • install likewise-open

apt-get install likewise-open

  • edit lightdm.conf to enable user and password GUI

nano /etc/lightdm/lightdm.conf

  • add the below lines

allow-guest=false

greeter-show-manual-login=true

  • edit nsswitch.conf

files dns mdns4_minimal [NOTFOUND=return] mdns4

  • join domain

sudo domainjoin-cli join example.local Administrator

1
  • 1
    LikewiseOpen is now Beyond Trust - PowerBroker Identity Services Open Edition - LikewiseOpen – MAKZ Nov 18 '16 at 18:44
0

TWO THINGS:

  1. Make sure your username IS NOT your directory username. Just helps in the long run.
  2. 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!

Use

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 username.domain@hostname.domain #Confirm you can ssh with AD
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.