Chris Brook wrote:
In addition, how do I retrieve based on a complex filter, e.g. (x=a) or (y=b). I tried using the construct in RFC2254 as a template: "(uid=abc*)(|(cn=xyz*))" but this only retrieves the "uid=abc*" matches and only gives the base attributes, dn and ufn.
The syntax is:
(|(uid=abc*)(cn=xyz*))
This is prefix notation, while you were trying to use infix.
--Dave