}
slapi_pblock_set( pb, SLAPI_BACKEND, be );
nAccessResult = slapi_access_allowed( pb, seObjectEntry,
slapi_acl_check_mods()
Determines if a user has the rights to perform the specified modifications on an
entry.
Syntax
#include "slapi-plugin.h"
int slapi_acl_check_mods( Slapi_PBlock *pb, Slapi_Entry *e,
LDAPMod **mods, char **errbuf );
Parameters
This function takes the following parameters:
pb
e
mods
errbuf
Returns
This function returns one of the following values:
•
LDAP_SUCCESS
attributes.
•
LDAP_INSUFFICIENT_ACCESS
values of the specified attribute.
•
If a problem occurs during processing, the function will return one of the
following error codes:
LDAP_OPERATIONS_ERROR
"*", bval, SLAPI_ACL_DELETE);
Parameter block passed into this function.
Entry for which you want to check the access rights.
Array of LDAPMod structures that represent the modifications to be
made to the entry.
Pointer to a string containing an error message if an error occurs during
the processing of this function.
if the user has write permission to the values in the specified
if the user does not have write permission to the
An error occurred while executing the operation.
Chapter 14
Functions for Access Control
Function Reference
181
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers