Lines Matching refs:code

595                                        LDAPMessage *msg, int code)  in oldap_state_mechs_resp()  argument
607 if(code != LDAP_SUCCESS && code != LDAP_NO_RESULTS_RETURNED) in oldap_state_mechs_resp()
636 switch(code) { in oldap_state_mechs_resp()
648 result = oldap_map_error(code, CURLE_LOGIN_DENIED); in oldap_state_mechs_resp()
660 LDAPMessage *msg, int code) in oldap_state_sasl_resp() argument
675 result = Curl_sasl_continue(&li->sasl, data, code, &progress); in oldap_state_sasl_resp()
687 int code) in oldap_state_bind_resp() argument
695 if(code != LDAP_SUCCESS) in oldap_state_bind_resp()
696 return oldap_map_error(code, CURLE_LDAP_CANNOT_BIND); in oldap_state_bind_resp()
719 int code = LDAP_SUCCESS; in oldap_connecting() local
742 rc = ldap_parse_result(li->ld, msg, &code, NULL, NULL, NULL, NULL, 0); in oldap_connecting()
744 code = rc; in oldap_connecting()
747 data->info.httpcode = code; in oldap_connecting()
751 if(code == LDAP_PROTOCOL_ERROR && li->state != OLDAP_BINDV2 && in oldap_connecting()
778 if(code != LDAP_SUCCESS) { in oldap_connecting()
780 result = oldap_map_error(code, CURLE_USE_SSL_FAILED); in oldap_connecting()
794 result = oldap_map_error(code, CURLE_USE_SSL_FAILED); in oldap_connecting()
811 result = oldap_state_mechs_resp(data, msg, code); in oldap_connecting()
814 result = oldap_state_sasl_resp(data, msg, code); in oldap_connecting()
818 result = oldap_state_bind_resp(data, msg, code); in oldap_connecting()
977 int code; in oldap_recv() local
1001 rc = ldap_parse_result(li->ld, msg, &code, NULL, &info, NULL, NULL, 0); in oldap_recv()
1010 data->info.httpcode = code; in oldap_recv()
1012 switch(code) { in oldap_recv()
1020 failf(data, "LDAP remote: search failed %s %s", ldap_err2string(code), in oldap_recv()