Likewise Open simplifies the configuration needed to authenticate a Linux machine to an Active Directory domain. The package is based on winbind and integrates Ubuntu authentication into an existing Windows network.
Tested on: Ubuntu 9.10 / 9.04 - both installs did not run desktop GUI - (X11).
NB. The below commands should be run as root or with sudo commands. To get root, type:
sudo bash
Then enter the root account password.
To install the package, type:
apt-get install likewise-open5
After the install has completed, it’s time to join the domain. To successfully join, the following is required:
1. Access to an AD user with rights to join the domain.
2. The Fully Qualified Domain Name (FQDN) of the domain you want to join.
3. DNS must be set up correctly on the domain.
Type the following command to join the domain:
domainjoin-cli join example.com Administrator
Where example.com is your domain name and Administrator is the user name of the account with the rights to join the domain.
After joining the domain, you must reboot before trying to authenticate with a domain user. Type:
reboot
** If you receive the error:
The configuration stage ‘open ports to DC’ cannot be completed automatically.
Please manually perform the following steps and rerun the domain join:
Some required ports on the domain controller could not be contacted. Please
update your firewall settings to ensure that the following ports are open to
dc.domain.com:
88 UDP
389 UDP
464 UDP
123 UDP
Make sure the Windows Time service is running on the domain controller.
After successfully joining to the 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\username’@hostname
To leave the domain, type:
domainjoin-cli leave
For more info on this package, search - Likewise Open. The homepage has the changelog and
more up to date instructions and troubleshooting tips.
Leave a Reply
You must be logged in to post a comment.