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

Re: (uid=*) search filter returns no entries (ITS#2522)



You're right. I added a pres index on uid and now it works (only had eq
before). Thanks.

Jon

----- Original Message ----- 
From: "Howard Chu" <hyc@highlandsun.com>
To: <jemiller@uchicago.edu>; <openldap-its@OpenLDAP.org>
Sent: Wednesday, May 21, 2003 2:38 PM
Subject: RE: (uid=*) search filter returns no entries (ITS#2522)


> I see the problem, thanks. One thing to note however, is this only fails
when
> the particular attribute is not indexed. If you're doing a lot of these
> searches, you should be using an index on the relevant attribute.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
>
> > -----Original Message-----
> > From: owner-openldap-bugs@OpenLDAP.org
> > [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> > jemiller@uchicago.edu
> > Sent: Wednesday, May 21, 2003 10:00 AM
> > To: openldap-its@OpenLDAP.org
> > Subject: Re: (uid=*) search filter returns no entries (ITS#2522)
> >
> >
> > Howard Chu wrote me and told me that this bug is a duplicate
> > of ITS#2507.
> >
> > I just tested again with OpenLDAP 2.1.20 and found that the
> > bug may only be
> > partly fixed. For example, if I do a,
> >
> > ldapsearch '(uid=*)'
> >
> > it now works. i.e. it returns entries whereas before it didn't return
> > anything.
> >
> > This also works.
> >
> > ldapsearch '(uid=swilson)'
> >
> > However, this doesn't work.
> >
> > ldapsearch '(&(uid=*)(uid=swilson))'
> >
> > It doesn't return any entries. This query worked in OpenLDAP 2.1.11.
> >
> > Jon
> >
> > ----- Original Message -----
> > From: <openldap-its@OpenLDAP.org>
> > To: <jemiller@uchicago.edu>
> > Sent: Thursday, May 15, 2003 6:24 PM
> > Subject: Re: (uid=*) search filter returns no entries (ITS#2522)
> >
> >
> > >
> > > *** THIS IS AN AUTOMATICALLY GENERATED REPLY ***
> > >
> > > Thanks for your report to the OpenLDAP Issue Tracking System.  Your
> > > report has been assigned the tracking number ITS#2522.
> > >
> > > One of our support engineers will look at your report in due course.
> > > Note that this may take some time because our support engineers
> > > are volunteers.  They only work on OpenLDAP when they have spare
> > > time.
> > >
> > > If you need to provide additional information in regards to your
> > > issue report, you may do so by replying to this message.  Note that
> > > any mail sent to openldap-its@openldap.org with (ITS#2522)
> > > in the subject will automatically be attached to the issue report.
> > >
> > > mailto:openldap-its@openldap.org?subject=(ITS#2522)
> > >
> > > You may follow the progress of this report by loading the following
> > > URL in a web browser:
> > >     http://www.OpenLDAP.org/its/index.cgi?findid=2522
> > >
> > > Please remember to retain your issue tracking number (ITS#2522)
> > > on any further messages you send to us regarding this report.  If
> > > you don't then you'll just waste our time and yours because we
> > > won't be able to properly track the report.
> > >
> > > Please note that the Issue Tracking System is not intended to
> > > be used to seek help in the proper use of OpenLDAP Software.
> > > Such requests will be closed.
> > >
> > > OpenLDAP Software is user supported.
> > > http://www.OpenLDAP.org/support/
> > >
> > > --------------
> > > Copyright 1999-2003 The OpenLDAP Foundation, All Rights Reserved.
> > >
> >
>