git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b986a3a
)
s3:lib/gencache: place gencache.tdb into /var/cache/samba
author
Stefan Metzmacher
<metze@samba.org>
Thu, 28 Mar 2013 10:00:27 +0000
(11:00 +0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 3 Apr 2013 07:53:08 +0000
(09:53 +0200)
/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>
source3/lib/gencache.c
patch
|
blob
|
history
diff --git
a/source3/lib/gencache.c
b/source3/lib/gencache.c
index 18bfc7ccf9daf653aa6e2b901049791961b2a4fa..8ace4d9ad24b244d7f1287324955e53662b38850 100644
(file)
--- a/
source3/lib/gencache.c
+++ b/
source3/lib/gencache.c
@@
-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));