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中的uidNumber~~ | [Question] Some question... #383

Open
AbyssGith opened this issue Mar 25, 2025 · 2 comments
Labels
question Further information is requested

Comments

@AbyssGith
Copy link

Question Report

请在提交问题之前回答这些问题,谢谢。 | 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

@AbyssGith AbyssGith added the question Further information is requested label Mar 25, 2025
@eryajf
Copy link
Member

eryajf commented Mar 25, 2025

您好 @AbyssGith👋,我已收到您的反馈,我将安排时间考虑您提交的信息并进行回复。-- 这条信息是由自动回复的机器人发出的。

Hello @AbyssGith. I have received your feedback, and I will arrange time to consider the information you submitted and reply. -- This message is sent by an automatic reply robot.

@eryajf
Copy link
Member

eryajf commented Mar 25, 2025

详见文档说明:https://ldapdoc.eryajf.net/pages/a5328b/#%E5%BA%94%E7%94%A8

目前该系统未支持 posixAccount

@eryajf eryajf closed this as completed Mar 25, 2025
@eryajf eryajf reopened this Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants