Show Table of Contents
Chapter 28. Functions Specific to Bind Methods
This chapter contains reference information on bind routines, including SASL.
Table 28.1. Bind Routines
| Function | Description |
|---|---|
| slapi_add_auth_response_control() | Supplies authentication information from an LDAP bind operation. |
| slapi_get_supported_saslmechanisms_copy() | Gets an array of the names of the supported Simple Authentication and Security Layer (SASL) methods. |
| slapi_get_supported_saslmechanisms_copy() | Gets an array of the names of the supported Simple Authentication and Security Layer (SASL) methods. |
| slapi_register_supported_saslmechanism() | Registers the specified Simple Authentication and Security Layer (SASL) method with the server. |
28.1. slapi_add_auth_response_control()
Supplies authentication information from an LDAP bind operation based on the bind DN and passes back the actual bind identity.
Syntax
#include "slapi-plugin.h" int slapi_add_suth_response_control ( Slapi_PBlock *pb, const char *binddn );
Parameters
This function takes the following parameter:
|
pb
| Parameter block. |
|
binddn
| The identity of the user specified in the bind operation. |
Returns
This function returns one of the following values:
- 0 if successful.
- -1 if an error occurs.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.