Winnipeg Photographer


Add Ubuntu workstation into your Windows Active Directory

The good points about this kind of setup is as follows:

  • Single username/password combination across entire network.
  • Enforces password policies

Likewise Open enables Linux, Unix and Mac authentication on a Microsoft network using Active Directory. A user can now interactively log in to the Linux, Unix or Mac machine using Active Directory credentials, and can access any kerberized services that the non-Windows machine hosts can.

Open / install likewise

sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join fqdn.of.your.domain Administrator 
 

image

Open defaults

sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start
 

image 

Reboot and login with domain\user credentials

image

Check settings within terminal you can check your settings

image

Check active directory for your new created object

image


2 Responses

  1. If you want to get rid of the UBUNTU\ part…
    edit the following file:
    “vi /etc/likewise/lsassd.conf”
    Find the line that says “assume-default-domain”
    and set it to true or uncomment depending on the version of likewise.

    It’s best to reboot after this just to deal with the change.

    PS. This only works when your user account and computer account are part of the same domain.

    PPS. Sorry I commented from a Mac.

  2. Yvo van Doorn on January 25th, 2010 at 12:11 pm
  3. Thanks for the suggestion about getting rid of the “domain\” part. :) Much appreciated

  4. Jared Heinrichs on January 25th, 2010 at 1:59 pm

Leave a Reply