HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
66 Parameters for LDAP functions
The parameters listed in this section can be used with functions that you can call to perform
LDAP operations from a plug-in. These internal operations do not return any data to a client.
“Parameters for LDAP operations”
“Parameters for LDAP control”
“Parameters for generating LDIF strings”
66.1 Parameters for LDAP operations
DescriptionData typeParameter ID
Result code of the internal LDAP operation.
intSLAPI_PLUGIN_INTOP_RESULT
Array of entries found by an internal LDAP search
operation. See slapi_search_internal_pb() for details.
See also “Slapi_Entry” for information on the
Slapi_Entry data type.
Slapi_Entry **SLAPI_PLUGIN_INTOP_SEARCH_ENTRIES
Array of referrals (in the form of LDAP URLs) found
by an internal LDAP search operation. See
slapi_search_internal_pb() for details.
char **SLAPI_PLUGIN_INTOP_SEARCH_REFERRALS
The following function sets all three parameters: slapi_search_internal_pb()
The following functions set only the SLAPI_PLUGIN_INTOP_RESULT parameter:
slapi_add_internal_pb()
slapi_delete_internal_pb()
slapi_modify_internal_pb()
slapi_modrdn_internal_pb()
66.2 Parameters for LDAP control
The parameters listed below provide information about LDAP controls that are used in LDAP
operations.
DescriptionData typeParameter ID
This control applies to the LDAP abandon operation.
LDAPControl *SLAPI_OPERATION_ABANDON
This control applies to the LDAP add operation.
LDAPControl *SLAPI_OPERATION_ADD
This control applies to any LDAP operation.
LDAPControl *SLAPI_OPERATION_ANY
This control applies to the LDAP bind operation.
LDAPControl *SLAPI_OPERATION_BIND
This control applies to the LDAP compare operation.
LDAPControl *SLAPI_OPERATION_COMPARE
This control applies to the LDAP delete operation.
LDAPControl *SLAPI_OPERATION_DELETE
This control applies to the LDAPv3 extended
operation.
LDAPControl *SLAPI_OPERATION_EXTENDED
This control applies to the LDAP modify DN
operation.
LDAPControl *SLAPI_OPERATION_MODDN
This control applies to the LDAP modify operation.
LDAPControl *SLAPI_OPERATION_MODIFY
This control applies to the LDAPv3 modify RDN
operation.
LDAPControl *SLAPI_OPERATION_MODRDN
66.1 Parameters for LDAP operations 423