diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-29 01:10:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:58 -0500 |
commit | 7ce7137ad4edb03acf6189568d4c3c4f6d8798fe (patch) | |
tree | c4df8f4525c7cfc671e336bed7ede0bbc7704808 /source4/lib/registry/common | |
parent | 10ae6167651bc4fe3169c6c4086eef4920b0d739 (diff) | |
download | samba-7ce7137ad4edb03acf6189568d4c3c4f6d8798fe.tar.gz samba-7ce7137ad4edb03acf6189568d4c3c4f6d8798fe.tar.bz2 samba-7ce7137ad4edb03acf6189568d4c3c4f6d8798fe.zip |
r3348: More registry fixes and additions. The following functions work right now against samba 4, at least with a ldb backend:
winreg_Open*
winreg_OpenKey
winreg_EnumKey
winreg_DeleteKey
winreg_CreateKey
(This used to be commit a71d51dd3b136a1bcde1704fe9830985e06bb01b)
Diffstat (limited to 'source4/lib/registry/common')
-rw-r--r-- | source4/lib/registry/common/reg_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c index 6237a788b7..a9f7bf1d5f 100644 --- a/source4/lib/registry/common/reg_interface.c +++ b/source4/lib/registry/common/reg_interface.c @@ -367,6 +367,7 @@ WERROR reg_key_get_subkey_by_name(TALLOC_CTX *mem_ctx, struct registry_key *key, if(key->hive->functions->get_subkey_by_name) { error = key->hive->functions->get_subkey_by_name(mem_ctx, key,name,subkey); + /* FIXME: Fall back to reg_open_key rather then get_subkey_by_index */ } else if(key->hive->functions->get_subkey_by_index) { for(i = 0; W_ERROR_IS_OK(error); i++) { error = reg_key_get_subkey_by_index(mem_ctx, key, i, subkey); |