summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-16 00:50:45 +0100
committerMichael Adam <obnox@samba.org>2009-01-16 01:02:25 +0100
commit584da3fea3f4391bb8b68cac90947edf88d0c28d (patch)
tree28eb6a35c5264edd740e4325343093d3759e3c25 /source3/libgpo
parent166ffc0d0dd55e6d7f530cfb806aa21142088e26 (diff)
downloadsamba-584da3fea3f4391bb8b68cac90947edf88d0c28d.tar.gz
samba-584da3fea3f4391bb8b68cac90947edf88d0c28d.tar.bz2
samba-584da3fea3f4391bb8b68cac90947edf88d0c28d.zip
s3: put the gpo cache dir under cache_dir instead of lock_dir
Michael
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libgpo/gpo_fetch.c b/source3/libgpo/gpo_fetch.c
index 2ec066425b..302003f5ae 100644
--- a/source3/libgpo/gpo_fetch.c
+++ b/source3/libgpo/gpo_fetch.c
@@ -59,7 +59,7 @@ NTSTATUS gpo_explode_filesyspath(TALLOC_CTX *mem_ctx,
if ((path = talloc_asprintf(mem_ctx,
"%s/%s",
- lock_path(GPO_CACHE_DIR),
+ cache_path(GPO_CACHE_DIR),
file_sys_path)) == NULL) {
return NT_STATUS_NO_MEMORY;
}
@@ -82,7 +82,7 @@ NTSTATUS gpo_explode_filesyspath(TALLOC_CTX *mem_ctx,
static NTSTATUS gpo_prepare_local_store(TALLOC_CTX *mem_ctx,
const char *unix_path)
{
- const char *top_dir = lock_path(GPO_CACHE_DIR);
+ const char *top_dir = cache_path(GPO_CACHE_DIR);
char *current_dir;
char *tok;