![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 221](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642221.webp)
Functions for Access Control
Chapter
15
Function Reference
221
}
slapi_pblock_set( pb, SLAPI_BACKEND, be );
nAccessResult = slapi_access_allowed( pb, seObjectEntry,
"*", bval, SLAPI_ACL_DELETE);
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:
Returns
This function returns one of the following values:
•
LDAP_SUCCESS
if the user has write permission to the values in the specified
attributes.
•
LDAP_INSUFFICIENT_ACCESS
if the user does not have write permission to the
values of the specified attribute.
•
If a problem occurs during processing, the function will return one of the
following error codes:
pb
Parameter block passed into this function.
e
Entry for which you want to check the access rights.
mods
Array of
LDAPMod
structures that represent the modifications to be
made to the entry.
errbuf
Pointer to a string containing an error message if an error occurs during
the processing of this function.
LDAP_OPERATIONS_ERROR
An error occurred while executing the operation.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...