Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS Manual page 185

Table of Contents

Advertisement

ldctl_oid
ldctl_value
ldctl_iscritical
Description
The
data type represents a client or server control associated with an
LDAPControl
LDAP operation. Controls are part of the LDAPv3 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.
The following table summarizes the front-end API functions that you can call to
work with LDAP controls.
To ...
Create an LDAPControl structure
based on a BerElement, an OID, and
a criticality flag. It returns an LDAP
error code.
Create an LDAPControl structure
based on a struct berval, an OID,
and a criticality flag. It returns an
LDAP error code.
Check for the presence of a specific
LDAPControl. It returns non-zero
for presence and zero for absence.
Retrieve the LDAPMod contained
in a Slapi_Mod structure
Object ID (OID) of the control.
berval structure containing the value used by the control for
the operation.
Specifies whether 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.
... Call this function
slapi_build_control()
slapi_build_control_from_berval()
slapi_control_present()
slapi_mod_get_ldapmod_passout()
Chapter 14
Summary of Data Types and Structures
Data Type and Structure Reference
183

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents