-
查看现有配置。
twofish:> configuration services ad
twofish:configuration services ad> show
Properties:
<status> = online
mode = domain
domain = eng.fishworks.com
Children:
domain => Join an Active Directory domain
workgroup => Join a Windows workgroup
-
请注意,设备当前在 "eng.fishworks.com" 域中运行。以下是离开该域并加入一个工作组的示例。
twofish:configuration services ad> workgroup
twofish:configuration services ad workgroup> set workgroup=WORKGROUP
twofish:configuration services ad workgroup> commit
twofish:configuration services ad workgroup> done
twofish:configuration services ad> show
Properties:
<status> = disabled
mode = workgroup
workgroup = WORKGROUP
-
以下是配置站点和首选域控制器以便加入另一域的示例。
twofish:configuration services ad> done
twofish:> configuration services smb
twofish:configuration services smb> set ads_site=sf
twofish:configuration services smb> set pdc=192.168.3.21
twofish:configuration services smb> commit
twofish:configuration services smb> show
Properties:
<status> = online
lmauth_level = 4
pdc = 192.168.3.21
ads_site = sf
twofish:configuration services smb> done
-
以下是在配置属性之后加入新域的示例。加入 AD 域后,每次提交节点时都必须设置用户和密码。
twofish:> configuration services ad
twofish:configuration services ad> domain
twofish:configuration services ad domain> set domain=fishworks.com
twofish:configuration services ad domain> set user=Administrator
twofish:configuration services ad domain> set password=*******
twofish:configuration services ad domain> set searchdomain=it.fishworks.com
twofish:configuration services ad domain> commit
twofish:configuration services ad domain> done
twofish:configuration services ad> show
Properties:
<status> = online
mode = domain
domain = fishworks.com