[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapsearch in OL 2
On Fri, Aug 03, 2001 at 11:25:20PM +1000, Matthew Palmer wrote:
> On Fri, 3 Aug 2001, Peter W wrote:
>
> > > Unfortunately, not. I have other programs (written in C, linked against
> > > -lldap and using ldapsearch()) which expect memberUntil to be a 6-character
> > > string of the form YYYYmm. Changing all of that would be a pain in the
> > > butt.
> >
> > So use a generic integer match. That's what we're doing. We've got a few
>
> That would be the numericString{Ordering,}Match? Tried it, I can't get the
> Ordering match to work - it crashes the server (as of 2.0.11). I *need* to
> be able to find all records with a memberUntil >= or <= specified months.
Check the Issue Tracking System for the ticket I opened on this. There are
two assert() calls in (IIRC) schema_init.c that should be removed. Pull
those out, recompile, and you're in good shape. Or try REL_ENG_2 from CVS.
-Peter