Does the LDAP protocol limit the length of a DN

二次信任 提交于 2019-12-19 03:15:52

问题


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.


回答1:


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




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/1253575/does-the-ldap-protocol-limit-the-length-of-a-dn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!