弹性文件服务 SFS-修改ldap配置:请求参数

时间:2024-05-16 17:30:48

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

账号的token

Content-Type

String

MIME类型

表3 请求Body参数

参数

是否必选

参数类型

描述

url

String

ldap服务器的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.1.1:60000

base_dn

String

数据库中的域

user_dn

String

用户区别名

password

String

ldap认证密码

vpc_id

String

vpc的id

filter_condition

String

过滤条件。保留字段,暂不支持

backup_url

String

ldap备节点的url,固定格式为 ldap://{ip_address}:{port_number} 或 ldaps://{ip_address}:{port_number},例如ldap://192.168.1.2:60000

schema

String

ldap的schema,不填写则默认为RFC2307

search_timeout

Integer

ldap搜索的超时时间,单位为秒。不填写则默认为3秒

allow_local_user

String

访问ldap服务器失败后是否允许使用本地用户鉴权

枚举值:

  • Yes

  • No

support.huaweicloud.com/api-sfs/UpdateLdapConfig.html