Lines Matching defs:result
407 const char *result = user;
411 return result;
417 result = substituted;
421 apr_table_set(r->subprocess_env, "LDAP_BINDASUSER", result);
423 return result;
512 int result = 0;
588 result = util_ldap_cache_checkuserid(r, ldc, sec->url, sec->basedn, sec->scope,
594 if (result != LDAP_SUCCESS) {
599 user, r->uri, ldc->reason, ldap_err2string(result));
606 user, r->uri, ldc->reason, ldap_err2string(result));
609 if (!strcasecmp(sec->filter, "none") && LDAP_OTHER == result) {
613 return (LDAP_NO_SUCH_OBJECT == result) ? AUTH_USER_NOT_FOUND
615 : (LDAP_SECURITY_ERROR(result)) ? AUTH_DENIED
617 : (LDAP_INAPPROPRIATE_AUTH == result) ? AUTH_DENIED
618 : (LDAP_INVALID_CREDENTIALS == result) ? AUTH_DENIED
620 : (LDAP_INSUFFICIENT_ACCESS == result) ? AUTH_DENIED
623 : (LDAP_INSUFFICIENT_RIGHTS == result) ? AUTH_DENIED
630 : (LDAP_CONSTRAINT_VIOLATION == result) ? AUTH_DENIED
665 apr_status_t result = APR_SUCCESS;
682 result = util_ldap_cache_getuserdn(r, ldc, sec->url, sec->basedn,
686 if (result != LDAP_SUCCESS) {
701 int result = 0;
776 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, sec->attribute, require);
777 switch(result) {
789 ldc->reason, ldap_err2string(result));
798 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, sec->attribute, w);
799 switch(result) {
811 ldc->reason, ldap_err2string(result));
828 int result = 0;
962 result = util_ldap_cache_compare(r, ldc, sec->url, t, ent[i].name,
964 if (result == LDAP_COMPARE_TRUE) {
969 ent[i].name, ldc->reason, result,
970 ldap_err2string(result));
978 t, ent[i].name, ldc->reason, result,
979 ldap_err2string(result));
990 t, ldc->reason, result, ldap_err2string(result));
995 result = util_ldap_cache_check_subgroups(r, ldc, sec->url, t, ent[i].name,
1000 if (result == LDAP_COMPARE_TRUE) {
1005 ent[i].name, ldc->reason, result,
1006 ldap_err2string(result));
1015 t, ldc->reason, ent[i].name, result,
1016 ldap_err2string(result));
1032 int result = 0;
1101 result = util_ldap_cache_comparedn(r, ldc, sec->url, req->dn, t, sec->compare_dn_on_server);
1102 switch(result) {
1114 t, ldc->reason, ldap_err2string(result));
1131 int result = 0;
1208 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, w, value);
1209 switch(result) {
1221 ldc->reason, ldap_err2string(result));
1238 int result = 0;
1323 result = util_ldap_cache_getuserdn(r, ldc, sec->url, sec->basedn,
1327 if (result == LDAP_SUCCESS) {
1335 result = util_ldap_cache_comparedn(r, ldc, sec->url, req->dn, dn,
1339 switch(result) {
1351 filtbuf, ldc->reason, ldap_err2string(result));
1358 ldc->reason, ldap_err2string(result));
1375 int result = 0;
1417 result = util_ldap_cache_getuserdn(r, ldc, sec->url, sec->basedn,
1421 if (result == LDAP_SUCCESS && dn) {
1431 t, ldc->reason, ldap_err2string(result));
1473 apr_ldap_err_t *result;
1477 rc = apr_ldap_url_parse(cmd->pool, url, &(urld), &(result));
1479 return result->reason;
1686 char *result;
1701 result = ap_get_exec_line(cmd->pool,
1704 if(!result) {
1709 sec->bindpw = result;