LDAP嵌套组成员资格过滤器嵌套、过滤器、组成员、资格

2023-09-08 12:51:26 作者:冰蓝水蜜桃

我尝试使用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

 
精彩推荐
图片推荐