HP OpenVMS Systems Documentation
OpenVMS Utility Routines Manual
Previous
Contents
Index
Chapter 13
13
Lightweight Directory Access Protocol (LDAP) Routines
13.1
Introduction
13.1.1
Overview of the LDAP Model
13.1.2
Overview of LDAP API Use
13.1.3
LDAP API Use on OpenVMS Systems
13.1.4
64-bit Addressing Support
13.1.4.1
Background
13.1.4.2
Implementation
13.1.4.2.1
Library Symbol Names
13.1.4.2.2
LDAP Data Structures
13.1.4.3
Mixing Pointer Sizes
13.1.5
Multithreading Support
13.2
Common Data Structures and Memory Handling
13.3
LDAP Error Codes
13.4
Initializing an LDAP Session
13.5
LDAP Session Handle Options
13.6
Working with Controls
13.7
Authenticating to the Directory
13.8
Closing the Session
13.9
Searching
13.9.1
Reading and Listing the Children of an Entry
13.10
Comparing a Value Against an Entry
13.11
Modifying an Entry
13.12
Modifying the Name of an Entry
13.13
Adding an Entry
13.14
Deleting an Entry
13.15
Extended Operations
13.16
Abandoning an Operation
13.17
Obtaining Results and Looking Inside LDAP Messages
13.18
Handling Errors and Parsing Results
13.18.1
Stepping Through a List of Results
13.19
Parsing Search Results
13.19.1
Stepping Through a List of Entries
13.19.2
Stepping Through the Attributes of an Entry
13.19.3
Retrieving the Values of an Attribute
13.19.4
Retrieving the Name of an Entry
13.19.5
Retrieving Controls from an Entry
13.19.6
Parsing References
13.20
Encoded ASN.1 Value Manipulation
13.20.1
Encoding
13.20.1.1
Encoding Example
13.20.2
Decoding
13.20.2.1
Decoding Example
13.21
Using LDAP with Compaq SSL for OpenVMS
13.21.1
Compaq SSL Certificate Options
13.21.2
Obtaining a Key Pair
13.22
Sample LDAP API Code
Chapter 14
14
LOGINOUT (LGI) Routines
14.1
Introduction to LOGINOUT
14.1.1
The LOGINOUT Process
14.1.2
Using LOGINOUT with External Authentication
14.1.3
The LOGINOUT Data Flow
14.2
LOGINOUT Callouts
14.2.1
LOGINOUT Callout Routines
14.2.2
LOGINOUT Callback Routines
14.3
Using Callout Routines
14.3.1
Calling Environment
14.3.2
Callout Organization
14.3.3
Activating the Callout Routines
14.3.4
Callout Interface
14.3.5
Sample Program
14.4
LOGINOUT Callout Routines
Command 121
LGI$ICR_AUTHENTICATE
Command 122
LGI$ICR_CHKRESTRICT
Command 123
LGI$ICR_DECWINIT
Command 124
LGI$ICR_FINISH
Command 125
LGI$ICR_IACT_START
Command 126
LGI$ICR_IDENTIFY
Command 127
LGI$ICR_INIT
Command 128
LGI$ICR_JOBSTEP
Command 129
LGI$ICR_LOGOUT
14.5
LOGINOUT Callback Routines
Command 130
LGI$ICB_ACCTEXPIRED
Command 131
LGI$ICB_AUTOLOGIN
Command 132
LGI$ICB_CHECK_PASS
Command 133
LGI$ICB_DISUSER
Command 134
LGI$ICB_GET_INPUT
Command 135
LGI$ICB_GET_SYSPWD
Command 136
LGI$ICB_MODALHOURS
Command 137
LGI$ICB_PASSWORD
Command 138
LGI$ICB_PWDEXPIRED
Command 139
LGI$ICB_USERPARSE
Command 140
LGI$ICB_USERPROMPT
Command 141
LGI$ICB_VALIDATE
Chapter 15
15
Mail Utility (MAIL) Routines
15.1
Messages
15.2
Folders
15.3
Mail Files
15.4
User Profile Database
15.5
Mail Utility Processing Contexts
15.5.1
Callable Mail Utility Routines
15.5.2
Single and Multiple Threads
15.6
Programming Considerations
15.6.1
Condition Handling
15.6.2
Item Lists and Item Descriptors
15.6.2.1
Structure of an Item Descriptor
15.6.2.2
Null Item Lists
15.6.2.3
Declaring Item Lists and Item Descriptors
15.6.2.4
Terminating an Item List
15.6.3
Action Routines
15.7
Managing Mail Files
15.7.1
Opening and Closing Mail Files
15.7.1.1
Using the Default Specification for Mail Files
15.7.1.2
Specifying an Alternate Mail File Specification
15.7.2
Displaying Folder Names
15.7.3
Purging Mail Files Using the Wastebasket Folder
15.7.3.1
Reclaiming Disk Space
15.7.3.2
Compressing Mail Files
15.8
Message Context
15.8.1
Selecting Messages
15.8.2
Reading and Printing Messages
15.8.3
Modifying Messages
15.8.4
Copying and Moving Messages
15.8.4.1
Creating Folders
15.8.4.2
Deleting Folders
15.8.4.3
Creating Mail Files
15.8.5
Deleting Messages
15.9
Send Context
15.9.1
Sending New Messages
15.9.1.1
Creating a Message
15.9.1.1.1
Constructing the Message Header
15.9.1.1.2
Constructing the Body of the Message
15.9.1.2
Creating an Address List
15.9.2
Sending Existing Messages
15.9.3
Send Action Routines
15.9.3.1
Success Action Routines
15.9.3.2
Error Handling Routines
15.9.3.3
Aborting a Send Operation
15.10
User Profile Context
15.10.1
User Profile Entries
15.10.1.1
Adding Entries to the User Profile Database
15.10.1.2
Modifying or Deleting User Profile Entries
15.11
Input Item Codes
15.12
Output Item Codes
15.13
Using the MAIL Routines: Examples
15.14
MAIL Routines
Command 142
MAIL$MAILFILE_BEGIN
Command 143
MAIL$MAILFILE_CLOSE
Command 144
MAIL$MAILFILE_COMPRESS
Command 145
MAIL$MAILFILE_END
Command 146
MAIL$MAILFILE_INFO_FILE
Command 147
MAIL$MAILFILE_MODIFY
Command 148
MAIL$MAILFILE_OPEN
Command 149
MAIL$MAILFILE_PURGE_WASTE
Command 150
MAIL$MESSAGE_BEGIN
Command 151
MAIL$MESSAGE_COPY
Command 152
MAIL$MESSAGE_DELETE
Command 153
MAIL$MESSAGE_END
Command 154
MAIL$MESSAGE_GET
Command 155
MAIL$MESSAGE_INFO
Command 156
MAIL$MESSAGE_MODIFY
Command 157
MAIL$MESSAGE_SELECT
Command 158
MAIL$SEND_ABORT
Command 159
MAIL$SEND_ADD_ADDRESS
Command 160
MAIL$SEND_ADD_ATTRIBUTE
Command 161
MAIL$SEND_ADD_BODYPART
Command 162
MAIL$SEND_BEGIN
Command 163
MAIL$SEND_END
Command 164
MAIL$SEND_MESSAGE
Command 165
MAIL$USER_BEGIN
Command 166
MAIL$USER_DELETE_INFO
Command 167
MAIL$USER_END
Command 168
MAIL$USER_GET_INFO
Command 169
MAIL$USER_SET_INFO
Previous
Next
Contents
Index