yapi LDAP插件是否支持组认证登录

tgabmvqs  于 2022-04-21  发布在  Java
关注(0)|答案(0)|浏览(113)

版本号

v1.7.0

什么问题

LDAP配置如下,可以通过认证
"ldapLogin": {
"enable": true,
"server": "ldap://ldapsvr.example.com",
"baseDn": "cn=Manager,dc=example,dc=com",
"bindPassword": "",
"searchDn": "ou=People,dc=example,dc=com",
"searchStandard": "mail"
}

如下设置不能解决只能yapi组才能登录问题...请问目前是否支持组认证?

"ldapLogin": {
"enable": true,
"server": "ldap://ldapsvr.example.com",
"baseDn": "cn=Manager,dc=example,dc=com",
"bindPassword": "",
"searchDn": "ou=Group,dc=example,dc=com",
"searchStandard": "&(cn=yapi)(mail=%s)"
}

如何复现此问题

什么浏览器

Chrome

什么系统(Linux, Windows, macOS)

Linux

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题