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

Re: search with a wildcard works, with exactly matching string it doesn't



Gregory House wrote:
> If I run a query against my directory with this filter:
> 
> "(myDeviceId=ZZZ-07430.08.12345678*)"
> 
> it returns a match showing precisely that myDeviceId =
> "ZZZ-07430.08.12345678"
> 
> If I use this filter, without the wildcard and just the actual value
> 
> "(myDeviceId=ZZZ-07430.08.12345678)"
> 
> it returns no match.

Wild guess:
You've added eq-only index for 'myDeviceId' *after* adding the entry.

See also:

  "How do I add an index after populating the database?"
  http://www.openldap.org/faq/data/cache/136.html

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature