set /CH/BLn/SP/clients/ldap

此命令可供管理员使用。

用途

使用此命令可以配置服务处理器上的 LDAP 验证的相关属性。

语法

set /CH/BLn/SP/clients/ldap [binddn=DNuserbindpw=DNpassword defaultrole=[Administrator|Operator] ipaddress=ldapserverIPport=port# searchbase="ou=people, ou=sales, dc=sun, dc=com"state=[enabled|disabled]]

属性

  • binddn-显示 LDAP 服务器上只读代理用户的标识名 (Distinguished Name, DN)。ILOM 必须具有对您的 LDAP 服务器的只读访问权限,才能搜索并验证用户。

  • bindpw-键入只读用户的密码。

  • defaultrole-必须指定一个将应用到所有 LDAP 用户的权限级别,即管理员或操作员。

  • ipaddress-LDAP 服务器的 IP 地址。

  • port-与 LDAP 服务器通信所使用的端口号。

  • searchbase-输入 LDAP 服务器的分支以搜索用户。例如,ou=people、ou=sales、dc=sun、dc=com。

  • state-选择 "enabled" 或 "disabled" 来控制 LDAP 验证。

示例

-> set /CH/BL0/SP/clients/ldap binddn=proxyusr bindpw=password defaultrole=operator state=enabled
Set 'binddn' to 'proxyusr'
Set 'bindpw' to 'password'
Set 'defaultrole' to 'operator'
Set 'state' to 'enabled'