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
LDAP-UX Client Services B.03.30 with Microsoft Windows 2000 Active Directory Administrator's Guide: HP-UX 11.0 and 11i v1 > Chapter 2 Installing LDAP-UX Client Services

Configuring Active Directory for HP-UX Integration

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes the requirements and steps on how to prepare Active Directory to work with LDAP-UX Client Services.

NOTE: If you will be configuring your system for ADS multiple domains, there will be some additional configuration instructions to follow. These are listed under the appropriate step number.

Step 1: Install Active Directory

Even though Active Directory is an integral component of the Windows 2000 operating system, it must be installed separately after the Windows 2000 Server installation has been completed on your computer.

After the final reboot of the Windows 2000 installation:

  1. The Windows 2000 Configure Your Server screen is displayed, select Active Directory (in the left column).

  2. Click Start to initiate the Active Directory Installation Wizard.

    NOTE: You can also initiate the Active Directory Installation Wizard at any future time, by clicking on Start, Programs, Administrative Tools, Configure Your Server. Choose Active Directory and click on Start.
  3. Install any additional Administrative tools required for you to manage Active Directory. These Windows 2000 Administrative tools are included with Windows 2000 Server to simplify directory administration, but they must be installed separately if your system is running Windows 2000 Professional. The following tools may be required:

    • Make sure you have Active Directory Users and Computers which is needed to manage user accounts.

    • The Active Directory Schema snap-in allows you to manage your Active Directory schema. For installation information, refer to the Active Directory on-line Help “Manage the schema”.

    • Active Directory Services interface (ADSI) editor is part of Windows 2000 Support Tools and is used to create and modify Active Directory objects.

      The Windows 2000 Support Tools can be found on the Windows 2000 Server CD. Click on support/tools/setup to start the setup wizard.

  4. If ADS multiple domains will be used, set up the ADS forest. Ideally, the local domain should contain the most frequently accessed data.

Step 2: Install SFU 2.0 or 3.0 including Server for NIS

POSIX accounts have some attributes, such as user ID, login shell, and home directory, which are not used by Windows 2000. To use Active Directory as a data repository for HP-UX users, the Active Directory schema needs to be extended to include the POSIX schema defined in RFC 2307. Server for NIS, a tool available with the Services for Unix (SFU) add-on package, extends the Active Directory schema based on RFC 2307 to allow integration of POSIX attributes.

IMPORTANT: When installing SFU version 2.0, ensure that you choose Customized Installation at the Installation Options screen. This allows you to select the Server for NIS component for installation.

When installing SFU version 3.0, the Server for NIS will be installed by default.

For corresponding Windows objects that exist in Active Directory (such as password and group), Server for NIS adds POSIX attributes to the same object creating a unique object representing both POSIX and Windows identities.

For example, information needed for a UNIX user is stored in Active Directory as part of the Active Directory Domain Users group. To allow storing POSIX attributes, Server for NIS extends the Users group with msSFUPosixAccount as its auxiliary class (SFU version 2.0). This allows POSIX attributes to be added to newly created objects of the User class.

NOTE: Version of SFU above 2.0 include the version string in these attribute names (i.e. msSFU30IpService).

More information on SFU can be found on the Microsoft web site at http://www.microsoft.com/windows2000/sfu/.

Step 3: Create a Proxy User

The use of a proxy user is mandatory for Active Directory, as anonymous binding done not grant enough access rights to retrieve user, group, or any other name service data.

Use the Windows 2000 management tool, Active Directory Users and Computers, to add a proxy user as a member of the "Domain Users" group. For example, you might add a user:
CN=Proxy User, DC=Users, DC=cup, DC=hp, DC=com

CAUTION: Make sure the proxy user is a member of the Domain Users group, which allows read access only, and not the Administrator group to protect Active Directory entries from malicious modifications.

