Administrator Guide

34 Using Your NAS System
Extending the AD LDS Schema to Support NFS User Mapping
1
Click
Start
, right-click
Command Prompt
, and click
Run as administrator
to open an elevated command prompt.
2
Navigate to the
C:\WINDOWS\ADAM
directory, and type the following
command:
ldifde -i -u -f MS-AdamSchemaW2K8.LDF -s
localhost:389 -j . -c "cn=Configuration,dc=X"
#configurationNamingContext
This command imports the
MS-AdamSchemaW2K8.LDF
file.
NOTE: This example uses the default LDAP port number 389 for the AD LDS
instance. The strings "cn=Configuration,dc=X" and
#configurationNamingContext should not be modified.
Setting a Default Instance Name for AD LDS Instances
1
Click
Start

Administrative Tools

ADSI Edit
to open
ADSI Edit
.
2
In the console tree, right-click
ADSI Edit
and click
Connect to
.
This opens the
Connection Settings
dialog box.
a
Under
Connection Point
, select the
Select a well known Naming
Context
option, and select
Configuration
from the drop-down menu.
b
Under
Computer
, choose the
Select or type a domain or server
option
, and type the following in the text box:
localhost:389
NOTE: This example uses the default LDAP port number 389. If you specified
a different port number in the Active Directory Lightweight Directory Services
Setup Wizard, use that value instead.
3
Click
OK
.
ADSI Edit
refreshes to display the new connection.
4
In the resulting tree, under the
Configuration
node, click
CN=Configuration
, click
CN=Sites
, click
CN=Default-First-Site-
Name
, click
CN=Servers
, click
CN=server1$ nfsadldsinstance
, and click
CN=NTDS Settings
.
5
Right-click
CN=NTDS Settings
, and click
Properties
.
6
In the
Properties
dialog box, click
msDs-DefaultNamingContext
, and
click
Edit
.
book.book Page 34 Thursday, May 19, 2011 10:45 AM