From a8f01006bc3f0313f919f07322dec305b88e2d42 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" <morrone2@llnl.gov> Date: Thu, 7 Dec 2006 01:42:53 +0000 Subject: [PATCH] Add helpful debug message --- src/slurmd/slurmd/req.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/slurmd/slurmd/req.c b/src/slurmd/slurmd/req.c index 049dd7b8caa..739d31213dc 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 -- GitLab