Oracle® ZFS Storage Appliance 管理指南,发行版 2013.1.5.0

退出打印视图

更新时间: 2016 年 2 月
 
 

使用 CLI 配置 Active Directory

  1. 查看现有配置。
    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
    
    
  2. 请注意,设备当前在 "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
    
  3. 以下是配置站点和首选域控制器以便加入另一域的示例。
    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
    
  4. 以下是在配置属性之后加入新域的示例。加入 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