summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-25 22:04:58 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 13:22:54 +0100
commitd73dafb5fe4339611e3e61f5622a6f8c4b81b1c1 (patch)
tree840ab739d646cf307399fe271294f03e26e35d84 /source3
parent20e40d3b7da084a00cd417c63c79d0bc102462b8 (diff)
downloadsamba-d73dafb5fe4339611e3e61f5622a6f8c4b81b1c1.tar.gz
samba-d73dafb5fe4339611e3e61f5622a6f8c4b81b1c1.tar.bz2
samba-d73dafb5fe4339611e3e61f5622a6f8c4b81b1c1.zip
s3:registry: implement create_subkey for the smbconf backend
by delegating to the db backend Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_smbconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_smbconf.c b/source3/registry/reg_backend_smbconf.c
index 10ee138e0e..3beae8b034 100644
--- a/source3/registry/reg_backend_smbconf.c
+++ b/source3/registry/reg_backend_smbconf.c
@@ -35,6 +35,11 @@ static bool smbconf_store_keys( const char *key, struct regsubkey_ctr *subkeys )
return regdb_ops.store_subkeys(key, subkeys);
}
+static WERROR smbconf_create_subkey(const char *key, const char *subkey)
+{
+ return regdb_ops.create_subkey(key, subkey);
+}
+
static int smbconf_fetch_values( const char *key, REGVAL_CTR *val )
{
return regdb_ops.fetch_values(key, val);
@@ -79,6 +84,7 @@ REGISTRY_OPS smbconf_reg_ops = {
.fetch_values = smbconf_fetch_values,
.store_subkeys = smbconf_store_keys,
.store_values = smbconf_store_values,
+ .create_subkey = smbconf_create_subkey,
.reg_access_check = smbconf_reg_access_check,
.get_secdesc = smbconf_get_secdesc,
.set_secdesc = smbconf_set_secdesc,