加入收藏 | 设为首页 | 会员中心 | 我要投稿 济南站长网 (https://www.0531zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

Windows Server 2008:AD LDS应用攻略

发布时间:2016-08-05 14:29:23 所属栏目:Windows 来源:站长网
导读:本文我们共同了解一下AD LDS的具体安装以及简单应用操作。 一、安装 AD LDS 服务器角色 1.单击开始,然后单击服务器管理器。 2.在控制台树中,右键单击角色,然

10.在"导入 LDIF 文件"页中,可以将架构 .ldf 文件导入 AD LDS 实例。

11."准备安装"页面使您有机会检查安装选择。单击"下一步"之后,Active Directory 轻型目录服务 安装向导将在计算机上复制文件和安装 AD LDS。

12.当 Active Directory 轻型目录服务安装向导完成安装 AD LDS 时,将显示此消息:"您已成功完 成 Active Directory 轻型目录服务安装向导。"当"正在完成 Active Directory 轻型目录服务安装向导 "页面出现时,单击"完成"关闭向导。

注:如果 Active Directory 轻型目录服务安装向导未成功完成,将在"摘要"页中显示描述失败原因 的错误消息。

注:如果在"摘要"页面之前的 Active Directory 轻型目录服务安装向导中出现错误,您可以查看出 现的错误消息。另外,您可以依次单击"开始"、"运行",然后键入任一以下命令:

%windir%DebugADAMSsetup.log

%windir%DebugADAMSsetup_loader.log

ADAMsetup.log 和 ADAMsetup_loader.log 文件包含可以帮助您找到造成 AD LDS 安装失败的原因的 信息。

(2)执行 AD LDS 实例的无人参与安装

1.使用任意文本编辑器,创建新的文本文件。或者,可以复制以下示例应答文件,并将其粘贴到应答 文件中。

[ADAMInstall]
   ; The following line specifies to install a unique ADAM instance.
   InstallType=Unique
   ; The following line specifies the name to be assigned to the new instance.
   InstanceName=MyFirstInstance
   ; The following line specifies the communications port to use for LDAP.
   LocalLDAPPortToListenOn=389
   ; The following line specifies an application partition to create
   NewApplicationPartitionToCreate="o=microsoft,c=us"
   ; The following line specifies the directory to use for ADAM data files.
   DataFilesPath=C:Program FilesMicrosoft ADAMinstance1data
   ; The following line specifies the directory to use for ADAM log files.
   LogFilesPath=C:Program FilesMicrosoft ADAMinstance1data
   ; The following line specifies the .ldf files to import into the ADAM schema.
   ImportLDIFFiles="ms-inetorgperson.ldf" "ms-user.ldf"

2.指定安装参数(将在以下紧接着此过程的表中描述),然后保存应答文件。

3.在命令提示符下(或在批处理文件或脚本文件中),更改到包含 AD LDS 安装文件的驱动器和目录 。

若要打开命令提示符,请依次单击"开始"、"运行",并键入 cmd。

4.键入下列命令:

%systemroot%ADAMadaminstall.exe /answer:drive:pathnamefilename.txt"

其中 drive:pathnamefilename.txt 表示应答文件的驱动器、路径和文件名。(该命令要求引号。 )

(编辑:济南站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!