Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 221

Table of Contents

Advertisement

}
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 15
Functions for Access Control
Function Reference
221

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents