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

Re: rfc2254 incompatibility



> Hi, list
>
> I try use
> ldapsearch ... "(uidNumber>=222)" -- it not work.

uidNumber, as per rfc 2307, does not have any ordering match

> ldapsearch ... "(uidNumber=222)" -- work fine.
>
> uidNumber -- integer field and greaterOrEqual must work, I think.
>
> I find hint on IRC -- add
> ORDERING integerOrderingMatch
> in the nis.schema attributetype definition.

This hint is bad: it suggests to alter standard track schema.

>
> I try this, but this attributetype builtin now and I get error
> /usr/local/etc/openldap/schema/nis.schema: line 42: Duplicate
> attributeType: "1.3.6.1.1.1.1.0"
>
> I use openldap-2.3.11 on FreeBSD 6.0-STABLE.
>
> How I can use greaterOrEqual choise?

define your own attribute with ordering match

> If openldap ignore RFC2254, what the reason?

OpenLDAP __adheres__ to rfc2254 AND 2307.

> If it bug, how I can report?

It's working by design and by specs.  See my initial suggestion.

p.



Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------