Administrator Guide
3. Navigate to the C:\WINDOWS\ADAM directory, and run the command:
regsvr32 schmmgmt.dll
This command enables the Active Directory plug-in, schmmgmt.dll.
4. Click Start and then type Run.
5. Open the Run dialog and type MMC to start the Microsoft Management Console (MMC).
6. In the Console window, select File > Add/Remove Snap-in.
7. In the Add or Remove Snap-ins dialog box, click Active Directory Schema.
8. Click Add, and then click OK.
9. 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.
CAUTION: If you click (instead of right-click) and get an error, you have to restart MMC. These steps do not
work if you accidentally click instead of right-click.
10. In the Change Directory Server dialog box, under Change to, click This Domain Controller AD LDS instance.
11. 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).
NOTE: Press Enter after typing this information (or double- click the text). If you do no press enter, the OK button is
not displayed.
12. Click OK.
13. Add the gidNumber and uidNumber attributes to the user class as follows:
a. Expand the Active Directory Schema node, expand the Classes node, right-click User, and then click Properties.
b. In the Properties dialog box, click the Attributes tab.
c. Click Add to open the Select Schema Object dialog box.
d. Click gidNumber, and then click OK.
e. Click Add to open the Select Schema Object dialog box.
f. Click uidNumber, and then click OK.
g. Click OK.
CAUTION:
If you accidentally left-click instead of right-click on User, after you do step g, you receive an
error and have to start over again. To prevent this, either right-click or go back up to the Active Directory
Schema node and click on it, then repeat step a.
14. Add the gidNumber attribute to the group class as follows:
a. Expand the Active Directory Schema node and the Classes node.
b. Right-click Group, and then click Properties.
c. In the group Properties dialog box, click the Attributes tab.
d. Click Add to open the Select Schema Object dialog box.
e. Click gidNumber, and then click OK.
f. Click OK.
15. Exit MMC, and then click Save.
Adding user and group account maps from a UNIX-
based system to a Windows-based system
This section describes the following procedures that are required to add user and group account maps to a Windows-based
system:
● Connecting to the Distinguished Name or Naming Context: Setting a default naming context and creating a container to hold
your account mappings from UNIX to the Windows operating system.
● Adding User Account Maps: Mapping the uidNumber, gidNumber, and sAMAccountName attributes, to create a user-
class object in the CN=Users container.
● Adding Group Account Maps: Creating a group-class object in the CN=Users container to map the gidNumber and
sAMAccountName attributes.
26
Using your NAS system