views:

380

answers:

2

Does the LDAP protocol specify a maximum length that a DN can take?

I've looked through http://tools.ietf.org/html/rfc4514 but I can't find any restrictions that it imposes.

+2  A: 

Most implementations of LDAP DN's usually hit 256 characters, which I think comes from X.500 still. After all X.500 defines the DAP, and LDAP is the Lightweight DAP protocol.

geoffc
+1  A: 

No, it doesn't seem to be specified explicitly anywhere - and the Active Directory implementation also doesn't impose a max length on the DN syntax (2.5.5.1).

Marc

marc_s