Step 5: Update the Active Directory Schema
Published: May 11, 2009
Applies To: Windows Server 2008
Follow this procedure to update the user and group classes with the uidNumber and gidNumber attributes in the Active Directory schema.
-
Open an elevated command prompt. (Click Start, right-click Command Prompt, and then click Run as administrator.)
-
Navigate to the C:\WINDOWS\ADAM directory, and then type the following command:
regsvr32 schmmgmt.dll
This command enables the Active Directory plug-in, schmmgmt.dll.
-
Click Start, click Run, and type MMC to open the Microsoft Management Console (MMC).
-
On the File menu, click Add/Remove Snap-in.
-
In the Add or Remove Snap-ins dialog box, click Active Directory Schema, click Add, and then click OK.
-
Right-click the Active Directory Schema node, and then click Change Active Directory Domain Controller to connect to the AD LDS instance that was previously created.
-
In the Change Directory Server dialog box, under Change to, click This Domain Controller or AD LDS instance.
-
In the Name column, replace the placeholder text <Type a Directory Server name[:port] here> with the server and port number (for example, localhost:389), and then click OK.
-
Add the gidNumber and uidNumber attributes to the user class as follows:
-
Expand the Active Directory Schema node, expand the Classes node, right-click User, and then click Properties.
-
In the Properties dialog box, click the Attributes tab.
-
Click Add to open the Select Schema Object dialog box, click gidNumber, and then click OK.
-
Click Add to open the Select Schema Object dialog box, click uidNumber, and then click OK.
-
Click OK.
-
Expand the Active Directory Schema node, expand the Classes node, right-click User, and then click Properties.
-
Add the gidNumber attribute to the group class as follows:
-
Expand the Active Directory Schema node, expand the Classes node, right-click Group, and then click Properties.
-
In the group Properties dialog box, click the Attributes tab.
-
Click Add to open the Select Schema Object dialog box, click gidNumber, and then click OK.
-
Click OK.
-
Expand the Active Directory Schema node, expand the Classes node, right-click Group, and then click Properties.
-
Close the MMC, and then click Save.
