Edition
Manufacturing Part Number T1417-90009 E0905
Legal Notices
Copyright Notices
Page
Page
Contents
Configuring the Kerberos Server with Ldap
Administering the Kerberos Server
Contents
Contents
Propagating the Kerberos Server
Managing Multiple Realms
Contents
Tables
Table A-2. Configuration Worksheet Explanation
Figures
Figures
What Is in This Document
Intended Audience
Interoperability with Windows 2000, on
Glossary
Bold fixed
Typographic Conventions
Index
Width
HP-UX Release Name and Release Identifier
Publishing History
Related Software Products
Accessing the World Wide Web
Related Documentation
Related Request for Comments RFCs
HP Encourages Your Comments
Overview
Overview
Introduction
How the Kerberos Server Works
Authentication Process
Authentication Process
Illustrates the actions of the components and the Kerberos
Step
Authentication Process
DES Versus 3DES Key Type Settings
Introduction to Ldap
Ldap Advantages
Integrating Kerberos Server v3.1 with Ldap
Integrating a Kerberos Principal in to the Ldap Directory
Installing the Kerberos Server
Installing the Kerberos Server
Prerequisites
Software Requirements
System Requirements
Hardware Requirements
Version Compatibility
Installing the Server
Installing the Server Chapter
Migrating to a Newer Version
Migrating to a Newer Version of the Kerberos Server
Migrating from Kerberos Server Version 1.0 to
Copy the dump file to the new system where you are installing
Upon success, the following message appears
Migrating from Kerberos Server Version 1.0 to
Migrating from Kerberos Server Version 2.0 to
Version
Copy the dump file to the system on which you are installing
Migrating from Kerberos Server Version 3.0 to Version
Migrating to a Newer Version of the Kerberos Server
Interoperability with Windows
Interoperability with Windows
Understanding the Terminology
Table of Analogous Terms Kerberos Server Windows
Kerberos Server and Windows 2000 Interoperability
Scenario
Establishing Trust Between Kerberos Server and Windows
Fqdn qualifier specifies the fully qualified domain name
Single Realm Domain Authentication
Interrealm Interdomain Authentication
Encryption Considerations
Special Considerations for Interoperability
Database Considerations
Postdated Tickets
Special Considerations for Interoperability Chapter
Special Considerations for Interoperability Chapter
Configuring the Kerberos
Configuration Files for the Kerberos Server
Security Server Files That Require Configuration
Configuration File Function
Krb.conf File
Krb.conf File Format
Krb.realms File
Krb.realms File Format
Wildcard Characters
Wildcard Character Description
Autoconfiguring the Kerberos Server
To configure the server, select option
Configuring the Kerberos Server with C-Tree
Value, DES-MD5, is selected
Server with Ldap
Ldap Configuration Files
Configuration Files for Ldap Integration
Krb5ldap.conf File
File Function
Krb5ldap.conf File Format
Parameter Description
This line indicates a space
Krb5schema.conf File
Krb5schema.conf File Format
Ticket’ Syntax
Configuration Files for Ldap Integration
Krb5map.conf File
Krb5map.conf File Format
HpKrbAuthzData HpKrbKeyVersion HpKrbKeyData
Planning Your Ldap Configuration
Before You Begin
Setting up Your Ldap Configuration
For example, ou=people, o=bambi.com
For example, ou=accounts, ou=people, o=bambi.com
For example, uid. cn, homedirectory, gidnumber, uidnumber
Autoconfiguring the Kerberos Server With Ldap Integration
Configuring the Kerberos Server with Ldap
Step Select one of the following options
Qualified host name or the IP address
HpKrbKey
Autoconfiguring the Kerberos Server With Ldap Integration
Manually Configuring the Kerberos Server with Ldap
Editing the Configuration Files
Manually Configuring the Kerberos Server with Ldap
Manually Configuring the Kerberos Server with Ldap Chapter
Configuring the Primary
Create the Principal Database After Installation
Configuring the Primary Security Server
Add an Administrative Principal
To add an Administrative Principal Using the HP Kerberos
Administrator
To Add an Administrative Principal Through the Command Line
Start the Kerberos Daemons
Define Secondary Security Server Network Locations
Password Policy File
Adminaclfile
Security Policies
Starting the Security Server
Configuring the Secondary Security Servers with C-Tree
Creating the Principal Database
Copying the Kerberos Configuration File
Creating a host/fqdn Principal and Extracting the Key
Creating a stash file using the kdbstash utility
Configuring the Secondary Security Servers with Ldap
106
Using Indexes to Improve Database Performance
108
Administering the Kerberos
110
Administering the Kerberos Database
Kadmind Command
Configuration Files Required for kadmind
File Name Description
Adminaclfile File
Assigning Administrative Permissions
Chapter 115
Adding Entries to adminaclfile
Creating Administrative Accounts
Using Restricted Administrator
How the r/R Modifiers Work
118
Default Password Policy Settings for the Base Group
Password Policy File
Editing the Default File
Password Policy Setting Default Value
120
Principals
122
Adding New Service Principals
Adding User Principals
Reserved Service Principals
Chapter 125
126
Removing Special Privilege Settings
Removing User Principals
Removing Service Principals
Protecting a Secret Key
Chapter 129
Kadmin and kadminl Utilities
Administration Utilities
Administration Utilities Name Description
HP Kerberos Administrator
Cancel
Standard Functionality of the Administrator
Function of OK, Apply, and Cancel Buttons
Button Name Action
Local Administrator kadminlui
Using kadminlui
Chapter 135
Principals Tab
Principals Tab
Principals Tab Components
Search
Component Name Description List All
Search String
List of Principals
General Tab Principal Information Window
Principal Information Window
Principal Information Window Components
General Tab
Password Tab
Field Name Description
Attributes Tab
Maximum Ticket Lifetime
General Tab Components
Field Name Description Principal Expiration
Maximum Renew Time
Field Name Description Password Policy
Last Modified
Modified By
Adding Principals to the Database
Change Password Window
Adding Multiple Principals with Similar Settings
Creating an Administrative Principal
Administering the Kerberos Server
148
Searching for a Principal
Search Criteria
Character Description
150
Deleting a Principal
Loading Default Values for a Principal
Restoring Previously Saved Values for a Principal
Changing Ticket Information
Rules for Setting Maximum Ticket Lifetime
Rules for Setting Maximum Renew Time
Chapter 157
Changing Password Information
Chapter 159
Window
Password Tab Principal Information
Password Tab Components
Displays the Ldap DN that you are editing
Change Password
Component Name Description Password
Password Last
Expiration/Date
Change Password Window Password Tab
Entering a password
Change Password Window Components
Components Description New Password
Verification
Changing a Key Type
Changing a DES-CRC or DES-MD5 Principal Key Type
To 3DES
166
Changing Principal Attributes
Attributes Tab Principal Information
12 describes the components of the Attributes tab
Attributes Tab Components
Allow Renewable
Components Description
Allow Postdated
Tickets
170
Allow Duplicate
Components Description Allow Forwardable
Allow Proxy
Session Keys
Components Description Require
Preauthentication
Require Password
Change
Allow As Service
Components Description Lock Principal
Change Service
Authentication
Set As Password
Components Description Require Initial
Ldap Attributes Tab Prinicpal Information Window
176
Deleting a Service Principal
Extracting Service Keys
Chapter 179
Extracting a Service Key Table
Component Description Principal
Extract Service Key Table Components
Service Key
Table Type
Using Groups to Control Settings
Editing the Default Group
Chapter 183
Group Information Window Principal
InformationEditEdit Default Group to display the Group
Group Information Window Components
Component Description Group
Principal Attributes
Setting the Default Group Principal Attributes
Default Principal Attributes
Component Description
Chapter 187
Setting Administrative Permissions
Administrative Permissions
11 Administrative Permissions Window
Modify
Add Principals
Principals
Principals Inquire about
InformationEditEdit Default GroupGroup Information
Override the Principal InformationEditEdit Group Default
Defaults
Component Description Restricted
192
Realms Tab
Realms Tab
Realms Tab Components
Realm Information Window
Realm Information Window Components
Adding a Realm
Deleting a Realm
Remote Administrator kadminui
Logon screen displays as shown in Figure
Logon Screen
200
Chapter 201
Manual Administration Using kadmin
Chapter 203
Adding a New Principal
Specifying a New Password
Adding a Random Key
Changing Password to a New Randomly Generated
Deleting a Principal
Extracting a Principal
3DES
Listing the Attributes of a Principal
Modifying a Principal
Number of Authentication Failures fcnt
Key Version Number Attribute
Policy Name
Attributes
Allow Postdated Attribute
Allow Renewable Attribute
Allow Forwardable Attribute
Allow Proxy Attribute
Allow Duplicate Session Key Attribute
Require Preauthentication Attribute
Require Password Change Attribute
Lock Principal Attribute
Allow As Service Attribute
Require Initial Authentication Attribute
Principal InformationEditEdit Administrative Permissions
Authentication Select Require Initial
Authentication Set As Password Change Service Attribute
No text shows
Password Expiration Attribute
Principal Expiration Attribute
Maximum Ticket Lifetime Attribute
Maximum Renew Time Attribute
Key Type Attribute
Salt Type Attribute
Principal Database Utilities
Principal Database Utilities
Utility Task
Kerberos Database Utilities
226
Database Encryption
Database Master Password
Destroying the Kerberos Database
230
Dumping the Kerberos Database
Loading the Kerberos Database
Stashing the Master Key
234
Starting and Stopping Daemons and Services Situation
Starting and Stopping Daemons
Protecting Security Server Secrets
Maintenance Tasks
Master Password
Host/fqdn@REALM
Backing Up primary security server Data
Backing Up the Principal Database
238
Removing Unused Space from the Database
240
Propagating the Kerberos
242
Propagation Hierarchy
Propagation Relationships
Service Key Table
Extracting a Key to the Service Key Table File
Maintaining Secret Keys in the Key Table File
Creating a New Service Key Table File
Deleting Older Keys from the Service Key Table File
Propagation Tools
Propagation Tools If You Want To Use This Tool
One or more servers once Propagation is configured Started
Kpropd Daemon
Mkpropcf Tool
250
Kpropd.ini File
Defaultvalues Section
Sections
Chapter 253
Secsrvname Section
Examples
Configuration file
256
Prpadmin Administrative Application
Setting Up Propagation
Primary security server Services and Daemons
Daemon Name Function Generic Usage
260
Chapter 261
262
Critical Error Messages
Monitoring Propagation
Monitoring the Log File
Monitoring Propagation Queue Files
Monitoring Old File Date and Large File Size
Authentication problems
Updating the principal.ok Time Stamp
Comparing the Database to Its Copies
Administration appears normal
Log files indicate problems
Mismatch between the number of principals
Kdbdump Utility
Restarting Propagation Using a Simple Process
Restarting Propagation Using the Full Dump Method
Propagation Failure
Converting a secondary security server to a primary
Security server
Restarting Services
Cleaning the Temp Directory
Configuring Multirealm Enterprises
Number of Realms per Database
Primary security servers Supporting Multiple Realms
Multiple primary security servers Supporting a Single Realm
Adding More Realms to a Multirealm Database
Database Propagation for Multirealm Databases
Managing Multiple Realms
276
Considering a Trust Relationship
One-Way Trust
Two-Way Trust
Hierarchical Trust
Other Types of Trust
Configuring Direct Trust Relationships
280
Hierarchical Interrealm Trust
Hierarchical Chain of Trust
Hierarchical Interrealm Configuration
Chapter 283
Configuring the Local Realm
Configuring the Intermediate Realm
Configuring the Target Realm
Hierarchical Interrealm Trust Chapter 287
288
Troubleshooting
290
Characterizing a Problem
292
Diagnostic Tools Summary
Diagnostic Tools
Tool Description Name
Troubleshooting Kerberos
Error Messages
Logging Capabilities
Unix Syslog File
Services Checklist
Troubleshooting Techniques
Troubleshooting Scenarios Cause Tips
Troubleshooting Scenarios
298
Troubleshooting Scenarios for your LDAP-based Kerberos
Server Scenario Cause Troubleshooting Tips
300
Chapter 301
302
General Errors
Forgotten Passwords
Locking and Unlocking Accounts
Clock Synchronization
User Error Messages
Decrypt Integrity Check Failed
Administrative Error Messages
Password Has Expired While Getting Initial Ticket
Service Key Not Available While Getting Initial Ticket
Chapter 307
Reporting Problems to Your HP Support Contact
Chapter 309
310
Configuration Worksheet
Appendix a
Appendix a 313
314
Sample krb.conf File
Appendix B
Services File
318
Sample krb.realms File
Appendix C
Glossary
Key Distribution Center See KDC
Glossary
V5srvtab
Ticket-granting ticket See TGT
Ticket-granting ticket
Symbols
Index
326
327