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

Re: searching multi-valued attributes...



At 04:18 PM 2001-09-28, Bryan Santangelo wrote:
>Performing an ldapsearch with the following filter returns all entries with id=20 that have the role attribute set. 
>
>(&(objectclass=myobectclass)(id=20)(role=*)) 
>
>Performing an ldapsearch with the following filter returns no entries even though there is an entry with attribute id=20 and role=myrole.
>
>(&(objectclass=myobjectclass)(id=20)(role=myrole)) 
>
>Am I missing something? Any help would be appreciated. 

Assume everything else is equal, this indicates that the
filter (role=myrole) is Undefined.  A filter can be
Undefined for a number of reasons, but I'd start by
checking whether or not role has an EQUALITY matching
rule.

Kurt