I constructed a filter like (|(cn=xxxx)(cn=yyyy)......(cn=zzzz)) ...
which works fine ... BUT it only works up to a certain number of
(cn=xxxx) filter sections. I haven't found out the exact number but
when I have > 1000 sections the ldap library gives me an "internal
error" code. (it works for 750 elements which is sofar the biggest
number I got to work)
Anyway, I note that your search with > 750 ORed values in the filter is
likely to be very little efficient; are you sure you can't help otherwise?