弹性文件服务 SFS-创建并绑定LDAP配置:请求参数

时间:2025-06-07 17:46:30

请求参数

表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.xx.xx:60000

base_dn

String

数据库中的域

user_dn

String

用户区别名

password

String

LDAP认证密码

vpc_id

String

一般不涉及。仅在SFS Turbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。

filter_condition

String

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

backup_url

String

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

schema

String

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

search_timeout

Integer

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

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