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

Re: Length of the attributes?



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...

Yours
Stephan Siano

-- 
Stephan Siano                           Mail:  Stephan.Siano@suse.de
SuSE Linux AG                           Phone: 06196 50951 31
CU PS DU South TCC UC                   Fax:   06196 409607
Mergenthalerallee 45-47	
D-65760 Eschborn