我尝试使用LDAP匹配规则,但我无法检索搜索条目usind LDAP匹配规则过滤器。
I tried using LDAP matching rule but i am not able to retrieve search entries usind LDAP matching rule filter.
这是我如何发送过滤器:
过滤(及(对象类= *)(的memberOf:1.2.840.113556.1.4.1941:=)(CN = gasaxena))
This is how i am sending the filter:
filter (&(objectclass=*)(memberof:1.2.840.113556.1.4.1941:=)(cn=gasaxena))
我甩在PCAP的过滤器LDAP服务器上收到良好,这是它的样子: 过滤: (&(&(objectclass=*)(memberof:1.2.840.113556.1.4.1941:=[NULL]))(cn=gasaxena))
I dumped the filter in pcap received on ldap server as well and this is how it looks like:
filter: (&(&(objectclass=*)(memberof:1.2.840.113556.1.4.1941:=[NULL]))(cn=gasaxena))
可有人指出,如果我错过了什么?该服务器是AD
Can someone point out, if i have missed out anything? The server is AD
您应该执行针对类似组搜索:
You should perform the search against the group similar to:
(member:1.2.840.113556.1.4.1941:=CN=John Smith,DC=MyDomain,DC=NET)
不是的memberOf用户。
Not memberOf on the user.
-Jim
上一篇:春天ActiveDirectoryLdapAuthenticationProvider handleBindException - 提供的密码是无效的错误春天、错误、密码、handleBindExc
下一篇:动作3睡眠?睡眠、动作