diff --git a/src/slurmd/slurmd/req.c b/src/slurmd/slurmd/req.c index 049dd7b8caa8718f771aa4be1176534775f9fc17..739d31213dc82fe321058830f5e8c9248c3bb888 100644 --- a/src/slurmd/slurmd/req.c +++ b/src/slurmd/slurmd/req.c @@ -552,8 +552,14 @@ _check_job_credential(slurm_cred_t cred, uint32_t jobid, * First call slurm_cred_verify() so that all valid * credentials are checked */ - if (((rc = slurm_cred_verify(conf->vctx, cred, &arg)) < 0) && !user_ok) - return SLURM_ERROR; + if ((rc = slurm_cred_verify(conf->vctx, cred, &arg)) < 0) { + if (!user_ok) { + return SLURM_ERROR; + } else { + debug("_check_job_credential slurm_cred_verify failed:" + " %m, but continuing anyway."); + } + } /* * If uid is the slurm user id or root, do not bother