Processing An Ldap Modify Rdn Operation - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

If the RDN of the entry contains attribute values that are not part of the entry
(for example, if the RDN is
a different
send the LDAP error code
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

Processing an LDAP Modify RDN Operation

When the Directory Server receives an LDAP
front-end gets the original DN of the entry; the new RDN; and, if the entry is
moving to a different location in the directory tree, the DN of the new parent of the
entry.
The front-end makes this information available to pre-operation and
post-operation plug-in functions in the form of parameters in a parameter block.
Parameter ID
SLAPI_MODRDN_TARGET
SLAPI_MODRDN_NEWRDN
SLAPI_MODRDN_DELOLDRDN
SLAPI_MODRDN_NEWSUPERIOR
value), the function should call
uid
function is successful, the function should call
modify
.
0
, but the entry has no
uid=bjensen
slapi_send_ldap_result()
LDAP_NOT_ALLOWED_ON_RDN
to determine this), the function should call
to send the LDAP error code
and should return
to determine this.
to send an
LDAP_SUCCESS
modifyRDN
Data Type
Description
DN of the entry that you want to
char *
rename.
New RDN to assign to the entry.
char *
Specifies whether or not you want to
int
delete the old RDN. (0 means don't
delete the old RDN; 1 means delete
the old RDN)
DN of the new parent of the entry, if
char *
the entry is being moved to a new
location in the directory tree.
Chapter 7
Defining Functions for LDAP Operations
Processing an LDAP Modify RDN Operation
value or has
uid
and should return
.
-1
code back to the client
request from a client, the
to
.
-1
97

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