diff options
author | Michael Adam <obnox@samba.org> | 2009-02-25 22:04:58 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-26 13:22:54 +0100 |
commit | d73dafb5fe4339611e3e61f5622a6f8c4b81b1c1 (patch) | |
tree | 840ab739d646cf307399fe271294f03e26e35d84 /source3/registry | |
parent | 20e40d3b7da084a00cd417c63c79d0bc102462b8 (diff) | |
download | samba-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/registry')
-rw-r--r-- | source3/registry/reg_backend_smbconf.c | 6 |
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, |