summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-13 12:10:07 +0200
committerMichael Adam <obnox@samba.org>2008-04-13 15:33:47 +0200
commitbcb19766d6c18b847b0576ea86c0a0e468af78af (patch)
tree4513b7e8c23641978b1e52c9cacbba247c396c87 /source3/lib
parent2c47a6a7106081a8fbc7f9f971518c8cf28ad3b9 (diff)
downloadsamba-bcb19766d6c18b847b0576ea86c0a0e468af78af.tar.gz
samba-bcb19766d6c18b847b0576ea86c0a0e468af78af.tar.bz2
samba-bcb19766d6c18b847b0576ea86c0a0e468af78af.zip
registry: make registry_init_smbconf() hook the registry ops onto given key.
This still defaults to HKLM\Software\Samba\smbconf, but is interchangeable now. This allows us to open the libsmbconf registry backend on different registry keys. Michael (This used to be commit 8fe1a2f567afbecbe487f08825cb43b038065e99)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbconf/smbconf_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 0ac49a74e5..c53d275938 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -576,7 +576,7 @@ static WERROR smbconf_reg_init(struct smbconf_ctx *ctx, const char *path)
}
rpd(ctx)->open = false;
- if (!registry_init_smbconf()) {
+ if (!registry_init_smbconf(path)) {
werr = WERR_REG_IO_FAILURE;
goto done;
}