如何在OpenLdap中的objectClass groupOfUniqueNames中搜索uniqueMember?
dn: cn=group,dc=example,dc=com objectclass: groupOfUniqueNames cn: group uniquemember: uid=member1 uniquemember: uid=member2
我试过以下没有结果:
ldapsearch -x -b dc=example,dc=com “(uniqueMember=uid=member1)”
请帮助我.
此过滤器中使用的断言可能不是完整的DN:“(uniqueMember = uid = member1)”. uniqueMember具有DN语法,因此,断言中使用的值必须是DN,例如:(uniqueMember = uid = member1,ou = people,dc = example,dc = com).
原文链接:https://www.f2er.com/bash/383454.html也可以看看
> LDAP: Mastering Search Filters
> LDAP: Search best practices
> LDAP: Programming practices