Changing the Naming Attribute of the InetOrgPerson Class (307998)
The information in this article applies to:
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
This article was previously published under Q307998 SUMMARY Every object in Active Directory is an instance of an
object class that is defined in the Active Directory schema. An object class
represents a category of objects, such as users, printers, or application
programs, that share a set of common characteristics. The definition for each
object class contains a list of the attributes that can be used to describe
instances of the class. The InetOrgPerson object class is a general
purpose object class that defines attributes about people in Lightweight
Directory Access Protocol (LDAP) and X.500 directories. Every object
in Active Directory has a naming attribute from which its relative
distinguished name (RDN) is formed. The naming attribute for most class-schema
objects is common-name. The value that is assigned to a common-name attribute
is determined by the value that the class-schema will have as its relative
distinguished name. In Active Directory, CN is used as the naming
attribute for the InetOrgPerson class. Other LDAP directories, such as IPLANET,
implement a different attribute, such as "Employee ID", to define the CN name
of an InetOrgPerson object. This document shows as an example how
administrators can use the "Employee ID" attribute to change the naming
attribute for the InetOrgPerson class. If you modify the relative
distinguished name attribute of any class from its standard definition, this
may make it incompatible with applications and cause problems in migration
scenarios. Microsoft recommends that if you do change the RDN attribute for
application compatibility, you do so in an application-specific forest to avoid
compatibility problems with other applications. Once the relative
distinguished name attribute for a class is changed, all new instances of the
class will use the new relative distinguished name attribute. The relative
distinguished name attribute for previous instances will not change and cannot
be changed. To change the relative distinguished name attribute for existing
objects, you must perform the following tasks:
- Export the existing objects.
- Delete the existing objects from the directory.
- Redefine the class with the new relative distinguished name
attribute.
- Modify the exported version to use the new relative
distinguished name attribute.
- Import the data back into the directory.
This method may not be acceptable for user objects because the
security identifiers (SIDs) and passwords cannot be preserved.
Microsoft recommends that administrators not modify the relative distinguished
name attribute in the schema. REFERENCES For information about making defunct classes, refer to the
following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 3/10/2006 |
---|
Keywords: | kbenv kbinfo KB307998 |
---|
|