Join Ubuntu into Windows domainm - Likewise Open
Likewise Open
Likewise Open simplifies the necessary configuration needed to authenticate a Linux machine to an Active Directory domain. Based on winbind, the likewise-open package takes the pain out of integrating Ubuntu authentication into an existing Windows network.Installation
To install the likewise-open package, open a terminal prompt and enter:
sudo apt-get install likewise-open
Joining a Domain
/usr/bin/domainjoin-cli
,
which is used to join your computer to the domain. Before you join a domain you will need to make sure and have:
-
Access to an Active Directory user with appropriate rights to join the domain.
-
The Fully Qualified Domain Name (FQDN) of the domain you want to join.
-
DNS for the domain setup properly. In a production AD environment this should be the case.
sudo domainjoin-cli join example.local Administrator
Replace example.local with your domain name, and Administrator with the appropriate user name. |
After successfully joining an Ubuntu machine to an Active Directory domain you can authenticate using any valid AD user. To login you will need to enter the user name as 'domain\username'. For example to ssh to a server joined to the domain enter:
ssh 'example\steve'@hostname
If configuring a Desktop the user name will need to be prefixed with domain\ in the graphical logon as well. |
sudo domainjoin-cli leave
Other Utilities
-
lwinet: Returns information about the network and the domain.
-
lwimsg: Allows interaction with the likewise-winbindd daemon.
-
lwiinfo: Displays information about various parts of the Domain.
Comments
Post a Comment