From d64ccc01769ce274c74d8458f9ef81cdcc8986f6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 21 Mar 2006 01:30:22 +0000 Subject: r14599: Pass ACLs down the registry layer. (This used to be commit 6cdefd8945eee5513a6993350ea71f12d4dbd6fa) --- source4/torture/local/registry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture/local') diff --git a/source4/torture/local/registry.c b/source4/torture/local/registry.c index b1582a4e9e..95f7d3afe7 100644 --- a/source4/torture/local/registry.c +++ b/source4/torture/local/registry.c @@ -22,6 +22,7 @@ #include "includes.h" #include "lib/registry/registry.h" +#include "lib/cmdline/popt_common.h" static BOOL test_hive(TALLOC_CTX *mem_ctx, const char *backend, const char *location) { @@ -34,7 +35,7 @@ static BOOL test_hive(TALLOC_CTX *mem_ctx, const char *backend, const char *loca return True; } - error = reg_open_hive(mem_ctx, backend, location, NULL, &root); + error = reg_open_hive(mem_ctx, backend, location, NULL, cmdline_credentials, &root); if (!W_ERROR_IS_OK(error)) { printf("reg_open_hive() failed\n"); return False; -- cgit