This discussion is archived
2 Replies Latest reply: Mar 28, 2013 1:51 AM by Sylvain Duloutre RSS

What is the default value length for attribute?

891010 Newbie
Currently Being Moderated
I have found that there is no limit for the value length about the attribute directorystring.
Is it right?
Another question is:
I created an attribute with the "multi-valued".
How many values can i add into the same entry?
Thank u very much.
  • 1. Re: What is the default value length for attribute?
    Sylvain Duloutre Pro
    Currently Being Moderated
    Correct. By default, there is no limit for the value length. However, it is possible to limit the max length for a given attribute type by specifying the max length in curly bracket in the schema definition e.g.

    attributetype ( 2.5.4.41 NAME 'name'
    EQUALITY caseIgnoreMatch
    SUBSTR caseIgnoreSubstringsMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

    The value {32768} indicates the maximum length of the string and is optional.

    There is no limit in the number of attribute value too (as long as you have enough memory and disk to process it) . However, keep in mind that most directory servers limit the length of the LDAP PDUs, so you might have to change these settings if you want to create or search for very big entries.
  • 2. Re: What is the default value length for attribute?
    891010 Newbie
    Currently Being Moderated
    Thank u very much.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points