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

Re: LDAP Filter Problem

Melissa Evans wrote:
On Tue, 8 Jul 2003, [ISO-8859-1] Michael Str?der wrote:

Melissa Evans wrote:

"(&(uid=anyuser)(objectclass=posixaccount))" doesn't work.
"(&(objectclass=posixaccount)(uid=anyuser))" works.

How does your index configuration look like? You should have an equality index for yttribute 'uid'.

Thanks. I added this and used slapindex to regenerate indices and it works as expected now. I hadn't got around to specifying indices beyond the default thinking they were important for performance but not integral to function.

I guess it has to do with search limits and how OpenLDAP builds lists of search result candidates. Maybe one of the developers can elaborate on this.

Ciao, Michael.