Syntax
#include "slapi-plugin.h" Slapi_PBlock *slapi_add_entry_internal( Slapi_Entry * e, LDAPControl **controls, int log_change );
Parameters
The function has the following parameters:
Returns. A new parameter block (see "Slapi_PBlock" on page 215) with the following parameter set:
SLAPI_PLUGIN_INTOP_RESULT specifies the LDAP result code for the internal LDAP operation (for example, LDAP_SUCCESS if the operation is successful or LDAP_PARAM_ERROR if an invalid parameter is used). If the DN of the new entry has a suffix that is not served by the Directory Server, SLAPI_PLUGIN_INTOP_RESULT is set to LDAP_REFERRAL.
If the DN of the new entry has a suffix that is not served by the Directory Server, SLAPI_PLUGIN_INTOP_RESULT is set to LDAP_REFERRAL.
Description. This function allows you to add an entry to the directory from a plug-in function.
Unlike the standard LDAP add operation, no LDAP result code to a client. Instead, the result code is placed in a parameter block that is returned by the function.
Example
[To be added]
See Also