version 1.2, 2010/06/02 19:30:10 |
version 1.3, 2010/07/08 21:11:31 |
|
|
if (!sudo_vas_available) { |
if (!sudo_vas_available) { |
if (error_cause_shown == FALSE) { |
if (error_cause_shown == FALSE) { |
/* Produce the saved error reason */ |
/* Produce the saved error reason */ |
log_error(NO_MAIL|NO_EXIT, "Non-unix group checking unavailable: %s", |
warningx("Non-unix group checking unavailable: %s", |
err_msg ? err_msg |
err_msg ? err_msg |
: "(unknown cause)"); |
: "(unknown cause)"); |
error_cause_shown = TRUE; |
error_cause_shown = TRUE; |
|
|
|
|
FINISHED: /* cleanups */ |
FINISHED: /* cleanups */ |
if (vaserr != VAS_ERR_SUCCESS && vaserr != VAS_ERR_NOT_FOUND ) { |
if (vaserr != VAS_ERR_SUCCESS && vaserr != VAS_ERR_NOT_FOUND ) { |
int error_flags = NO_MAIL | MSG_ONLY | NO_EXIT; |
warningx("Error while checking group membership " |
|
|
log_error(error_flags, "Error while checking group membership " |
|
"for user \"%s\", group \"%s\", error: %s%s.", user, group, |
"for user \"%s\", group \"%s\", error: %s%s.", user, group, |
v_err_get_string(sudo_vas_ctx, 1), |
v_err_get_string(sudo_vas_ctx, 1), |
/* A helpful hint if there seems to be a non-FQDN as the domain */ |
/* A helpful hint if there seems to be a non-FQDN as the domain */ |
|
|
|
|
if (libvas_handle) { |
if (libvas_handle) { |
if (dlclose(libvas_handle) != 0) |
if (dlclose(libvas_handle) != 0) |
log_error(NO_MAIL|NO_EXIT, "dlclose() failed: %s", dlerror()); |
warningx("dlclose() failed: %s", dlerror()); |
libvas_handle = NULL; |
libvas_handle = NULL; |
} |
} |
} |
} |