summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-26 02:56:50 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 13:22:55 +0100
commitae8c584218fd25016f9baf3106eb25a2faf15a97 (patch)
tree47bc6a8df2ccb8b8207337a60b6833026cc87822 /source3/registry
parentb5fbe06d746f3e5f004b7006812014dfd269c250 (diff)
downloadsamba-ae8c584218fd25016f9baf3106eb25a2faf15a97.tar.gz
samba-ae8c584218fd25016f9baf3106eb25a2faf15a97.tar.bz2
samba-ae8c584218fd25016f9baf3106eb25a2faf15a97.zip
s3:registry: implement delete_subkey in the smbconf backend
delegating the call to the db backend Michael
Diffstat (limited to 'source3/registry')
-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 3beae8b034..8e1bbcab6f 100644
--- a/source3/registry/reg_backend_smbconf.c
+++ b/source3/registry/reg_backend_smbconf.c
@@ -40,6 +40,11 @@ static WERROR smbconf_create_subkey(const char *key, const char *subkey)
return regdb_ops.create_subkey(key, subkey);
}
+static WERROR smbconf_delete_subkey(const char *key, const char *subkey)
+{
+ return regdb_ops.delete_subkey(key, subkey);
+}
+
static int smbconf_fetch_values( const char *key, REGVAL_CTR *val )
{
return regdb_ops.fetch_values(key, val);
@@ -85,6 +90,7 @@ REGISTRY_OPS smbconf_reg_ops = {
.store_subkeys = smbconf_store_keys,
.store_values = smbconf_store_values,
.create_subkey = smbconf_create_subkey,
+ .delete_subkey = smbconf_delete_subkey,
.reg_access_check = smbconf_reg_access_check,
.get_secdesc = smbconf_get_secdesc,
.set_secdesc = smbconf_set_secdesc,