ldap要使用 LDAP 工具,你需要配置一个包含以下字段的 Connector:
| 字段 | 必填 | 说明 |
|---|---|---|
base_url | 是 | LDAP 服务器地址(例如 ldap://ldap.example.com:389 或 ldaps://ldap.example.com:636) |
bind_dn | 是 | 绑定用户 DN(例如 cn=admin,dc=example,dc=com) |
bind_password | 是 | 绑定用户密码 |
search_base | 否 | 搜索基准 DN(例如 dc=example,dc=com),留空时自动从服务器检测 |
timeout | 否 | 连接超时时间,单位秒(默认:30) |
verify_ssl | 否 | 是否校验 SSL 证书(LDAPS 时生效,默认:true) |
该连接器提供一整套 LDAP 目录服务查询工具。