在LDAP中,对我来说,displayName和commonName字段用于存储相同的内容,即用户的全名。谁能解释他们之间的预期区别?您何时希望它们与众不同?
谢谢!
在LDAP中,对我来说,displayName和commonName字段用于存储相同的内容,即用户的全名。谁能解释他们之间的预期区别?您何时希望它们与众不同?
谢谢!
Answers:
以下来自OpenLDAP的INetOrgPerson架构的注释提供了简单的解释:
# 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.
希望能帮助到你 :)