I need a Ldap query to return multiple users, and so I need it to go through a list of userIDs and search the directory.
Essentially, what I want to do is
(|(cn=val1)(cn=val2)(cn=val3).....)
I would use just the OR filter for a few values but I need to get upto 100 values. Is there a more efficient way of doing this? Probably a 'contains' or 'in' filter that lets me pass a list of values to check against?