Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing and Administering LDAP-UX Client Services with Microsoft Windows 2000 Active Directory > Chapter 5 Command and Tool Reference

Adding Users, Groups and hosts

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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:

    1. Start Active Directory Users and Computers

    2. Click the user (or computers) you want to set for posix attributes.

    3. Choose "Properties" from the Action menu.

    4. Click the "Unix Attributes" tab.

    5. 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.

    6. 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.

    1. On your domain controller, click Start, then Run. In the Open dialog box, type mmc, then click OK.

    2. Click the Microsoft Management Console menu, choose Add/Remove Snap-in.

    3. In the Add/Remove Snap-In dialog box, click Add.

    4. In the Add Standalone Snap-In dialog box, choose ADSI Edit, then click Add and then Close.

    5. ADSI Edit should appear in the Add/Remove Snap-In dialog box, click OK.

    6. In the Microsoft Management Console, click ADSI Edit and choose Connect to... from the Action menu.

    7. In the Connection dialog box, check Naming Context, and choose Domain NC from the pull down list at the right. Then press OK.

    8. Domain NC should appear on the right pane. Double-click it to expand the list.

    9. 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.

    10. 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.

    11. In the Select Which Properties to View dialog box, choose Optional from the pull down list on the right.

    12. In the Select Property to View dialog box, choose the posix attribute you want to set values.

    13. After you finish all value settings, click on OK.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.