/* * Munge plugin initialization */ int init ( void ) { host_list_idx = arg_idx_by_name( slurm_auth_get_arg_desc(), ARG_HOST_LIST ); if (host_list_idx == -1) return SLURM_ERROR; verbose("%s loaded", plugin_name); return SLURM_SUCCESS; }
/* * Munge plugin initialization */ int init ( void ) { char *fail_test_env = getenv("SLURM_MUNGE_AUTH_FAIL_TEST"); if (fail_test_env) bad_cred_test = atoi(fail_test_env); else bad_cred_test = 0; host_list_idx = arg_idx_by_name( slurm_auth_get_arg_desc(), ARG_HOST_LIST ); if (host_list_idx == -1) return SLURM_ERROR; verbose("%s loaded", plugin_name); return SLURM_SUCCESS; }