s3: put the gpo cache dir under cache_dir instead of lock_dir
authorMichael Adam <obnox@samba.org>
Thu, 15 Jan 2009 23:50:45 +0000 (00:50 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 16 Jan 2009 00:02:25 +0000 (01:02 +0100)
Michael

source3/libgpo/gpo_fetch.c

index 2ec066425bb5706e08ccb62a768278d910e89fb3..302003f5ae97ec807431508dcc02373cecb13441 100644 (file)
@@ -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;