Jul 25, 2011

Joining Ubuntu (10.04 / 10.10 / 11.04) to Active Directory Domain using Terminal

Posted in
My first post after long break is about Linux (Ubuntu OS). Why Linux!! Because now in Maldives each and every office (Government) will be going to use Open-source software (OSS) / Open-source Operating system (OSOS) at some percentage as copy right law has been passed by the Majilis. As Open-source Operating system NCIT Recommends Ubuntu.  As people are not familiar with Ubuntu I just want to share my knowledge with it.

Please don’t go crazy thinking that all offices will be going fully Open-source, Operating System, Around 25% of each office is getting Open-source Operating System. Others will get OS from Microsoft.  How about Other software’s like CorelDraw, Adobe Reader Pro, Nero etc… start learning new OSS instead of it, because you won't get it any more.

1.  Installing likewise-open

Download from Ubuntu Software Centre by searching for "active directory membership" or install by terminal:-

sudo apt-get install likewise-open likewise-open-gui

2.  Joining domain

System > Administration > active directory membership is the GUI which is easier, otherwise, in terminal:

sudo domainjoin-cli join mydomain.local Administrator

Replace mydomain.local and Administrator with your domain name and the user. Enter password when prompted and you will see a success message and asking you to reboot, but before you reboot follow step 3.

3.  Setting Default login As domain

If you are not using gui and want to login without typing domain + username i.e mydomain/username:

sudo lwconfig assumeDefaultDomain true

0 comments: