LDAP协议是否限制DN的长度

发布于 2024-07-30 12:53:14 字数 188 浏览 2 评论 0原文

LDAP 协议是否指定 DN 可以采用的最大长度?

我浏览过 https://www.rfc-editor.org/rfc/rfc4514 但我找不到它施加的任何限制。

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

I've looked through https://www.rfc-editor.org/rfc/rfc4514 but I can't find any restrictions that it imposes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

养猫人 2024-08-06 12:53:14

大多数 LDAP DN 的实现通常达到 256 个字符,我认为这仍然来自 X.500。 毕竟X.500定义了DAP,而LDAP是轻量级DAP协议。

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.

橘寄 2024-08-06 12:53:14

不,它似乎没有在任何地方明确指定 - 并且 Active Directory 实现也没有对 DN 语法强加最大长度 (2.5.5.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

守护在此方 2024-08-06 12:53:14

根据的回复类似的问题,ActiveDirectory将DN长度限制为255个字符。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文