apt-get -y install likewise-openDuring the installation of the package, you’ll be asked for the realm name that you will eventually be joining to. Use your Active Directory domain name for most environments when prompted. Once installed, it couldn’t be easier to bind, just use the domainjoin-cli command that came with the package and tell it to ‘join’, followed by the domain name and then the user name. For example, if I was using a user called cedge to join to a domain called krypted.com, my command might look like this:
domainjoin-cli join krypted.com cedgeAnd then you’ll want to restart the host, or re-run the likewise-open startup:
update-rc.d likewise-open defaults /etc/init.d/likewise-open startAnd viola, you now have an Ubuntu box bound to AD.
krypted November 19th, 2010