Posted by: Bobby Allen on: May 23, 2008
These days many more companies are using mixed IT enviroments using a mixture of Windows, Linux, UNIX and Mac’s and I for one am using a mixture of Microsoft Windows and Linux (Ubuntu). On my network I use a Microsoft Active Directory and want to be able to get all Server (Linux & Windows) as well as Desktops (Linux and Windows) to authenticate in a central location.
Since browsing the web I managed to find this cool package that can be installed on Ubuntu Hardy Heron (8.04) which enables you to add and authenticate Ubuntu 8.04 against a Windows Domain Controller (Microsoft Active Directory)
So here goes…
sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join fqdn.of.your.domain Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start
Using the above commands you have installed ‘likewise-open’ which is the package that makes it possible for the Ubuntu client/server to logon to a Windows domain, added the client/server to the windows domain, updated the system services and then started the service.
Now that the LikeWise package has been installed you can now logoff (although I recommend full system reboot) and logon in this format:
DOMAIN\username
You need to ensure that you prefix the username with the Domain name.
The good points about this kind of setup is as follows:
[...] How to join Ubuntu 8.04 to Windows Active Directory (Domain) « Life in code, apps and OS’… – [...]
[...] Đáp: Tùy thuộc vào loại domain nào, hướng dẫn này có thể giúp bạn: http://bobbyallen.wordpress.com/2008/05/23/how-to-join-ubuntu-804-to-windows-active-directory-domain… [...]
LIAR!
update-rc.d: /etc/init.d/likewise-open: File does not exist!
You either need to add a “Create/download a shell script” step to your list, or follow Pete Long’s advice and “SUDO kate /etc/samba/lwiauthd.conf”, and add “winbind use default domain = yes” which actually worked for me! (Yeah, I sudo Kate. So sue me.)
1 | Tui hoc Ubuntu 8.04 « Tamthang1308’s Weblog
July 29, 2008 at 7:36 am
[...] “How to join Ubuntu 8.04 to Windows Active Directory (Domain) [...]