HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
11.4.5 Writing a filter index function..........................................................................................96
11.4.6 Getting and setting parameters in filter index functions.................................................96
11.4.7 Writing a filter matching function....................................................................................97
11.5 Handling sorting by matching rules........................................................................................98
11.6 Writing a destructor function...................................................................................................98
11.7 Writing an initialization function.............................................................................................98
11.8 Registering matching rule functions........................................................................................99
11.9 Specifying start and close functions.......................................................................................100
12 Using the custom distribution logic....................................................................101
12.1 About distributing flat namespaces.......................................................................................101
12.2 Creating a distribution function.............................................................................................101
12.3 Adding the distribution function to your directory...............................................................103
12.3.1 Adding multiple databases to a single suffix.................................................................103
12.3.1.1 Using the console...................................................................................................103
12.3.1.2 Using the command-line........................................................................................103
12.3.2 Adding distribution logic to a suffix..............................................................................104
12.3.2.1 Using the console...................................................................................................104
12.3.2.2 Using the command-line........................................................................................104
12.4 Using the distribution logic examples....................................................................................104
12.5 Custom distribution checklist................................................................................................105
13 Using data interoperability plug-ins..................................................................107
13.1 Installing Directory Server.....................................................................................................107
13.1.1 Understanding deployment configuration....................................................................107
13.1.2 Installing two instances of Directory Server..................................................................109
13.2 Enabling the DIOP feature in Directory Server......................................................................110
13.3 Using the DIOP feature..........................................................................................................111
13.4 Sample DIOP plug-in.............................................................................................................112
13.4.1 Debugging the plug-in...................................................................................................113
13.5 Plug-in API reference.............................................................................................................114
13.5.1 Preserving the default behavior of the server................................................................114
13.5.2 Bypassing access control checks.....................................................................................114
III Data type and structure reference...........................................................................115
14 Data type and structure reference.....................................................................117
14.1 berval......................................................................................................................................117
14.2 computed_attr_context...........................................................................................................117
14.3 LDAPControl..........................................................................................................................117
14.4 LDAPMod..............................................................................................................................118
14.5 mrFilterMatchFn.....................................................................................................................120
14.6 plugin_referral_entry_callback..............................................................................................121
14.7 plugin_result_callback............................................................................................................121
14.8 plugin_search_entry_callback................................................................................................122
14.9 send_ldap_referral_fn_ptr_t...................................................................................................123
14.10 send_ldap_result_fn_ptr_t....................................................................................................123
14.11 send_ldap_search_entry_fn_ptr_t........................................................................................124
14.12 Slapi_Attr..............................................................................................................................124
14.13 Slapi_Back end......................................................................................................................125
14.14 slapi_back end_state_change_fnptr......................................................................................127
14.15 Slapi_ComponentID.............................................................................................................127
6 Table of Contents