Lines Matching defs:mechanism
23 BerElement * ldap_build_sasl_bind_req( LDAP *ld, char *dn, char *mechanism, struct berval *creds, LDAPControl ** serverctrls)
35 * mechanism LDAPString,
52 if ( ber_printf( ber, "{it{ist{s", ++ld->ld_msgid, LDAP_REQ_BIND, ld->ld_version, dn, LDAP_AUTH_SASL, mechanism) == -1){
97 * dn, mechanism, cred, serverctrls, and clientctrls are supplied.
105 char *mechanism,
120 if (strcasecmp(mechanism, LDAP_SASL_SIMPLE) == 0){
131 if (strcasecmp(mechanism, LDAP_SASL_CRAM_MD5) == 0){
141 if (strcasecmp(mechanism, LDAP_SASL_EXTERNAL) == 0){
151 if (strcasecmp(mechanism, LDAP_SASL_X511_PROTECTED) == 0){
166 if (strcasecmp(mechanism, LDAP_SASL_X511_STRONG) == 0){
181 if (strcasecmp(mechanism, LDAP_SASL_KERBEROS_V4) == 0){
196 if (strcasecmp(mechanism, LDAP_SASL_GSSAPI) == 0){
211 if (strcasecmp(mechanism, LDAP_SASL_SKEY) == 0){
260 * dn, mechanism, cred, serverctrls, and clientctrls are supplied.
268 char *mechanism,
280 if ((retcode = ldap_sasl_bind(ld, dn, mechanism, cred, serverctrls, clientctrls, &msgid)) != LDAP_SUCCESS)