In each solution below, an example of adding the custom
rallencorp-SalesUser
auxiliary class to the
jsmith
user object will be described.
Follow the directions for Recipe 4.11.
Edit the values for the
objectClass
attribute.For “Value to add,” enter
rallencorp-SalesUser
.Click Add.
Click OK twice.
Dynamically linking an auxiliary class to an object is an easy way to
use new attributes without modifying the object class definition in
the schema directly. In Windows 2000, auxiliary classes could only be
statically linked in the schema. With Windows Server 2003, you can
dynamically link them by appending the auxiliary class name to the
objectClass
attribute of an object.
A situation in which it makes more sense to dynamically link
auxiliary classes rather than link them statically is when several
organizations or divisions within a company maintain their own
user
objects and want to add new attributes to the
user
class. Under Windows 2000, each organization
would need to create their new attributes and auxiliary class in the
schema, and then modify the user
class to include
the new auxiliary class. If you have 10 organizations that want to do
the same thing, user
objects in the forest could
end up with a lot of attributes that would go unused. In Windows
Server 2003, each division can instead create the new attributes and
auxiliary class, and then dynamically link the auxiliary class with
the specific objects that they want to have the new attributes. This
eliminates the step of modifying the user
class in
the schema to contain the new auxiliary classes.
It is also worth mentioning that extensive use of dynamically linked
auxiliary classes can lead to problems. If several groups are using
different auxiliary classes, it might become hard to determine what
attributes you can expect on your user
objects.
Essentially, you could end up with many variations of a user class
that each group has implemented through the use of dynamic auxiliary
classes. For this reason, use of dynamic auxiliary classes should be
closely monitored.
Recipe 4.11 for modifying an object
Get Active Directory Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.