1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

s3:lib/gencache: place gencache.tdb into /var/cache/samba

/var/lock/samba is located on tmpfs on newer systems,
but we want to keep things like the server affinity cache
across reboots.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-03-28 11:00:27 +01:00 committed by Volker Lendecke
parent b986a3a9c9
commit 54529fd354

View File

@ -63,7 +63,7 @@ static bool gencache_init(void)
/* skip file open if it's already opened */
if (cache) return True;
cache_fname = lock_path("gencache.tdb");
cache_fname = cache_path("gencache.tdb");
DEBUG(5, ("Opening cache file at %s\n", cache_fname));