Show Table of Contents
Chapter 54. Parameters for the Bind Function
The following table lists the parameters in the parameter block passed to the database bind function. If you are writing a pre-operation, database, or post-operation bind function, you can get these values by calling the function.
| Parameter ID | Data Type | Description |
|---|---|---|
SLAPI_BIND_TARGET | char * | DN of the entry to which to bind. |
SLAPI_BIND_METHOD | int | Authentication method used; for example, LDAP_AUTH_SIMPLE or LDAP_AUTH_SASL. |
SLAPI_BIND_CREDENTIALS | struct berval * | Credentials from the bind request. |
SLAPI_BIND_RET_SASLCREDS | struct berval * | Simple Authentication and Security Layer (SASL) credentials that you want to send back to the client. Set this before calling . |
SLAPI_BIND_SASLMECHANISM | char * | Simple Authentication and Security Layer (SASL) mechanism that is used (for example, LDAP_SASL_EXTERNAL). |
See Table 7.9, “Table of Information Processed during an LDAP Abandon Operation”, for more information on these parameters.

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.