249Central
asked on
Problem with AD LDAP Ranges
from vb, this ldap query works for getting all the records:
<LDAP://10.0.0.1>;(&(objec tCategory= Group)(cn= Group1));d istinguish edname,nam e,member;s ubtree ........
however, if I try to insert a range into this query the recordset comes back with nothing:
<LDAP://10.0.0.1>;(&(objec tCategory= Group)(cn= Group1));d istinguish edname,nam e,member;r ange=0-9;s ubtree
'this does NOT work and there are a few hundred members
Why doesn't that 2nd query work above? Am I missing something with the RecordSet? Does anyone have some example vb code that they have used with ldap ranges that I could compare?
I have read a very similar question from Pber posted here:
https://www.experts-exchange.com/questions/20896212/AD-LDAP-problem-with-range-limits.html?query=ldap+range+problem&clearTAFilter=true
and have looked at these links already:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/example_code_for_using_ranging_to_retrieve_members_of_a_group.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;814925
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/searching_using_range_retrieval.asp
<LDAP://10.0.0.1>;(&(objec
however, if I try to insert a range into this query the recordset comes back with nothing:
<LDAP://10.0.0.1>;(&(objec
'this does NOT work and there are a few hundred members
Why doesn't that 2nd query work above? Am I missing something with the RecordSet? Does anyone have some example vb code that they have used with ldap ranges that I could compare?
I have read a very similar question from Pber posted here:
https://www.experts-exchange.com/questions/20896212/AD-LDAP-problem-with-range-limits.html?query=ldap+range+problem&clearTAFilter=true
and have looked at these links already:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/example_code_for_using_ranging_to_retrieve_members_of_a_group.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;814925
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/searching_using_range_retrieval.asp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER