How long (maximum characters) is an LDAP distinguished name?

ldap

Solution

There is no defined maximum length of a distinguished name, or of an attribute value, in an LDAP-compliant server, though certainly there would be a practical limit because resources are finite. Non-compliant servers are whatever their designers build, of course.

Problem

Is there a maximum length to DN's? If I want to store them in a database table, what would I set the length to?

Original source

Related problems