diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-03-28 11:00:27 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-04-03 09:53:08 +0200 |
commit | 54529fd354275cfb4ece407f95ef34675b202ea3 (patch) | |
tree | 159222fd9fccf97ef5ed5792b74cd388803ce7d8 /source3/lib | |
parent | b986a3a9c988c6ec29c0e0a2f8609d5132e952f4 (diff) | |
download | samba-54529fd354275cfb4ece407f95ef34675b202ea3.tar.gz samba-54529fd354275cfb4ece407f95ef34675b202ea3.tar.bz2 samba-54529fd354275cfb4ece407f95ef34675b202ea3.zip |
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>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/gencache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 18bfc7ccf9..8ace4d9ad2 100644 --- 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)); |