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

Re: Filter problem...



At 11:14 AM 2002-01-18, Pablo Victory wrote:
>I have the following filter:
> 
>(&(objectclass=my-Customer)(my-CustomerStatus=A)(my-CustomerRole=*))
> 
>And it works just fine. When I perform the search with this filter, it answers the desired customer. But if I change it to:
> 
>(&(objectclass=my-Customer)(my-CustomerStatus=A)(my-CustomerRole=se*))
> 
>Now a search using this filter answers nothing. Note that the only change was the value of the last attribute (my-CustomerRole). This filter should answer the same customer as the first one but it doesn't.
>Is there anything special about the filter syntax in OpenLDAP?

No, OpenLDAP uses RFC 2254 string representations of the LDAP filter.

Likely the second filter evaluates to Undefined.  Does
my-CustomerRole have a SUBSTRings matching rule?  Is "se"
a value substring for that rule?

Kurt