-
-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Labels
Description
Question Report
- 搜索打开和关闭的 GitHub 问题
请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.
你使用了哪个版本? | Which version did you use?
v0.5.17,openldap2.4.50
预期行为 | Expected behavior
外部应用对接的配置文件中需要使用LDAP中的uidNumber
实际行为 | Actual behavior
没能查到uidNumber
原因分析(如果可以) | Cause analysis (if possible)
. AI搜索结果解读
成功但无数据:
若搜索结果返回 uidNumber 为 null,说明用户条目未正确配置 posixAccount 类或未赋值 uidNumber。
3. 对象类依赖关系
posixAccount 的必要性:
uidNumber 是 posixAccount 类的 强制属性(MUST),若用户条目未添加此类,uidNumber 无法被查询。
问题重现步骤 | Steps to reproduce the problem
ldapsearch -x -D "cn=admin,dc=eryajf,dc=net" -w <密码>
-b "ou=people,dc=eryajf,dc=net"
"(&(objectClass=inetOrgPerson)(objectClass=posixAccount))" uid uidNumber
Reactions are currently unavailable