Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual page 95

For plug-in
Table of Contents

Advertisement

The
function should check the following:
add
If the operation has been abandoned, the function should return
not need to call
slapi_send_ldap_result()
the client. According to the LDAP protocol, the client does not expect a server
response after an operation is abandoned.)
If the entry already exists in the database, the function should call
slapi_send_ldap_result()
LDAP_ALREADY_EXISTS
If the parent entry (or the closest matching entry) is a referral entry (an entry
with the object class
request, the function should call
return
.
-1
To determine if a
get the value of the
control is included in the request. If
If the parent entry does not exist, the function should call
slapi_send_ldap_result()
LDAP_NO_SUCH_OBJECT
If the entry is not schema-compliant (call
determine this), the function should call
the LDAP error code
If the requestor does not have permission to add the entry (call
slapi_access_allowed()
slapi_send_ldap_result()
LDAP_INSUFFICIENT_ACCESS
You should also verify that the ACI syntax for the entry is correct; call
slapi_acl_check_mods()
If the
function is successful, the function should call
add
slapi_send_ldap_result()
and should return
.
0
to send an LDAP error code
and should return
) and no
ref
manageDSAIT
slapi_str2filter()
control is present, call
manageDSAIT
SLAPI_MANAGEDSAIT
, the control is not included in the request.
0
to send an LDAP error code
and return
.
-1
LDAP_OBJECT_CLASS_VIOLATION
to determine this), the function should call
to send the LDAP error code
and should return
to determine this.
to send an
LDAP_SUCCESS
Chapter 7
Processing an LDAP Add Operation
to send an LDAP error code to
.
-1
control is included with the
to send a referral and
slapi_pblock_get()
parameter. If the value is
slapi_entry_schema_check()
slapi_send_ldap_result()
and should return
.
-1
code back to the client
Defining Functions for LDAP Operations
. (You do
-1
to
, the
1
to
to send
.
-1
95

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents