diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-07 14:11:25 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-07 08:18:06 -0600 |
commit | 7f8276b06d5000d12c0d64167853a033b924af32 (patch) | |
tree | 2a5841cb1d3910a841ea1337d82465b6ef2acd45 /source4/lib/registry/local.c | |
parent | ff1017b1426a7620618ca3b5e2b4cd5cdac3dcd2 (diff) | |
download | samba-7f8276b06d5000d12c0d64167853a033b924af32.tar.gz samba-7f8276b06d5000d12c0d64167853a033b924af32.tar.bz2 samba-7f8276b06d5000d12c0d64167853a033b924af32.zip |
r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.
(This used to be commit 846876ad32dc86fe7c367db084e76c670c61b389)
Diffstat (limited to 'source4/lib/registry/local.c')
-rw-r--r-- | source4/lib/registry/local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/local.c b/source4/lib/registry/local.c index 14b42797ba..35724e7ea6 100644 --- a/source4/lib/registry/local.c +++ b/source4/lib/registry/local.c @@ -30,7 +30,7 @@ struct reg_key_path { }; struct registry_local { - struct registry_context registry; + const struct registry_operations *ops; struct mountpoint { struct reg_key_path path; @@ -299,7 +299,7 @@ WERROR reg_open_local(TALLOC_CTX *mem_ctx, struct registry_context **ctx, W_ERROR_HAVE_NO_MEMORY(ret); - ret->registry.ops = &local_ops; + ret->ops = &local_ops; ret->session_info = session_info; ret->credentials = credentials; |