第一步:在ubuntu 8.04中安装likewise:
sudo aptitude install likewise-open-gui
当然你也可以在“添加/删除程序”或者“新立得”里面搜索“likewise-open-gui“进行安装。
第二步:添加ubuntu到活动目录:
执行,应用程序-网络-likewise
需要确定两件事情:
1,域的名称
&">nbsp;
2,域管理员的帐号和密码
敲入上述两项信息,点击”join domain“。
并请注销一下系统。
/home/DOMAIN/username存放了user的域登入信息。
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.
从域里面退出:
sudo domainjoin-cli leave
允许AD管理员为ubuntu管理员:
sudo visudo
加入这一行信息:
%YOURDOMAINNAME\\domain^admins ALL=(ALL) ALL
保存并退出。OKAY。