Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual page 98

For plug-in
Table of Contents

Advertisement

Processing an LDAP Modify RDN Operation
The modify RDN function should check the following:
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_str2filter()
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:
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
You should also verify that the ACI syntax for the entry is correct; call
slapi_acl_check_mods()
If the
slapi_send_ldap_result()
and should return
98
Netscape Directory Server Plug-in Programmer's Guide • October 2004
slapi_send_ldap_result()
control is included with the request, the function should call
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_OBJECT_CLASS_VIOLATION
value), the function should call
uid
function is successful, the function should call
modifyRDN
.
0
to send a referral and return
control is present, call
SLAPI_MANAGEDSAIT
, the control is not included in the
0
to send a referral and return
slapi_send_ldap_result()
LDAP_NO_SUCH_OBJECT
slapi_entry_schema_check()
slapi_send_ldap_result()
, but the entry has no
uid=bjensen
to send the LDAP error code
and should return
to determine this), the function should call
to send the LDAP error code
and should return
to determine this.
to send an
LDAP_SUCCESS
-1
to send an LDAP error code to
) and no
ref
.
-1
slapi_pblock_get()
parameter. If the value is
manageDSAIT
-1
and return
.
-1
and should return
uid
.
-1
.
-1
code back to the client
. (You do
, the
1
.
to send
to
to send
.
-1
value or

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents