Show Table of Contents
13.5. Plug-in API Reference
This section contains reference information on APIs that enable the following:
13.5.1. Preserving the Default Behavior of the Server
Directory Server implements internal backends for supporting subtrees
cn=config, cn=schema, and cn=monitor, which are the reserved naming contexts for the server. For more information about these, check the Red Hat Directory Server Configuration, Command, and File Reference.
It may be required in some cases to let the default behavior of the server be preserved and not be intercepted by the custom pre-operation plug-ins. To implement a custom DIOP plug-in without affecting the default behavior of the Directory Server, a new function named
slapi_op_reserved() is being made available. For details about this function, see Chapter 49, Functions Related to Data Interoperability.
13.5.2. Bypassing Access Control Checks
It may be desirable to disable access control checking for operations that are handled by the custom DIOP plug-in. To enable the plug-ins to bypass access control, a new flag,
SLAPI_OP_FLAG_NO_ACCESS_CHECK, has been defined. You allow a custom plug-in to bypass access control by setting the flag on the operation-data structure, which is available to the plug-in through the parameter (pblock) setting; see Part V, “Parameter Block Reference”.
The following functions have been defined for this purpose:
For details about these functions, see Chapter 49, Functions Related to Data Interoperability.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.