0
点赞
收藏
分享

微信扫一扫

YApi开启LDAP


编辑配置文件:

vi /api/config.json

添加ldapLogin:

"ldapLogin": {
"enable": true,
"server": "ldap://l-ldapt1.ops.dev.cn0.qunar.com",
"baseDn": "CN=Admin,CN=Users,DC=test,DC=com",
"bindPassword": "password123",
"searchDn": "OU=UserContainer,DC=test,DC=com",
"searchStandard": "mail"
}

最后config.json如下图:

YApi开启LDAP_服务器

保存,重启容器即可。

举报

相关推荐

0 条评论