diff options
author | Michael Adam <obnox@samba.org> | 2012-05-05 02:12:25 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-05-05 04:10:42 +0200 |
commit | 16a24dc182edc020cb1a209db80649efe9bb5488 (patch) | |
tree | b2601b6c33892c4a10d2ede903bce61b1d3c3db9 /source3 | |
parent | cd98954c6dc6eba8bd66b408658486e869dca31d (diff) | |
download | samba-16a24dc182edc020cb1a209db80649efe9bb5488.tar.gz samba-16a24dc182edc020cb1a209db80649efe9bb5488.tar.bz2 samba-16a24dc182edc020cb1a209db80649efe9bb5488.zip |
s3:registry: implement values_need_update and subkeys_need_update in the smbconf backend
It simply calls to the regdb functions.
This fixes a caching issue uncovered by recent changes.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat May 5 04:10:43 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_smbconf.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_smbconf.c b/source3/registry/reg_backend_smbconf.c index 11abb9cc66..a056654c89 100644 --- a/source3/registry/reg_backend_smbconf.c +++ b/source3/registry/reg_backend_smbconf.c @@ -81,6 +81,15 @@ static WERROR smbconf_set_secdesc(const char *key, return regdb_ops.set_secdesc(key, secdesc); } +static bool smbconf_subkeys_need_update(struct regsubkey_ctr *subkeys) +{ + return regdb_ops.subkeys_need_update(subkeys); +} + +static bool smbconf_values_need_update(struct regval_ctr *values) +{ + return regdb_ops.values_need_update(values); +} /* * Table of function pointers for accessing smb.conf data @@ -96,4 +105,6 @@ struct registry_ops smbconf_reg_ops = { .reg_access_check = smbconf_reg_access_check, .get_secdesc = smbconf_get_secdesc, .set_secdesc = smbconf_set_secdesc, + .subkeys_need_update = smbconf_subkeys_need_update, + .values_need_update = smbconf_values_need_update, }; |