Processing an LDAP Modify Operation
Parameter ID
SLAPI_MODIFY_MODS
The
modify
•
If the operation has been abandoned, the function should return
not need to call
the client. According to the LDAP protocol, the client does not expect a server
response after an operation is abandoned.)
•
If the entry is a referral entry (an entry with the object class
manageDSAIT
slapi_send_ldap_referral()
To determine if a
to get the value of the
control is included in the request. If
request.
•
If the entry does not exist, check the following:
H
H
•
If the entry is not schema-compliant (call
determine this), the function should call
the LDAP error code
•
If the RDN of the entry contains attribute values that are not part of the entry
(for example, if the RDN is
has a different
slapi_send_ldap_result()
LDAP_NOT_ALLOWED_ON_RDN
•
If the requestor does not have permission to modify the entry (call
slapi_access_allowed()
slapi_send_ldap_result()
LDAP_INSUFFICIENT_ACCESS
94
Red Hat Directory Server Plug-in Programmer's Guide • May 2005
Data Type
LDAPMod **
function should check the following:
slapi_send_ldap_result()
control is included with the request, the function should call
manageDSAIT
SLAPI_MANAGEDSAIT
If the closest matching entry is a referral entry and if no
control is included in the request, the function should call
slapi_send_ldap_referral()
Otherwise, the function should call
an LDAP error code
LDAP_NO_SUCH_OBJECT
LDAP_OBJECT_CLASS_VIOLATION
value), the function should call
uid
Description
A NULL-terminated array of LDAPMod
structures, which represent the
modifications to be performed on the entry.
to send an LDAP error code to
to send a referral and return
control is present, call
parameter. If the value is
, the control is not included in the
0
to send a referral and return
slapi_send_ldap_result()
slapi_entry_schema_check()
slapi_send_ldap_result()
, but the entry has no
uid=bjensen
to send the LDAP error code
and should return
-1
to determine this), the function should call
to send the LDAP error code
and should return
. (You do
-1
) and no
ref
.
-1
slapi_pblock_get()
manageDSAIT
.
-1
and return
.
-1
and should return
value or
uid
.
.
-1
, the
1
to send
to
to send
.
-1