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用户报错 #375
Comments
组织架构类,这里指的什么,其它工具接ldap都没有要求填组织架构类,也可以正常接入; |
说白一点,你需要告诉用户管理,哪一个类是代表部门的,不然没法同步组织架构。。。
|
search_filter='(objectClass=organizationalUnit)',测试用这个filter去拉取可以拉到一级部门的OU,拉不到二级部门的OU |
dn里加上一级部门OU也能拉到二级部门 |
INFO [2022-04-21 14:34:49] bkuser.categories.tasks(ln:16): going to sync Category<2> |
第一个问题:同步LDAP用户时报错,报错日志如下:
ldap3.core.exceptions.LDAPAttributeError: invalid attribute type memberOf
ldap3.core.exceptions.LDAPAttributeError: invalid attribute type memberOf
File "/data/bkce/usermgr/api/bkuser/categories/vendors/ldap/adapter.py", line 291, in _fetch_data
bkuser.categories.exceptions.FetchDataFromRemoteFailed: 无法获取用户数据, 请检查配置
The text was updated successfully, but these errors were encountered: