Go to main content

Oracle® ZFS Storage Appliance 管理指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

配置 Active Directory (CLI)

  1. 转到 configuration services ad
    hostname:> configuration services ad
  2. 要查看现有配置,请输入 show
    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 域中运行。

  3. 要离开域模式并加入某个 Windows 工作组,请输入以下命令:
    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
  4. 要配置站点和首选域控制器以准备加入另一个域,请输入以下命令:
    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
    
  5. 要在配置了属性之后加入新域,请输入以下命令:

    加入 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
    

相关主题