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

Re: Length of the attributes?





--On Dienstag, 19. März 2002 08:08 +0100 Stephan Siano <stephan.siano@suse.de> wrote:

On Monday, 18. March 2002 19:53, Venkataraman, Jeeva wrote:
Is there any max length on the values that an attribute can hold on?
If so where is it specified?
(For instance for the core schema)

It's defined in the SYNTAX statement of the attribute definition (in this example from core.schema the length is 1024 bytes.

attributetype ( 2.5.4.13 NAME 'description'
        DESC 'RFC2256: descriptive information'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

I don't know whether there is a limitation for attribute lengths, there
are  some attributes (as name and all derived attributes) that have a
maximum  length of 32K.

How to specify the same for the custom schema defined attributes?

the same way as in the core schema...

These limits are actually "suggested minimum upper bounds" and are ignored by OpenLDAP. See also recent thread on ietf-ldapbis.


--
Norbert Klasen, Dipl.-Inform.
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