Lines Matching refs:method
228 "re-bind method (0->simple, 1->krbv41, 2->krbv42, 3->krbv41&2)? " );
259 int i, c, port, cldapflg, errflg, method, id,
437 "method (0->simple, 1->krbv41, 2->krbv42)? " );
438 method = atoi( line ) | 0x80;
440 method = LDAP_AUTH_SIMPLE;
445 if ( method == LDAP_AUTH_SIMPLE && dn[0] != '\0' )
451 if ( ldap_bind( ld, dn, passwd, method ) == -1 ) {
463 "method 0->simple 1->krbv41 2->krbv42 3->krb? " );
464 method = atoi( line );
465 if ( method == 3 )
466 method = LDAP_AUTH_KRBV4;
468 method = method | 0x80;
471 "method 0->simple, 1->SASL? ");
472 method = atoi (line);
473 if (method == 1){
474 method = LDAP_AUTH_SASL;
485 method = LDAP_AUTH_SIMPLE;
498 if (method == LDAP_AUTH_SIMPLE) {
499 if ( ldap_bind_s( ld, dn, passwd, method ) !=