A proxy user’s access right to objects in an Active Directory depends on what default permissions Active Directory has been configured with during installation. The two possible permission options are:

  • Installation with "Permissions Compatible with Pre-Windows 2000 Servers"

    This permission option allows any authenticated user read access to all attributes, including POSIX attributes. This means, that any user can be configured as a proxy user. For security reasons, this may not be your best choice.

  • Installation with "Windows 2000 Compatible Access"

    This option allows authenticated users read rights to all properties of their own objects, but limited access to attributes of other objects. Because a proxy user must be able to read all users' and groups' POSIX attributes, the administrator should specifically extend the access capabilities for proxy users using one of the following alternatives:

    • Configure the proxy user to be a member of "Pre-Windows 2000 Compatible Access" group. By doing this, you allow the proxy user to read all properties of user and group objects. Here is how to configure it:

      1. Start Active Directory Users and Computers,

      2. From the domain tree, click Builtin.

      3. Double-click Pre-Windows 2000 Compatible Access, and select the Members tab.

      4. Click Add, from a list of all users and groups, select the user name which you want to configure as a proxy user, then click Add.

      5. Click OK to save the configuration.

    • Delegate POSIX attribute read access to the proxy user. By doing this, you allow the proxy user to read only POSIX attributes of user and group objects:

      1. Start Active Directory Users and Computers.

      2. Click the container which contains the proxy user, usually it is “Users”.

      3. Select Delegate Control from the Action menu.

      4. The Delegation of Control Wizard starts, click Next.

      5. On the following screen, click Add to get a list of users groups, Choose the proxy user, and click Add and OK.

      6. Back to the screen to select users and groups, Click Next.

      7. You are given the screen to identify the scope of the task you want to delegate, select Only the following objects in folder, check Group objects, click Next.

      8. For SFU, version 2.0:

        you are given a screen to select permissions. Select Property-specific and the following permissions:

        • Read gidNumber

        • Read memberUid

        • Read msSFUName

        then click Next

        For SFU, version 3.0:

        You are prompted to select permissions. Select Property-specific and the following permissions:

        • Read msSFU30GidNumber

        • Read msSFU30MemberUid

        • Read msSFU30Name

        then click Next

      9. You are given the screen which confirms your configuration, click on "finish" if everything is correct, otherwise, click "Back" to change.

      10. Repeat above steps to delegate user posix attributes to the proxy user by choosing "User objects" in 7), and choose the following posix user attributes in 8):

        For SFU, version 2.0:

        • Read gecos

        • Read loginShell

        • Read msSFUHomeDirectory

        • Read gidNumber

        • Read uidNumber

        • Read msSFUName

        For SFU, version 3.0:

        • Read msSFU30Gecos

        • Read msSFU30LoginShell

        • Read msSFU30HomeDirectory

        • Read msSFUGidNumber

        • Read msSFU30UidNumber

        • Read msSFU30Name

  • If you will be using ADS multiple domains:

    If you configure LDAP-UX with ADS multiple domains, you configure a proxy user as described above in one of any domains, then configure the same proxy user in every domain which you want to include in your remote domain support with LDAP-UX. For example, first configure a proxy user proxyusr for the domain ldap.hp.com. Next, include the domain eng.hp.com in the support, and add proxyusr@ldap.hp.com to the domain eng.hp.com using above steps. Repeat these steps for every domain you want to include. If you have multiple LDAP-UX clients, you can also configure one proxy user for each client as long as the proxy user has the access right to all domains that the client wants to access.

    The proxy user needs to have access right to read passwd and group information in multiple domains.

Step 4: Add an HP-UX Client Machine Account to Active Directory

Use the Active Directory Users and Computer tool to create a user account for your HP-UX host.

  • If you are using ADS multiple domains: add a host account for HP-UX client machine to every domain you want to access.

Step 5: Use ktpass to Create the Keytab File for the HP-UX client machine

Use the ktpass tool to create the keytab file and set up an identity mapping the host account.

The following is an example showing you how to run ktpass to create the keytab file for the HP-UX host myhost with the KDC realm cup.hp.com:

C:> ktpass -princ host/myhost@CUP.HP.COM -mapuser myhost -pass mypasswd -out unix.keytab
NOTE: If your machine doesn't have ktpass, you can install it from your Windows 2000 Server compact disc, in the directory support/tool.
  • If you are using ADS multiple domains, repeat step 4 ans step 5 in this procedure for the HP-UX client machine in every domain to be accessed. Then, merge the keytab files on your HP-UX machine to create /etc/krb5.keytab. Refer to Appendix E “Sample /etc/krb5.conf File” for more information.

    This is one way to configure an HP-UX Kerberos client to communicate with multiple KDCs. For other possibilities using cross-realm authentication, refer to the [capaths] section in the manual page of krb5.conf (i.e. man krb5.conf).

Step 6: Add POSIX Attributes into the Global Catalog

The GCS is the domain controller which hosts the global catalog for a forest. The global catalog contains partial information of each domain in the forest. If you want LDAP-UX Client Services to query GCS to decide which domain a queried data belongs to, then add the following POSIX attributes into the global catalog:

For SFU version 2.0

  • msSFUName

  • uidnumber

  • gidnumber

For SFU version 3.0

  • msSFU30Name

  • msSFU30UidNumber

  • msSFU30GidNumber

For detailed information on how to perform this task, refer to “Adding POSIX Attributes to the Global Catalog”.

For information on how LDAP-UX Client Services retrieves data from remote domains, refer to Chapter 3 “Active Directory Multiple Domains”.

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