cat icon indicating copy to clipboard operation
cat copied to clipboard

引入 LDAP 详细需要改动哪些东西呢?

Open wangketao2010 opened this issue 2 years ago • 2 comments

哪位大佬知道如果想引入自己公司的LDAP需要修改哪些配置啊,手册里面说的有点笼统,只在 /data/appdatas/cat/server.xml 里面添加 如下一行配置,无效 <ldap ldapUrl="ldap://xx.xx.cn/cn=xx,cn=xx,dc=xx,dc=xx,dc=com"/> 还需要改动哪些地方?在配置页面修改点击保存,刷新后信息就丢了

wangketao2010 avatar Dec 29 '22 11:12 wangketao2010

如果你是程序员,建议你看一下 com.dianping.cat.system.page.login.service.SessionManager#SessionManager image 根据图片中提示,你需要使用环境变量: CAT_LDAP_URL:ldap的服务器地址 CAT_LDAP_USER_DN_TPL: ldap的用户模板,cn={0},dn=xxxx,dn=xx CAT_LDAP_USER_DISPLAY_ATTR:用户的属性

不过,我需要本地实验一下才可以。期待我是正确的

ityestop avatar Jun 15 '23 13:06 ityestop

你好 请问解决了吗? 有没有资料提供目前也要Cat 对接LDAP

longhai-he avatar Apr 23 '24 08:04 longhai-he