diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-21 01:30:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:58:59 -0500 |
commit | d64ccc01769ce274c74d8458f9ef81cdcc8986f6 (patch) | |
tree | 27c1b92cf2c0d482fdab208f33b876314cacb13e /source4/lib/registry/tools/regdiff.c | |
parent | b556df32a849eefa2f2f34868eee02f05451878d (diff) | |
download | samba-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/lib/registry/tools/regdiff.c')
-rw-r--r-- | source4/lib/registry/tools/regdiff.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c index ae617bbe84..c7e6f87792 100644 --- a/source4/lib/registry/tools/regdiff.c +++ b/source4/lib/registry/tools/regdiff.c @@ -54,14 +54,14 @@ int main(int argc, char **argv) error = WERR_OK; switch(opt) { case 'L': - if (!h1 && !from_null) error = reg_open_local(&h1); - else if (!h2) error = reg_open_local(&h2); + if (!h1 && !from_null) error = reg_open_local(&h1, NULL, cmdline_credentials); + else if (!h2) error = reg_open_local(&h2, NULL, cmdline_credentials); break; case 'R': if (!h1 && !from_null) - error = reg_open_remote(&h1, cmdline_credentials, + error = reg_open_remote(&h1, NULL, cmdline_credentials, poptGetOptArg(pc), NULL); - else if (!h2) error = reg_open_remote(&h2, cmdline_credentials, + else if (!h2) error = reg_open_remote(&h2, NULL, cmdline_credentials, poptGetOptArg(pc), NULL); break; } |