Joining Linux Computers to Active Directory with Likewise Open
This page describes how to join Linux to Active Directory (AD) by using Likewise Open -- freely available open source software from http://www.likewise.com/. The example screen shots below are from joining Red Hat Enterprise Linux (RHEL) to AD. The screen shots provide a visual cue on how to join Active Directory with Likewise Open.
1. Download Likewise Open. Go to http://www.likewise.com/download/, register, and then download the installer for your Linux platform to the desktop of your Linux computer. Installers are freely available for a variety of Linux operating systems, including Red Hat Enterprise Linux (RHEL), Fedora, Debian, SUSE, and Ubuntu.
2. Install Likewise Open. Change the permissions of the Likewise Open installer to allow you to execute it on Linux and then run it.
3. Join Linux to AD from the command line. Here's how to do it:
As root, run the following join command, replacing domainName with the fully qualified domain name of your domain and joinAccount with the user name of an Active Directory account that has
privileges to join computers to the domain:
/opt/likewise/bin/domainjoin-cli join domainName joinAccount
Example: /opt/likewise/bin/domainjoin-cli join likewisedemo.com Administrator

For more information or to troubleshoot problems, see the Likewise Open Installation and
Administration Guide or run this command:
domainjoin-cli --help
4. Log On with AD Credentials. After Likewise Open has been installed and the Linux computer has been joined to a domain, log on the system console by using an Active
Directory user account in the form of DOMAIN\username, where DOMAIN is the Active Directory domain name. Example:
likewisedemo.com\benni
Or, use ssh to log on from the command line, but make sure to use a slash to escape the slash character:
DOMAIN\\username

5. Get more information. To find out more or to troubleshoot, see the following resources:
- Likewise Open 10-Minute Setup Guide for Linux
-

- The Likewise Open Installation and Administration Guide
- See Supported Platforms
- For a discussion of how to overcome barriers to joining Linux to AD with our enterprise product, see Linux Active Directory Integration



