Parameters for the Bind function
The following table lists the parameters in the parameter
block that is 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 slapi_pblock_get() function.
| Parameter ID | Data type | Description |
|---|---|---|
| SLAPI_BIND_TARGET | char * | DN of the entry to bind as. |
| SLAPI_BIND_METHOD | int | Authentication method that is 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 * | Credentials that you want sent back to the client. Note: Set
before you call slapi_send_ldap_result() |
| SLAPI_BIND_ SASLMECHANISM | char * | SASL mechanism that is used. For example,LDAP_SASL_EXTERNAL. |