From: Kern Sibbald Date: Wed, 26 Sep 2007 21:30:43 +0000 (+0000) Subject: Make SD session key more unique X-Git-Tag: Release-3.0.0~2443 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ada325948cdc53ae562339a1e450542636b5ffe1;p=bacula%2Fbacula Make SD session key more unique git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5663 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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) {