JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Directory Server Enterprise Edition Developer's Guide 11 g Release 1 (11.1.1.5.0)
search filter icon
search icon

Document Information

Preface

Part I Directory Server Plug-In API Guide

1.  Before You Start Writing Plug-Ins

2.  Changes to the Plug-In API Since Directory Server 5.2

3.  Getting Started With Directory Server Plug-Ins

4.  Working With Entries Using Plug-Ins

5.  Extending Client Request Handling Using Plug-Ins

6.  Handling Authentication Using Plug-Ins

7.  Performing Internal Operations With Plug-Ins

8.  Writing Entry Store and Entry Fetch Plug-Ins

9.  Writing Extended Operation Plug-Ins

10.  Writing Matching Rule Plug-Ins

11.  Writing Password Storage Scheme Plug-Ins

12.  Writing Password Quality Check Plug-Ins

13.  Writing Computed Attribute Plug-Ins

Part II Directory Server Plug-In API Reference

14.  Data Type and Structure Reference

15.  Function Reference, Part I

16.  Function Reference, Part II

17.  Parameter Block Reference

Parameter Categories

Access Log

Add

Backend Information

Bind

Compare

Connection Information

Delete

Directory Configuration Information

Extended Operations

Internal Operations

Modify

Operation Information

Plug-In Registration

Password Verification

Post-Operation Entry Access

Startup and Shutdown

Extended Operations

Internal Postoperation

Internal Preoperation

Entry Storage and Retrieval

Matching Rules

Postoperation

Preoperation

One-Way and Reversible Password Storage

Rename (Modify RDN)

Results

Search

A.  NameFinder Application

Prerequisite Software

Deploying NameFinder

Configuring NameFinder to Access Your Directory

Customizing NameFinder

Index

Plug-In Registration

The following parameters are for use when registering plug-ins and their functions with the server and when accessing information about plug-in type and identity.

The following table lists information accessible to all types of plug-ins.

Table 17-14 Plug-In Information Parameters

Parameter ID
Data Type
Description
SLAPI_PLUGIN
void *
Internal server representation of the plug-in.
SLAPI_PLUGIN_ARGC
int
Number of arguments in the configuration entry.
SLAPI_PLUGIN_ARGV
char *
Array of arguments in the configuration entry.
SLAPI_PLUGIN_IDENTITY
void *
Plug-in identifier set and then required by the server when handling internal operations.

You may cast this to Slapi_ComponentId.

SLAPI_PLUGIN_PRIVATE
void *
Private data you pass to your plug-in functions.

You define this data structure.

SLAPI_PLUGIN_TYPE
int
Type of plug-in function, corresponding to the value of nsslapd-pluginType in the configuration entry for the plug-in. (Use the plug-in type values given here between parentheses in configuration entries.)
  • SLAPI_PLUGIN_EXTENDEDOP (extendedop)

  • SLAPI_PLUGIN_INTERNAL_POSTOPERATION (internalpostoperation)

  • SLAPI_PLUGIN_INTERNAL_PREOPERATION (internalpreoperation)

  • SLAPI_PLUGIN_LDBM_ENTRY_FETCH_STORE (ldbmentryfetchstore)

  • SLAPI_PLUGIN_MATCHINGRULE (matchingrule)

  • SLAPI_PLUGIN_TYPE_OBJECT (object)

  • SLAPI_PLUGIN_PASSWDCHECK (passwordcheck)

  • SLAPI_PLUGIN_POSTOPERATION (postoperation)

  • SLAPI_PLUGIN_PREOPERATION (preoperation)

  • SLAPI_PLUGIN_PWD_STORAGE_SCHEME (pwdstoragescheme)

  • SLAPI_PLUGIN_REVER_PWD_STORAGE_SCHEME (reverpwdstoragescheme)

SLAPI_PLUGIN_VERSION
char *
Plug-in API version supported by the plug-in.
  • SLAPI_PLUGIN_CURRENT_VERSION (presently SLAPI_PLUGIN_VERSION_03)

  • SLAPI_PLUGIN_VERSION_01 (3.x and later servers)

  • SLAPI_PLUGIN_VERSION_02 (4.x and later servers)

  • SLAPI_PLUGIN_VERSION_03 (5.x servers)