summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-21 01:30:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:59 -0500
commitd64ccc01769ce274c74d8458f9ef81cdcc8986f6 (patch)
tree27c1b92cf2c0d482fdab208f33b876314cacb13e /source4/torture/local
parentb556df32a849eefa2f2f34868eee02f05451878d (diff)
downloadsamba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.tar.gz
samba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.tar.bz2
samba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.zip
r14599: Pass ACLs down the registry layer.
(This used to be commit 6cdefd8945eee5513a6993350ea71f12d4dbd6fa)
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/registry.c3
1 files changed, 2 insertions, 1 deletions
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;