Install likewise-open in Ubuntu Hardy
sudo aptitude install likewise-open-gui
This will complete the installation.
Adding Ubuntu Desktop to Active Directory Domain
You can do this using two methods using GUI or Using CLI
Using GUI
Applications -> Internet -> Likewise to join my computer to an active directory domain.
The only information we needed for successfully joining the AD domain was
1) The name of the domain to join
2) A domain administrator username and password
Enter that information into the application and lick the “join” button.
In order to log in with a domain account, log out of your current session. Log back in with a domain account
prepended with the domain and a backslash ie. domain\user. Enter the domain user’s password. All home folders for domain users are stored in /home/DOMAIN/username.
Using Command line
sudo domainjoin-cli join fqdn.of.your.domain Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start
You can now log into your machine using your DOMAIN\user credentials. Remember that the DOMAIN\ part is mandatory and that it represents the short name of your Active Directory domain. You can join the domain using any user with sufficient privileges (there’s no need to use Administrator), and you can even directly join the PC in a particular OU passing the –ou argument to domainjoin-cli.
Remove from the windows Domain
The domainjoin-cli utility can also be used to remove from the domain.
sudo domainjoin-cli leave
Allow Active Directory Domain Administrators to Administer Ubuntu
This will allow members of the Domain Admins AD group to issue sudo commands. From a command prompt
sudo visudo
Add this line to the resulting file
%YOURDOMAINNAME\\domain^admins ALL=(ALL) ALL
save and exit file
No comments:
Post a Comment