hostname:> configuration services ad
hostname:configuration services ad> show Properties: <status> = online mode = domain domain = eng.test.com Children: domain => Join an Active Directory domain workgroup => Join a Windows workgroup
请注意,设备当前在 eng.test.com 域中运行。
hostname:configuration services ad> workgroup hostname:configuration services ad workgroup> set workgroup=WORKGROUP hostname:configuration services ad workgroup> commit hostname:configuration services ad workgroup> done hostname:configuration services ad> show Properties: <status> = disabled mode = workgroup workgroup = WORKGROUP
hostname:configuration services ad> done hostname:> configuration services smb hostname:configuration services smb> set ads_site=sf hostname:configuration services smb> set pdc=192.0.2.21 hostname:configuration services smb> commit hostname:configuration services smb> show Properties: <status> = online lmauth_level = 4 pdc = 192.168.3.21 ads_site = sf hostname:configuration services smb> done
加入 AD 域后,每次提交节点时都必须设置用户和密码。
hostname:> configuration services ad hostname:configuration services ad> domain hostname:configuration services ad domain> set domain=example.com hostname:configuration services ad domain> set user=Administrator hostname:configuration services ad domain> set password=(set) hostname:configuration services ad domain> commit hostname:configuration services ad domain> done hostname:configuration services ad> show Properties: <status> = online mode = domain domain = example.com