[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: DN maxlength
At 01:51 PM 4/20/99 -0400, Walker, Mike wrote:
>Does anyone know the rfc and "working" (if they are different) maximum
>lengths for a distinguished name? Differences between ldap 2 and 3 if any?
I'm sure a protocol expert will correct me if I get this wrong...
LDAPv2/v3 both use the same encoding rules (BER) on the wire
and do not place any additional restriction upon protocol items
than that required by the encoding. BER can encoded arbitarily
long octet strings.
However, there are other factors. As Ludovic noted, there
are restrictions placed upon DN though schema. There are
also physical limits within implementations, underlying
database managers, and operating systems.
In OpenLDAP, we currently do not enforce schema restrictions
upon DNs. We treat DNs as strings of arbitary length. There
are, of course, "working limits". Exactly what they are would
require significant research.
Kurt