diff options
Diffstat (limited to 'src/nis.c')
-rw-r--r-- | src/nis.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -892,7 +892,7 @@ nis_process_request(struct plugin_state *state, AUTH *request_auth, *reply_auth; char auth_buf[MAX_AUTH_BYTES]; struct rpc_msg request, reply; - int superuser, auth_flavor, auth_len; + int auth_flavor, auth_len; struct ypresp_val reply_val; struct ypresp_key_val reply_key_val; struct ypresp_all reply_all; @@ -948,26 +948,22 @@ nis_process_request(struct plugin_state *state, slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated auth_sys creds\n"); - superuser = 0; break; case AUTH_NONE: slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated \"none\" creds\n"); - superuser = 0; break; default: slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated other creds\n"); - superuser = 0; break; } } else { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "failed to validate client creds\n"); - superuser = 0; } auth_destroy(request_auth); |