Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

Bind

The following parameters allow you to access information about the bind operation through the parameter block.

Table 18–5 Bind Function Parameters

Parameter ID  

Data Type  

Description  

SLAPI_BIND_CREDENTIALS

struct berval *

Bind request credentials such as a password or SASL mechanism credentials, depending on the bind method. 

SLAPI_BIND_METHOD

int

Authentication method used. 

  • LDAP_AUTH_NONE (anonymous)

  • LDAP_AUTH_SASL (SASL)

  • LDAP_AUTH_SIMPLE (password)

  • LDAP_AUTH_SSL (certificate)

SLAPI_BIND_RET_SASLCREDS

struct berval *

SASL server credentials to send to the client. 

SLAPI_BIND_SASLMECHANISM

char *

SASL mechanism used for bind. 

SLAPI_BIND_TARGET

char *

DN used to bind.