(&(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)))
精彩评论