Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 159

Table of Contents

Advertisement

Before the Directory Server sends an entry back to a client, it determines if any of
the attributes are computed, generates the attributes, and includes the generated
attributes in the entry.
As part of this process, the server creates a
pass relevant information to the functions generating the attribute values.
(Relevant information might include the attribute type, the BER-encoded request
so far, and the parameter block).
LDAPControl
The
LDAPControl
LDAP operation. Controls are part of the LDAP v3 protocol. You can use a client or
server control to extend the functionality of an LDAP control.
For example, you can use a server control to specify that you want the server to sort
search results in an LDAP search operation.
LDAPControl
typedef struct ldapcontrol {
char *ldctl_oid;
struct berval ldctl_value;
char ldctl_iscritical;
} LDAPControl, *PLDAPControl;
The fields in this structure are described below:
ldctl_oid
ldctl_value
ldctl_iscritical
data type represents a client or server control associated with an
is defined as follows:
Object ID (OID) of the control.
berval structure containing the value used by the control for
the operation.
Specifies whether or not the control is critical to the operation.
This field can have one of the following values:
• LDAP_OPT_ON specifies that the control is critical to the
operation.
• LDAP_OPT_OFF specifies that the control is not critical to
the operation.
Summary of Data Types and Structures
computed_attr_context
Chapter 13
Data Type and Structure Reference
structure to
159

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents