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

Re: Schema and Attribute define??

--On Donnerstag, 15. November 2001 20:51 +0800 ldap <ldap@mosotech.com> wrote:

I am defining my attributes.
Some of my attributes are of type
1) Boolean

2) Generialized Timestamp
EQUALITY generalizedTimeMatch ORDERING generalizedTimeOrderingMatch SYNTAX

3) Binary
Such attributes have an octetString Syntax in LDAPv3:
EQUALITY octetStringMatch SYNTAX

Do anyone know how to define their "EQUALITY" and "ORDERING" rule from

I learn that Ldap will use the matching rules defined in the attribute.
Could I tell ldap to search with different matching rules in runtime??

LDAPv3 offers a feature called extensible matching which will let you do this. IIRC it is not implemented in the OpenLDAP server.

And after I define my own schema file, does Ldap provide any tools
to check the file or any other method available to check the definition
of customed defined attributes and obejctclass for any errors??

Sort of. You include your schema fine in slapd.conf and restart slapd. If it doesn't complain you're ok.

Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de