在 LDAP 中,displayName 和 commonName 字段似乎存储的是相同内容,即用户的全名。有人能解释一下它们之间的预期区别吗?你什么时候希望它们不同?
谢谢!
答案1
以下评论来自INetOrgPerson 架构OpenLDAP 提供了一个简单的解释:
# displayName
# When displaying an entry, especially within a one-line summary list, it
# is useful to be able to identify a name to be used. Since other attri-
# bute types such as 'cn' are multivalued, an additional attribute type is
# needed. Display name is defined for this purpose.
希望能帮助到你 :)