 |
» |
|
|
 |
Select one of the following methods to add data to ADS. 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 Active Directory Users and Computers administrative
tool. If using Active Directory Users and Computers, perform the
following to set POSIX attributes: Start Active Directory Users and Computers. Click the users (or computers)
you want to set for POSIX attributes. Select 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.
Add networks, protocols,
services, rpc objects, or set POSIX attribute memberUID for groups using 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, enter mmc, then click OK. Click the Microsoft
Management Console menu, then select Add/Remove
Snap-In. In the Add/Remove
Snap-In dialog box, click Add. In the Add
Standalone Snap-In dialog box, select ADSI Edit, then
click Add and then Close. ADSI
Edit appears in the Add/Remove
Snap-In dialog box. Click OK. In the Microsoft
Management Console, click ADSI
Edit and select Connect to... from
the Action menu. In the Connection dialog
box, check Naming Context, and select
Domain NC from the drop-down
list at the right. Then click OK.. Domain
NC appears on the right pane. Double-click it to expand the
list. To change group attributes: Click
the container of the group for which you want to set POSIX attributes. Click the group and select
Properties from the Action menu.
To create an object (rpc, services, and so on): Click
the container of the object you want to create, click the Action
menu, choose New and click
on Object. Select the Object Class (
msSFUIpNetwork, msSFUIpProtocol, msSFUIpService, or msSFUOncRpc), and provide the mandatory attribute values and object
will be created. Click the created object,
and select Properties from the
Action menu to set the RFC 2307
attributes.
In the Select
Which Properties to View dialog box, select Optional from the drop-down list on
the right. In the Select
Which Properties to View dialog box, select the POSIX
attribute for which you want to set values. After you finish all values
settings, click OK.
|