[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Boolean filters



At 01:05 PM 6/13/2001, magnus14@spray.se wrote:
>In order to perform a search with the ldap_search_s() function, a filter may be applied, but how can you specify a boolean value as the filter?  We have tried adding the boolean value using the strings "TRUE" and "FALSE", and we can verify that it succeeded by performing a search with an existence filter of "attribute=*".  However, performing a search using the "TRUE" and "FALSE" strings fails to produce any results.  We have even tried performing a search with the values 1 and 0, to no avail.
>
>Any ideas on how to specify a boolean filter?

        (b=TRUE) or (b=FALSE)

where b is an attribute type has a boolean syntax and a
boolean match equality matching rule.

Kurt