 |
» |
|
|
 |
There are different ways to add data to ADS. Select the method
below that fits your situation. You can create
user, group, and other service objects by using the object classes
and attributes specified by RFC 2307. In this situation you must
import an ldif file with all RFC 2307 object classes and attributes
specified. Alternatively, you can add users, groups, and hosts
using the Windows 2000 administrative tool Active
Directory Users and Computers. If you are using Active
Directory Users and Computers, perform the following
to set posix attributes: Start Active
Directory Users and Computers Click the user (or computers)
you want to set for posix attributes. Choose "Properties" from
the Action menu. Click the "Unix Attributes"
tab. In the NIS Domain box, select
a NIS domain from the list. Server for NIS creates a default
NIS domain based on your Active Directory domain name. For users, fill in the "UID",
"Login Shell", "Home Directory" and "Primary group name/GID" fields.
Click "OK". For hosts, fill in the "IP Address" and the "Alias
Name". Click "OK"
To add networks, protocols, services, rpc objects
or set posix attribute memberUID for groups, you need to use the
ADSI edit snap-in tool. These object classes and attributes cannot
be populated from the Active Directory Users and Computers tool. On your domain
controller, click Start, then Run. In the Open dialog box, type mmc, then click OK. Click the Microsoft Management
Console menu, choose Add/Remove Snap-in. In the Add/Remove Snap-In
dialog box, click Add. In the Add Standalone Snap-In
dialog box, choose ADSI Edit, then click Add and then Close. ADSI Edit should appear in
the Add/Remove Snap-In dialog box, click OK. In the Microsoft Management
Console, click ADSI Edit and choose Connect to... from the Action menu. In the Connection dialog
box, check Naming Context, and choose Domain NC from the pull down list at the right. Then press
OK. Domain NC should appear on
the right pane. Double-click it to expand the list. To change group attributes,
click the container which contains the group you want to set posix
attributes for. Click the group and choose Properties from the Action
menu. To create an rpc, services,
etc object, click the container of the object you want to create,
click the Action menu, choose New and click on Object. Choose the Object Class (msSFUIpNetwork, msSFUIpProtocol, msSFUIpService,
msSFUOncRpc), provide the mandatory attribute value(s) and the object
will be created. Click on the object and choose Properties from the Action
menu to set the RFC 2307 attributes. In the Select Which Properties
to View dialog box, choose Optional from the pull down list on the right. In the Select Property to
View dialog box, choose the posix attribute you want to set values. After you finish all value
settings, click on OK.
|