Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问ldap怎么配置,我配置后提示 not found an entry #104

Open
370569218 opened this issue Jun 2, 2021 · 2 comments
Open

请问ldap怎么配置,我配置后提示 not found an entry #104

370569218 opened this issue Jun 2, 2021 · 2 comments

Comments

@370569218
Copy link

请问ldap怎么配置,我配置后提示 not found an entry

@370569218
Copy link
Author

能否告知下那几个参数怎么配吗谢谢

@damacheng009
Copy link

damacheng009 commented Oct 30, 2021

通过查看第一次提交的代码搞清楚了。。
可以用LDAP登录了,下面是我的相关配置,关键信息隐去了:
enabled = true
ldap_url = ldap://ip:port
ldap_search_dn = "CN=ldapuser,CN=Users,DC=BATMOBI,DC=ORG"
ldap_search_password = password
ldap_base_dn = "DC=BATMOBI,DC=ORG"
ldap_filter = "(&(objectCategory=person)(objectClass=user)(sAMAccountName=*))"
ldap_uid = sAMAccountName
ldap_scope = 3
ldap_connection_timeout = 30

只能说现有的代码仓库管理很混乱..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants