View | Details | Raw Unified | Return to ticket 9877
Collapse All | Expand All

(-)a/contribs/pam_slurm_adopt/pam_slurm_adopt.c (-3 / +2 lines)
Lines 668-675 PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags Link Here
668
668
669
	_log_init(opts.log_level);
669
	_log_init(opts.log_level);
670
670
671
	slurm_conf_init(NULL);
672
673
	switch (opts.action_generic_failure) {
671
	switch (opts.action_generic_failure) {
674
	case CALLERID_ACTION_DENY:
672
	case CALLERID_ACTION_DENY:
675
		rc = PAM_PERM_DENIED;
673
		rc = PAM_PERM_DENIED;
Lines 739-744 PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags Link Here
739
		}
737
		}
740
	}
738
	}
741
739
740
	slurm_conf_init(NULL);
741
742
	/*
742
	/*
743
	 * Check if there are any steps on the node from any user. A failure here
743
	 * Check if there are any steps on the node from any user. A failure here
744
	 * likely means failures everywhere so exit on failure or if no local jobs
744
	 * likely means failures everywhere so exit on failure or if no local jobs
745
- 

Return to ticket 9877