How to: Active Directory Integration with Centrify DirectControl Express on Ubuntu 11.10 (Oneiric Ocelot)
Many Ubuntu users and Administrators struggle with Active Directory integration. One approach that folks are using is the free offerings from Centrify Express.
Through the DirectManage Express or DirectControl Express downloads you can quickly and easily join a Ubuntu 11.10 (Oneiric) server or desktop to Active Directory. Using either of these approaches an intelligent install script is used to install the DirectControl Express agent and join the system to Active Directory.
Many Ubuntu users however prefer to install software packages like Centrify DirectControl Express using the built in package managers like Software Center, Synaptic, Adept, Aptitude, apt-get or others.
Recently, Canonical has certified and published Centrify DirectControl Express in the 11.10 Oneiric repository. This article will describe how to ensure that the partner repository is available and describe how to install DirectControl Express and join a system to Active Directory...
Before you get started, make sure you have:
- The sudo password and rights to install the software regardless of the method used.
- The username and password of an Active Directory account that has permission to join a computer to AD.
As there are many tools to do installations, I am only going to cover two of them -- Software Center and the CLI using apt tools.
- The first step is to enable the Oneiric partner repository where the DirectControl Express package is made available. Via the Software Center you need to select Edit ==> Software Sources ==> Other Software (tab) and make sure the checkbox is checked for the partner repository as follows:
You can also add the partner repository from the command line as follows (for oneiric):
sudo add-apt-repository "deb http://archive.canonical.com/ oneiric partner"
- Once you have the partner repository added you are now ready to find and install the DirectControl bits.From the Software Center you can search for Centrify and you will find the following package:
Simply select install, enter your sudo password and wait for installation.Alternatively you can install via apt-get as follows:
sudo apt-get install centrifydc
- Once you have successfully install the centrifydc package you must join the system to Active Directory.
sudo adjoin -w domain.name
Hi .. im absolutely new to linux/ubuntu.. while trying to follow the steps here above i receive following text.. can anyone help.. sorry for being so naive and unexperimented..
Cannot find an Active Directory domain named ‘domain.name’ in DNS or ‘/etc/centrifydc/centrifydc.conf’
Join to domain ‘domain.name’, zone ‘Auto Zone’ failed.
[email protected]:~$ sudo adjoin -w domain.name
Using LDAP to create computer name larger than 15 characters.
This requires Windows Administrator privileges.
Try -N option if you cannot use an Administrator account.
Is your Window domain name “domain.name”? If not then you should probably put your actual domain name in there.
Having the same problem as the person above, except I did enter my correct domain name.
I followed the steps and was successfully able to add my ubuntu 14.04
to Windows Active Directory domain. This is what I get in my adinfo:
Local host name: ubuntutest12
Joined to domain: mydomain.com
Joined as: ubuntutest12.mydomain.com
Pre-win2K name: ubuntutest12
Current DC: adswsus2008.mydomain.com
Preferred site: Default-First-Site-Name
Zone: Auto Zone
CentrifyDC mode: connected
Licensed Features: Disabled
Where “mydomain” is a replacement for my original domain name.
After this I tried loggin in by entering username as:
It didn’t work in any way. I don’t get why is it not working. Kindly please help.
I really need to add linux system in windows domain.