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

Re: OpenLDAP 2.1 and filters



Emmanuel Blot writes:
> I'd like to use the '>=' or '<=' comparison operators (on integer
> values of the LDAP entries).
> 
> OpenLDAP does not seem to understand these operators.

You need
	ORDERING integerOrderingMatch
in the attribute description for the attribute you compare, in
etc/openldap/schema/.

> Another question: is there a document about ACL in OpenLDAP, with
> detailled examples ?  I'm unable to write the proper ACL rules, and
> the documentation of OpenLDAP 2.x does not help that much.

It more or less follows
  doc/drafts/draft-ietf-ldapext-acl-model-xx.txt
See also
  http://www.openldap.org/faq/data/cache/634.html

-- 
Hallvard