slapi_modify_internal()
The slapi_modify_internal() performs an
LDAP modify operation to modify an entry in the directory from a plug-in.
Unlike the standard LDAP modify operation, no LDAP result code is returned to a client; the result code is placed instead in a parameter block that is returned by the function.
- Syntax
#include "slapi-plugin.h" Slapi_PBlock *slapi_modify_internal( char *dn, LDAPMod **mods, LDAPControl **controls, int l );- Parameters
-
- dn
- A distinguished name (DN) of the entry that you want to modify.
- mods
- A pointer to a NULL-terminated array of pointers to
LDAPModstructures that represent the attributes that you want to modify. - controls
- A NULL-terminated array of LDAP controls.
- l
- Included for compatibility only. It is not used.
- Returns
- A new parameter block with the following parameter set is returned:
SLAPI_PLUGIN_INTOP_RESULTspecifies the LDAP result code for the internal LDAP operation.