Why full name has two ldap attributes cn and name?
-
Friday, June 15, 2012 5:56 AM
Now I was wondering why full name has two ldap attributes, cn and name. Full name is even used in Distinguished name.
Where this two names cn and name is used. And why some ldap attributes have same names as the user properties and others have different. For example, Initials in user properties has the ldap attribute as initials (same). But first name has the ldap attribute givenName. Why?
Thanks and Regards, Radhakrishnan
All Replies
-
Friday, June 15, 2012 7:13 AMModerator
CN is canonical name & it has to be unique where as display name is a name. Display name can be same where as CN should be unique. The dissimilarity in the attribute/ldap new is to maintain uniqueness among all the attribute/objects.
http://www.selfadsi.org/user-attributes-w2k8.htm
http://www.kouti.com/tables/userattributes.htm
http://www.rlmueller.net/Name_Attributes.htm
Awinish Vishwakarma - MVP - Directory Services
My Blog: awinish.wordpress.com Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.- Proposed As Answer by iSiek Friday, June 15, 2012 7:27 AM
-
Friday, June 15, 2012 7:28 AMBut there is a ldap attribute "name" which has the same value as "cn". Yes, there is the display name which can be changed at any time and it need not be unique and same as the full name. Now both cn and name has the same value as full name. Why? And when and where these two names are used?
Thanks and Regards, Radhakrishnan
-
Monday, June 18, 2012 8:08 AMModeratorHi,
We can check the third link provided by Awinish regarding the difference between LDAP attributes "CN" and "NAME".
==
The "Name" property method of the LDAP provider is the same as the "cn" property, but with the string "cn=" appended in front. For example, if cn = "TestUser", then Name = "cn=TestUser". The "Name" property method returns the Relative Distinguished Name (RDN) of the object.
==
Regards
KevinTechNet Community Support
-
Monday, June 18, 2012 9:41 AMBut in the attribute editor tab of user properties, the full name that I have given to the user is the same for both cn and name. I created a user called "testuser1" with full name as "testuser". Now both cn and name attributes hold the same value "testuser".
Thanks and Regards, Radhakrishnan

