Sign In
Upload
Manuals
Brands
Netscape Manuals
Server
NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN
Netscape NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN Manuals
Manuals and User Guides for Netscape NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN. We have
1
Netscape NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN manual available for free PDF download: Manual
Netscape NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN Manual (524 pages)
Brand:
Netscape
| Category:
Server
| Size: 3.56 MB
Table of Contents
Table of Contents
3
Preface
11
Using Directory Server Plug-In Apis
11
What You Should Already Know
11
Document Conventions
13
Where to Find Directory Server Information
14
Part 1 Introduction to Directory Server Plug-Ins
17
Chapter 1 An Overview of Directory Server Plug-Ins
19
What Are Directory Server Plug-Ins
19
How Directory Server Plug-Ins Work
20
Calling Directory Server Plug-In Functions
21
The Directory Server Architecture
21
Types of Directory Server Plug-Ins
24
Chapter 2 Writing and Compiling Plug-Ins
27
Writing a Plug-In Function
27
Including the API Header File
28
Passing Data with Parameter Blocks
28
Working with Parameter Blocks
29
Getting Data from the Parameter Block
29
Setting Data in the Parameter Block
30
Calling Front-End Functions
31
Plug-In Return Values
31
Writing Plug-In Initialization Functions
32
Initialization Functions for Windows Platforms
32
Specifying Directory Server Compatibility
33
Specifying Information about the Plug-In
33
Registering Your Plug-In Functions
34
Returning a Value to the Directory Server
35
Example of an Initialization Function
35
Compiling a Directory Server Plug-In
36
Chapter 3 Configuring Plug-Ins
39
Creating a Plug-In Configuration File
39
Plug-In Dependencies
41
Specific Plug-In Dependencies
41
Plug-In Type Dependencies
42
Specifying the Order of Plug-In Directives
42
Summary of Plug-In Directives
43
Loading the Plug-In Configuration File
44
Passing Extra Arguments to Plug-Ins
45
Setting the Log Level of the Server
46
Chapter 4 A Quick Example
47
An Example Pre-Operation Plug-In
47
Writing the Plug-In Example
48
Compiling the Plug-In Example
51
Registering the Plug-In Example
52
Running the Plug-In Example
53
Part 2 Basic Plug-In Programming Techniques
55
Chapter 5 Front-End API Functions
57
Logging Messages
58
Adding Notes to Access Log Entries
58
Sending Data to the Client
59
Determining if an Operation was Abandoned
59
Working with Entries, Attributes, and Values
60
Creating a New Entry
61
Converting between Entries and Strings
61
Getting and Setting the DN of an Entry
62
Verifying Compliance with the Schema
62
Getting the Attributes and Values of an Entry
63
Iterating through the Attributes in an Entry
63
Finding a Specific Attribute in an Entry
63
Adding and Removing Values
63
Working with Dns and Rdns
64
Determining if a DN Is the Root DN
64
Working with DN Suffixes
65
Server Suffixes
65
Getting the Parent DN of a DN
65
Normalizing a DN
65
Working with Search Filters
66
Determining if an Entry Matches a Filter
67
Getting the Filter Type
67
Getting the Search Criteria
68
Converting a String to a Filter
69
Creating Complex Filters by Combining Filters
69
Checking Passwords
69
Chapter 6 Writing Pre/Post-Operation Plug-Ins
71
How Pre/Post-Operation Plug-Ins Work
71
Types Pre-Operation and Post-Operation Functions
73
Types of Pre-Operation Functions
73
Types of Post-Operation Functions
74
Registering Pre/Post-Operation Functions
76
Chapter 7 Defining Functions for LDAP Operations
77
Specifying Start and Close Functions
78
Processing an LDAP Bind Operation
78
Defining Functions for the Bind Operation
78
Getting and Setting Parameters for the Bind Operation
79
Processing an LDAP Unbind Operation
79
Processing an LDAP Search Operation
80
Getting the List of Candidates
81
Iterating through Candidates
82
Processing an LDAP Compare Operation
84
Processing an LDAP Add Operation
84
Processing an LDAP Modify Operation
86
Processing an LDAP Modify RDN Operation
87
Processing an LDAP Delete Operation
89
Processing an LDAP Abandon Operation
89
Chapter 8 Defining Functions for Authentication
91
Understanding Authentication Methods
91
How the Directory Server Identifies Clients
92
How the Authentication Process Works
92
Writing Your Own Authentication Plug-In
95
Writing a Pre-Operation Bind Plug-In
95
Defining Your Authentication Function
97
Getting and Checking the Bind Parameters
97
Getting the Entry and Checking the Credentials
98
What to Do if Authentication Fails
99
What to Do if Authentication Succeeds
99
Registering the SASL Mechanism
100
Example of a Pre-Operation Bind Plug-In
101
Example of a Pre-Operation Bind Function
101
Example of an Initialization Function
104
Registering the Plug-In
105
Using SASL with an LDAP Client
106
Part 3 Advanced Programming Techniques
111
Chapter 9 Writing Entry Store/Fetch Plug-Ins
113
How Entry Store/Fetch Plug-Ins Work
113
Writing Entry Store/Fetch Functions
114
Registering Entry Store/Fetch Functions
115
Chapter 10 Writing Extended Operation Plug-Ins
117
How Extended Operation Plug-Ins Work
117
Writing Extended Operation Functions
118
Registering Extended Operation Functions
119
Specifying Start and Close Functions
121
Chapter 11 Writing Matching Rule Plug-Ins
123
Understanding Matching Rules
123
Extensible Match Filters
124
Extensible Match Filters in the Directory Server
125
Understanding Matching Rule Plug-Ins
125
Functions Defined in Matching Rule Plug-Ins
125
How Matching Rules Are Identified
126
How the Server Associates Plug-Ins with Oids
127
Finding a Plug-In for Indexing
127
Finding a Plug-In for Searching
128
How the Server Uses Parameter Blocks
129
Indexing Based on Matching Rules
129
How the Server Sets up the Index
129
How the Server Updates the Index
130
Writing the Indexer Factory Function
131
Getting and Setting Parameters in Indexer Factory Functions
132
Writing the Indexer Function
133
Getting and Setting Parameters in Indexer Functions
134
Handling Extensible Match Filters
134
How the Server Handles the Filter
135
Query Operators in Matching Rules
136
Writing a Filter Factory Function
137
Get the OID from the
137
If the OID Is Supported, Continue with this Process
137
Ldap_Unavailable_Critical_Extension
137
You Can also Get any Data that You Set in the Parameter During Initialization. (See "Writing an Initialization Function
137
Getting and Setting Parameters in Filter Factory Functions
138
Set the Following Parameters
138
Set the SLAPI_PLUGIN_MR_OID
139
Slapi_Pblock
139
Slapi_Plugin_Mr_Oid
139
Slapi_Plugin_Object
139
Slapi_Plugin_Private
139
Writing a Filter Index Function
139
Getting and Setting Parameters in Filter Index Functions
140
Writing a Filter Matching Function
141
Handling Sorting by Matching Rules
142
Writing a Destructor Function
143
Writing an Initialization Function
143
Registering Matching Rule Functions
145
Specifying Start and Close Functions
146
Chapter 12 Using the Custom Distribution Logic
147
About Distributing Flat Namespaces
147
Creating a Distribution Function
148
Adding the Distribution Function to Your Directory
150
Adding Multiple Databases to a Single Suffix
150
Using the Console
151
From the Command-Line
151
Adding Distribution Logic to a Suffix
152
Using the Console
152
From the Command-Line
152
Using the Distribution Logic Examples
152
Custom Distribution Checklist
154
Part 4 Reference
155
Chapter 13 Data Type and Structure Reference
157
Summary of Data Types and Structures
157
Chapter 14 Function Reference
175
Distribution Routines
176
Functions for Access Control
177
Functions for Internal Operations and Plug-In Callback
184
Functions for Setting Internal Operation Flags
192
Functions for Handling Attributes
203
Functions for Managing Backend Operations
222
Functions for Dealing with Controls
239
Functions for Syntax Plug-In
246
Functions for Managing Memory
250
Functions for Managing Dns
257
Functions for Managing Entries
265
Functions Related to Entry Flags
302
Functions for Dealing with Filters
305
Functions Specific to Extended Operation
323
Functions Specific to Bind Methods
324
Functions for Thread-Safe LDAP Connections
325
Functions for Logging
328
Functions for Handling Matching Rules
331
Functions for Ldapmod Manipulation
339
Functions for Monitoring Operations
372
Functions for Managing Parameter Block
374
Functions for Handling Passwords
379
Functions for Managing RDN
382
Functions for Managing Roles
403
Functions for Managing Dns
404
Functions for Sending Entries and Results to the Client
428
Functions Related to UTF-8
433
Functions for Handling Values
446
Functions for Handling Valueset
466
Functions Specific to Virtual Attribute Service
475
Functions for Managing Locks and Synchronization
478
Functions for Manipulating Bits
484
Functions for Registering Object Extensions
488
Chapter 15 Parameter Block Reference
493
Parameters for Registering Plug-In Functions
494
Pre-Operation/Data Validation Plug-Ins
494
Post-Operation/Data Notification Plug-Ins
495
Extended Operation Plug-Ins
496
Matching Rule Plug-Ins
497
Parameters Accessible to All Plug-Ins
497
Information about the Database
498
Information about the Connection
499
Information about the Operation
500
Notes in the Access Log
501
Information about the Plug-In
502
Types of Plug-Ins
503
Version Information
503
Parameters for the Configuration Function
504
Parameters for the Bind Function
504
Parameters for the Search Function
505
Parameters for the Add Function
507
Parameters for the Compare Function
508
Parameters for the Delete Function
508
Parameters for the Modify Function
509
Parameters for the Modify RDN Function
510
Parameters for the Abandon Function
511
Parameters for Extended Operations
511
Parameters for Internal LDAP Operations
512
Glossary
513
Index
517
Advertisement
Advertisement
Related Products
Netscape NETSCAPE DIRECTORY SERVER 6.01 - ADMINISTRATOR
Netscape NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR
Netscape NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN
Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Netscape NETSCAPE DIRECTORY SERVER 6.2 - DEPLOYMENT
Netscape NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN
Netscape NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR
Netscape NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN
Netscape NETSCAPE DIRECTORY SERVER 6.0
Netscape NETSCAPE DIRECTORY SERVER 6.0 - DEPLOYMENT
Netscape Categories
Server
Software
Gateway
More Netscape Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL