Lines Matching defs:errnum
540 int errnum;
553 if ((errnum = ldapssl_client_init(
556 report_error(ldapssl_err2string(errnum), NULL);
584 errnum = ldap_simple_bind_s(ld, config_info->proxy_dn,
589 errnum = ldap_sasl_cram_md5_bind_s(ld,
594 errnum = ldap_x_sasl_digest_md5_bind_s(ld,
597 errnum = ldap_simple_bind_s(ld, NULL, NULL);
600 if (errnum == LDAP_SUCCESS)
603 if (errnum == LDAP_CONNECT_ERROR ||
604 errnum == LDAP_SERVER_DOWN) {
620 report_error2(config_info->proxy_dn, ldap_err2string(errnum));
653 int errnum;
724 LDAP_OPT_ERROR_NUMBER, &errnum);
725 if (errnum != LDAP_SUCCESS)
733 errnum = ldap_result2error(ld, resultMsg, FALSE);
734 if (errnum != LDAP_SUCCESS)
741 report_error(ldap_err2string(errnum), 0);
773 int errnum;
803 errnum = ldap_search_s(ld, config_info->config_dn, LDAP_SCOPE_BASE,
808 if (errnum != LDAP_SUCCESS) {
810 report_error(ldap_err2string(errnum), 0);
906 int errnum;
949 errnum = ldap_search_s(ld, config_info->config_dn, LDAP_SCOPE_BASE,
954 if (errnum == LDAP_REFERRAL) {
958 } else if (errnum != LDAP_SUCCESS) {
960 report_error(ldap_err2string(errnum), 0);