LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)
Table Of Contents
- LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Administrator's Guide
- Table of Contents
- Preface
- 1 Introduction
- 2 Installing LDAP-UX Client Services
- Before You Begin
- Summary of Installing and Configuring LDAP-UX Client Services
- Planning Your Installation
- Installing LDAP-UX Client Services on a Client
- Configuring Active Directory for HP-UX Integration
- Step 1: Install Active Directory
- Step 2: Install SFU 2.0, 3.0 or 3.5 including Server for NIS
- Step 3: Create a Proxy User
- Step 4: Add an HP-UX Client Machine Account to Active Directory
- Step 5: Use ktpass to Create the Keytab File for the HP-UX client machine
- Step 6: Add POSIX Attributes into the Global Catalog
- Importing Name Service Data into Your Directory
- Configuring LDAP-UX Client Services
- Step 1: Run the Setup Program
- Step 2: Install the PAM Kerberos Product
- Step 3: Configure Your HP-UX Machine to Authenticate Using PAM Kerberos
- Step 4: Configure the Name Service Switch (NSS)
- Step 5: Configure the PAM Authorization Service Module (pam_authz)
- Step 6: Configure the Disable Login Flag
- Step 7: Verify LDAP-UX Client Services for Single Domain
- Step 8: Configure Subsequent Client Systems
- Configuring the LDAP-UX Client Services with SSL or TLS Support
- Downloading the Profile Periodically
- 3 Active Directory Multiple Domains
- 4 LDAP-UX Client Services with AutoFS Support
- 5 LDAP Printer Configurator Support
- 6 Dynamic Group Support
- 7 Administering LDAP-UX Client Services
- Using the LDAP-UX Client Daemon
- Integrating with Trusted Mode
- SASL GSSAPI Support
- PAM_AUTHZ Login Authorization
- Policy And Access Rules
- How Login Authorization Works
- PAM_AUTHZ Supports Security Policy Enforcement
- Policy File
- Policy Validator
- Dynamic Variable Support
- Constructing an Access Rule in pam_authz.policy
- Static List Access Rule
- Dynamic Variable Access Rule
- Security Policy Enforcement with Secure Shell (SSH) or r-commands
- Adding Additional Domain Controllers
- Adding Users, Groups, and Hosts
- User and Group Management
- Displaying the Proxy User's Distinguished Name
- Verifying the Proxy User
- Creating a New Proxy User
- Displaying the Current Profile
- Creating a New Profile
- Modifying a Profile
- Changing Which Profile a Client is Using
- Creating an /etc/krb5.keytab File
- Considering Performance Impacts
- Client Daemon Performance
- Troubleshooting
- 8 Modifying User Information
- 9 Mozilla LDAP C SDK
- A Configuration Worksheet
- B LDAP-UX Client Services Object Classes
- C Command, Tool, Schema Extension Utility, and Migration Script Reference
- LDAP-UX Client Services Components
- Client Management Tools
- LDAP User and Group Management Tools
- Environment Variables
- Return Value Formats
- Common Return Codes
- The ldapuglist Tool
- The ldapugadd Tool
- The ldapugmod Tool
- The ldapugdel Tool
- The ldapcfinfo Tool
- LDAP Directory Tools
- Schema Extension Utility
- Name Service Migration Scripts
- Unsupported Contributed Tools and Scripts
- D Sample PAM Configuration File
- E Sample /etc/krb5.conf File
- F Sample /etc/pam.conf File for HP-UX 11i v1 Trusted Mode
- G Sample /etc/pam.conf File for HP-UX 11i v2 Trusted Mode
- H Sample PAM Configuration File for Security Policy Enforcement
- Glossary
- Index
LDAP User and Group Management Tools
The LDAP-UX Integration product supports the following new LDAP command-line tools which
enable you to manage user accounts and groups in an LDAP directory server. These new tools
exist in the /opt/ldapux/bin directory and perform their operations based on the LDAP-UX
profile's configuration. Each tool provides command options that enable you to alter these
configuration parameters. For detailed information about tool usage, syntax, options, arguments,
environment variables, template files, return codes supported by these tools, See “The ldapuglist
Tool” (page 175), “The ldapugadd Tool” (page 185),“The ldapcfinfo Tool” (page 219), “The
ldapugmod Tool” (page 202), “The ldapugdel Tool” (page 213) or the ldapuglist(1M),
ldapugadd(1M), ldapcfinfo(1M), ldapugmod(1M) and ldapugdel(1M) man pages.
ldapuglist Use the ldapuglist tool to display and enumerate subsets of account and
group entries that reside in an LDAP directory server.
ldapugadd Use the ldapugadd tool to add new POSIX accounts or groups to an LDAP
directory server.
ldapugmod Use the ldapugmod tool to modify existing POSIX accounts or groups in an
LDAP directory server. You can use ldapugmod with extended options to
modify arbitrary attributes for user or group entries.
ldapugdel Use the ldapugdel tool to remove POSIX related user or group entries from
an LDAP directory server. Use the -O to remove POSIX related attributes and
object classes from a user or a group entry without removing entire entry itself.
ldapcfinfo Use the ldapcfinfo tool to retrieve LDAP-UX configuration information
details about required attributes when creating new users or groups. Use this
tool to discover the LDAP user and group configuration defaults, attribute
mapping and a list of available template files. You can also use ldapcfinfo
to check to see if the LDAP-UX product is properly configured and active.
When performing modification, creation and deletion operations on the LDAP directory server,
use these tools to input LDAP administrator bind identity and credential interactively with a
prompt (-P) option or by specifying the LDAP_BINDDN environment variable for the
administrator's identity and LDAP_BINDCRED environment variable for the administrator's
credential. Values set with a prompt (-P) option override values specified in the environment
variable. If the two previously mentioned methods have not been specified, the LDAP tool follows
the bind configuration specified in the LDAP-UX configuration profile. If the LDAP-UX profile
has specified a proxy bind, the LDAP tool reads the credential from either the
/etc/opt/ldapux/acred or /etc/opt/ldapux/pcred file. The /etc/opt/ldapux/acred
file is used only by users who have sufficient administrative privilege to read this file.
Environment Variables
The ldapuglist, ldapugadd, ldapugmod and ldapugdel tools support the following
environment variables:
LDAP_BINDDN
Specifies the Distinguished Name (DN) or other appropriate identity
indicator (such as a Kerberos principle id) of a user with sufficient directory
server privilege to display, add, modify or delete users and/or groups in
the LDAP directory server. If LDAP_BINDDN is specified, LDAP_BINDCRED
must also be specified.
LDAP_BINDCRED
Specifies a password or other type of credential used for the LDAP user
specified by LDAP_BINDDN.
The ldapugadd and ldapugmod tools support the following environment variables:
LDAP_UGCRED
This variable specifies the new password of a user or group being created or
modified. You must use the -PW command option when you use this
environment variable to indicate this variable has been set and is used for the
current command. If attribute mapping for the userPassword attribute has
not been defined or set to “*NULL*” in the LDAP-UX configuration profile,
ldapugadd or ldapugmod creates new passwords using the userPassword
attribute. See the -PW option of “The ldapugadd Tool” (page 185) or “The
ldapugmod Tool” (page 202) for more information.
LDAP User and Group Management Tools 171