开发者

AD Searchfilter are not working in Java Code but working using ldp client

开发者 https://www.devze.com 2023-02-24 11:39 出处:网络
(&(objectClass=group)(member=dc=pc,dc=com)) This search filter gives a result when used wit开发者_Python百科h ldp client.
(&(objectClass=group)(member=dc=pc,dc=com))

This search filter gives a result when used wit开发者_Python百科h ldp client.

but in java code this returns Result set empty.


Can you please try :

(&(objectClass=group)(member=(dc=pc,dc=com))) 

or

(&(objectClass=group)(member='dc=pc,dc=com'))

An according to Microsoft recomandations it would be better to write :

(&(objectClass=group)(member:1.2.840.113556.1.4.1941:=(dc=pc,dc=com))) 
0

精彩评论

暂无评论...
验证码 换一张
取 消