From ada325948cdc53ae562339a1e450542636b5ffe1 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 26 Sep 2007 21:30:43 +0000 Subject: [PATCH] Make SD session key more unique git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5663 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/stored/job.c b/bacula/src/stored/job.c index 2bb5bda0a2..3da8c386d5 100644 --- a/bacula/src/stored/job.c +++ b/bacula/src/stored/job.c @@ -135,7 +135,7 @@ bool job_cmd(JCR *jcr) /* * Pass back an authorization key for the File daemon */ - bsnprintf(seed, sizeof(seed), "%p", jcr); + bsnprintf(seed, sizeof(seed), "%p%d", jcr, JobId); make_session_key(auth_key, seed, 1); dir->fsend(OKjob, jcr->VolSessionId, jcr->VolSessionTime, auth_key); if (debug_level == 3) { -- 2.39.5