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

RE: LDAP Filter Problem



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Melissa Evans

> I'm using OpenLDAP 2.1.20 on FreeBSD 5.1.
>
> I'm having an odd problem with a simple search filter and the order
> (with at least) uid and objectclass criteria.
>
> "(&(uid=anyuser)(objectclass=posixaccount))" doesn't work.
> "(&(objectclass=posixaccount)(uid=anyuser))" works.
>
> Anyone know why this happens?

2.1.20 had a bug with filtering of unindexed attributes, which was fixed in
2.1.21. The current release is 2.1.22. You should upgrade. As for indexing,
you should always configure an equality index for objectclass. I think in 2.2
we may decide to do this silently by default.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support