> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Active Directory 支持

## 在 ggRock 中启用 Active Directory 支持

本指南概述了在 ggRock Web UI 中为系统镜像启用 **Active Directory (AD) 支持**的步骤。配置后，从修改后的镜像启动的任何机器都将自动尝试绑定到您的 AD 域。

### ⚠️ 关键要求：NetBIOS 命名约定

启用 Active Directory 之前，请确保您在 ggRock 中的机器名称符合 Microsoft NetBIOS 标准。未遵循这些规则将阻止机器成功加入域。

* **最大长度：** 名称最多 15 个字符。
* **无空格：** 不要在机器名称中使用空格。
* **允许的字符：** 仅使用字母 (A-Z)、数字 (0-9) 和连字符 (-)。
* **禁用字符：** 不要使用特殊字符，例如：\ / : * ? " < > | . @ [ ] { } + = ; ,
* **无句号/点号：** 与 DNS 名称不同，NetBIOS 名称不能包含句号。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/image_ab3als.png)

## 分步说明

#### 1. 导航到镜像选项卡

打开 ggRock Web UI。从左侧的导航菜单中，点击 **镜像** 选项卡。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/image_18c2vk.png)

#### 2. 编辑目标镜像

找到要加入域的特定系统镜像。将鼠标悬停在镜像行上以显示右侧的操作图标，然后点击 **铅笔 (编辑)** 图标。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/image_1snb2jn.png)

#### 3. 切换 Active Directory 支持

在"编辑镜像"对话框中，找到 **启用 Active Directory** 切换开关并将其点击到 **开启** 位置。这将展开凭据字段。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/image_qtaayc.png)

#### 4. 输入域信息

为您的网络输入所需的管理信息。

* **用户名：** 具有将机器加入域权限的账户。
* **密码：** 指定账户的密码。
* **域名：** 您的完全限定域名（例如，`office.local`）。
* **组织单位 (可选)：** 如果要在 AD 中分类这些机器，请指定特定的 OU 路径。

#### 5. 保存并应用

点击对话框底部的 **保存** 按钮。

## 结果和后续步骤

在 **下次启动** 时，分配给此镜像的任何机器都将自动处理这些凭据并绑定到您的 Active Directory。

**重要提示：**

* 确保客户端机器上的 **DNS 设置** 正确指向您的域控制器。
* 机器需要在启动过程中有到 DC 的有效网络路径才能完成加入。
* 确保您的机器名称遵守 NETBIOS 命名约定。