diff options
author | Michael Adam <obnox@samba.org> | 2008-01-19 22:39:33 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-20 02:03:38 +0100 |
commit | c8a0b2a3a2c82312076341fb2fe53e0abed0a6fb (patch) | |
tree | 5832c549e315000ea9cd300cf68023a2b13bb9de /source3 | |
parent | 1b2dd2dcc8a78c3b6d4ba9fe229dd6f286947b32 (diff) | |
download | samba-c8a0b2a3a2c82312076341fb2fe53e0abed0a6fb.tar.gz samba-c8a0b2a3a2c82312076341fb2fe53e0abed0a6fb.tar.bz2 samba-c8a0b2a3a2c82312076341fb2fe53e0abed0a6fb.zip |
In reg_backend_netlogon_params, delegate fetch_subkeys() to regdb.
In order to be able to open the netlogon_params key (the new backend replacing
the former dynamic overlay), certain methods need to be provided. Delegate these
to the regdb backend (like e.g. the smbconf backend does).
Michael
(This used to be commit 9261b2c4bf48e133eecda9ec0095bd8edf20326c)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_netlogon_params.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_netlogon_params.c b/source3/registry/reg_backend_netlogon_params.c index 507d2c5df8..ff5a33e6e4 100644 --- a/source3/registry/reg_backend_netlogon_params.c +++ b/source3/registry/reg_backend_netlogon_params.c @@ -29,6 +29,7 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY +extern REGISTRY_OPS regdb_ops; static int netlogon_params_fetch_reg_values(const char *key, REGVAL_CTR *regvals) @@ -44,7 +45,13 @@ static int netlogon_params_fetch_reg_values(const char *key, return regval_ctr_numvals( regvals ); } +static int netlogon_params_fetch_subkeys(const char *key, + REGSUBKEY_CTR *subkey_ctr) +{ + return regdb_ops.fetch_subkeys(key, subkey_ctr); +} REGISTRY_OPS netlogon_params_reg_ops = { .fetch_values = netlogon_params_fetch_reg_values, + .fetch_subkeys = netlogon_params_fetch_subkeys, }; |