diff --git a/doc/man/man8/spank.8 b/doc/man/man8/spank.8 index 07599f04580af06829aa8dab58980b6721e05b61..e159add109a97d0d7323d67576d14be6fe6d1d2b 100644 --- a/doc/man/man8/spank.8 +++ b/doc/man/man8/spank.8 @@ -53,9 +53,9 @@ option processing. \fBslurm_spank_init_post_opt\fR Called at the same point as \fBslurm_spank_init\fR, but after all user options to the plugin have been processed. The reason that the -\fBunit\fR and \fBinit_post_opt\fR callbacks are separated is so that +\fBinit\fR and \fBinit_post_opt\fR callbacks are separated is so that plugins can process system-wide options specified in plugstack.conf in -the \fBinit\fR callback, then process user options, and finaly take some +the \fBinit\fR callback, then process user options, and finally take some action in \fBslurm_spank_init_post_opt\fR if necessary. .TP \fBslurm_spank_local_user_init\fR diff --git a/src/common/assoc_mgr.c b/src/common/assoc_mgr.c index dbec5aa6274ad2fb5f311076be6d8431bf1b7971..ccc37aef329ff7cc0d2612a5383ee26c3aa61c7e 100644 --- a/src/common/assoc_mgr.c +++ b/src/common/assoc_mgr.c @@ -1089,7 +1089,7 @@ extern int assoc_mgr_fill_in_user(void *db_conn, acct_user_rec_t *user, if(!found_user) { slurm_mutex_unlock(&assoc_mgr_user_lock); - if(enforce) + if(enforce & ACCOUNTING_ENFORCE_ASSOCS) return SLURM_ERROR; else return SLURM_SUCCESS;