将 Ubuntu 加入到 Windows 2003 AD域
很多人期望把Ubuntu 8.04加入到windows 2003 活动目录。用 Likewise Open。 Likewise Open是一个免费的开源软件,她可以把linux,unix和mac加入到微软的活动目录当中。
Likewise Open Features(likewise的重要性能)
* Joins non-Windows systems to Active Directory domains in a single step from the command line or from a GUI
* Authenticates users with a single user name and password on both Windows and non-Windows
* Enforces the same password policies for non-Windows users and Windows users
* Supports multiple forests with one-way and two-way cross forest trusts
* Caches credentials in case your domain controller goes down
* Provides single sign-on for SSH and Putty
* Uses a robust next-generation authentication engine that supports Kerberos, NTLM, and SPNEGO
* Involves no Active Directory schema changes
第一步:在ubuntu 8.04中安装likewise:
sudo aptitude install likewise-open-gui
当然你也可以在“添加/删除程序”或者“新立得”里面搜索“likewise-open-gui“进行安装。
第二步:添加ubuntu到活动目录:
执行,应用程序-网络-likewise
需要确定两件事情:1,域的名称
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。
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2008-11/17493.htm
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?