Does the LDAP protocol limit the length of a DN

后端 未结 3 708
抹茶落季
抹茶落季 2021-01-05 13:00

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 i

相关标签:
3条回答
  • 2021-01-05 13:06

    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.

    0 讨论(0)
  • 2021-01-05 13:06

    According to that reply to a similar question, ActiveDirectory limits the DN length to 255 characters.

    0 讨论(0)
  • 2021-01-05 13:08

    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

    0 讨论(0)
提交回复
热议问题