Manufacturing Part Number J4269-90071 E0207
Edition
Legal Notices
Contents
Administering LDAP-UX Client Services
Command and Tool Reference
User Tasks
Tables
Viii
Figures
Figures
New and Changed Documentation in This Edition
Intended Audience
What’s in This document
Publishing History
Xiii
HP Encourages Your Comments
Typographical Conventions
Chapter
Overview of LDAP-UX Client Services
Simplified NIS Environment
Overview of LDAP-UX Client Services
Introduction
How LDAP-UX Client Services Works
Traffic from replica updates
Simplified LDAP-UX Client Services Environment
Commands that use Commands that use PAM
Examples of Commands and Subsystems
That use PAM and NSS
Login, ftpd Ls, who
Overview of LDAP-UX Client Services
Local Start-up File and the Configuration Profile
Overview of LDAP-UX Client Services Chapter
Before You Begin
LDAP-UX Client Services
Summary of Installing and Configuring
Summary of Installing and Configuring
Optionally modify the /etc/opt/ldapux/pamauthz.policy
Plan Your Installation
Plan Your Installation
Still log in to the system
Share user names and passwords with other applications,
Example Directory Structure
Plan Your Installation
Plan Your Installation
Section must be set to yes. If the start option is enabled,
Plan Your Installation
Install LDAP-UX Client Services on a Client
Install LDAP-UX Client Services on a Client
Configure Your Directory
Configure Your Directory
Step
Configure Your Directory
Grant read access of all attributes of the posix schema
Configure Your Directory
Import Name Service Data into Your Directory
Import Name Service Data into Your Directory
Directory
Steps to Importing Name Service Data into Your
Configure the LDAP-UX Client Services
Configure the LDAP-UX Client Services
Configure the LDAP-UX Client Services
Quick Configuration
Required to start the services
Simple Sasl DIGEST-MD5
Configuration Parameter Default Values
Configure the LDAP-UX Client Services
Custom Configuration
Specify up to three directory hosts, to be searched in order
Specify the service you want to map?
Specify the attribute you want to map
You type 0 to exit this menu for the following question
Answer Y instead of the default N For the question
You want to create a custom search descriptor for
Configure the LDAP-UX Client Serivces with SSL Support
Configure the LDAP-UX Client Serivces with SSL Support
Steps to Download the CA Certificate from Mozilla Browser
Configuring the LDAP-UX Client to Use SSL
Mail users, and Trust the CA to identify software developers
Use the rm command to remove the old database files
Steps to create database files using the certutil utility
Configure the LDAP-UX Client Serivces with SSL Support
Configure LDAP-UX Client Services with Publickey Support
Configure LDAP-UX Client Services with Publickey Support
June
Enhanced Publickey-LDAP Software for HP-UX 11i v1 or
October
Admin Proxy User
Extending the Publickey Schema into Your Directory
Configuring an Admin Proxy User Using ldapproxyconfig
An Example
Setting ACI for Key Management
Password for an Admin Proxy User
Setting ACI for an Admin Proxy User
Setting ACI for a User
Configuring serviceAuthenticationMethod
Procedures Used to Configure serviceAuthenticationMethod
Authentication Methods
ServiceAuthenticationMethodkeyservsasl/digest-md5
Configuring Name Service Switch
Configure LDAP-UX Client Services with Publickey Support
AutoFS Support
Automount Schemas
AutoFS Support
AutoFS Patch Requirement
Schema
New Automount Schema
An Example
NisObject Automount Schema
Removing The Obsolete Automount Schema
Obsolete Automount Schema
Limitations
Attribute Mappings
New Automount Attribute NisObject Automount
Attribute Mappings
Migration Scripts Description
AutoFS Migration Scripts
Environment Variables
General Syntax For Migration Scripts
Examples
Syntax
Migrateautomount.pl Script
AutoFS Support
Following shows the /tmp/autoindirect.ldif file
Migratenisautomount.pl Script
Following shows the nispautomap.ldif file
Migratenispautofs.pl Script
Verify the LDAP-UX Client Services
Verify the LDAP-UX Client Services
Making sure the output is as expected
Verify the LDAP-UX Client Services
#cat /etc/nsswitch.conf
Configure Subsequent Client Systems
Configure Subsequent Client Systems
Change the current configuration
Download the Profile Periodically
Download the Profile Periodically
Crontab crontab.profile
Use r-command for Pamldap
Use r-command for Pamldap
#passwordas =
Password, and turning on the rcommand option for pamldap
Use r-command for Pamldap Chapter
Ldap Printer Configurator
Definitions
Overview
Overview
System
How the Ldap Printer Configurator works
How the Ldap Printer Configurator works
System administrator manually adds or removes printers to
Printer Configurator Architecture
Printer Configuration Parameters
Printer Configuration Parameters
Printer Schema
Printer Schema
An Example
Printer Schema
Managing the LP printer configuration
Managing the LP printer configuration
Example
Managing the LP printer configuration
Managing the LP printer configuration
Limitations of Printer Configurator
Limitations of Printer Configurator
Limitations of Printer Configurator Chapter
Administering LDAP-UX Client
Using The LDAP-UX Client Daemon
Using The LDAP-UX Client Daemon
Overview
Client Daemon performance
Ldapclientd
Starting the client
Controlling the client
Diagnostics
Command options
Ldapclientd.conf
Missing settings
Configuration file syntax
Opt/ldapux/config/setup
Using The LDAP-UX Client Daemon
100
Chapter 101
102
Chapter 103
Configuration File
Auditing
Integrating with Trusted Mode
Features and Limitations
Integrating with Trusted Mode
Password and Account Policies
Others
PAM Configuration File
Chapter 107
Configuration Parameter
Chapter 109
Pamauthz Login Authorization Enhancement
Policy And Access Rules
Pamauthz Login Authorization Enhancement
Pamauthz Environment
How Login Authorization Works
Chapter 111
Policy File
Actiontyperule
Constructing an Access Rule in pamauthz.policy
Fields in an Access Rule
Field Syntax in an Access Rule
Chapter 113
Action
No value is required
Chapter 115
116
Chapter 117
Policy Validator
Adding a Directory Replica
Adding a Directory Replica
An Example of /etc/opt/ldapux/pamauthz.policy File
Displaying the Proxy User’s DN
Displaying the Proxy User’s DN
Chapter 119
Verifying the Proxy User
Verifying the Proxy User
Creating a New Proxy User
Example
Chapter 121
Displaying the Current Profile
Creating a New Profile
Displaying the Current Profile
Modifying a Profile
Changing Which Profile a Client Is Using
Modifying a Profile
Changing from Anonymous Access to Proxy Access
Changing from Anonymous Access to Proxy
Access
Changing from Proxy Access to Anonymous Access
Changing from Proxy Access to Anonymous Access
Chapter 125
Performance Considerations
Minimizing Enumeration Requests
Performance Considerations
Ldapclientd Caching
Client Daemon Performance
Client Daemon Performance
Chapter 127
Map Name Benefits Example Side-Effect
128
Chapter 129
Ldapclientd Persistent Connections
Chapter 131
Troubleshooting
Troubleshooting
Enabling and Disabling LDAP-UX Logging
TIP
Enabling and Disabling PAM Logging
User Cannot Log on to Client System
Netscape Directory Server Log Files
Chapter 133
134
Chapter 135
You should get output like the following
136
Chapter 137
Command and Tool Reference
LDAP-UX Client Services Components
LDAP-UX Client Services Components
LDAP-UX Client Services Components Description
Component Description
LDAP-UX Client Services Components
Chapter 139
PA machine Files Description
LDAP-UX Client Services Libraries on the HP-UX 11.0 or 11i
Machine Files Description
LDAP-UX Client Services Libraries on the HP-UX 11i v2 PA
Chapter 141
LDAP-UX Client Services Libraries on the HP-UX 11i v2 IA
Client Management Tools
Client Management Tools
Createprofileentry Tool
Createprofilecache Tool
Displayprofilecache Tool
Createprofileschema Tool
Chapter 145
Getprofileentry Tool
Getprofileentry -s NSS
Ldapproxyconfig Tool
Chapter 147
File
148
Chapter 149
Syntax
Beq Search Tool
Beq Search Tool
Chapter 151
Examples
152
Chapter 153
Uid2dn Tool
Getattrmap.pl Tool
Ldap Directory Tools
Ldap Directory Tools
Chapter 155
Ldapentry
156
Chapter 157
Ldapsearch
Ldapmodify Ldapdelete Certutil
Adding One or More Users
Adding One or More Users
Chapter 159
Naming Context
Name Service Migration Scripts
Name Service Migration Scripts
Default Naming Context
Migrating Individual Files
Migrating All Your Files
Chapter 161
Migration Scripts
General Syntax for Perl Migration Scripts
Migration Scripts Script Name Description
Chapter 163
Script Name Description
164
Chapter 165
Ldappasswd Command
Ldappasswd Command
Chapter 167
168
Chapter 169
To Change Passwords
Cannot Change Passwords on Replica Servers
To Change Passwords
Chapter 171
172
To Change Personal Information
To Change Personal Information
Chapter 173
174
Chapter 175
Mozilla Ldap C SDK
176
Files Description
Mozilla Ldap C SDK File Components
Mozilla Ldap C SDK File Components
Mozilla Ldap C SDK File Components on the PA machine
Mozilla Ldap C SDK File Components on the IA machine
Chapter 179
Header Files Description
Mozilla Ldap C SDK API Header Files
Chapter 181
182
Appendix a 183
Table A-1 LDAP-UX Client Services Configuration Worksheet
Appendix a
Appendix a 185
186
Appendix B 187
Classes
Profile Attributes
Profile Attributes
Appendix B
Appendix B 189
190
Appendix C 191
file
Appendix C
Sample /etc/pam.ldap.trusted file
Appendix C 193
194
Glossary 195
PAM Authorization Service Module
Glossary
Ldap Data Interchange Format Ldif
Glossary
Slapd
Index
Symbols
NIS, 2, 12, 15
Pwget, 4, 69
200