diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-29 11:44:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:02 -0500 |
commit | a29c24f180cc21b358c51a86632eb1cc2cb17868 (patch) | |
tree | b34b72f11e918d2b3b88534e0ff49058af02665f /source4/lib/registry/reg_backend_ldb | |
parent | e78bfc960385a094b03faa462408d8c8391fcbaf (diff) | |
download | samba-a29c24f180cc21b358c51a86632eb1cc2cb17868.tar.gz samba-a29c24f180cc21b358c51a86632eb1cc2cb17868.tar.bz2 samba-a29c24f180cc21b358c51a86632eb1cc2cb17868.zip |
r3367: More registry updates.
Add support flush_key and close_hive.
(This used to be commit c526273df238c994c4de3c1704c6e95433f2331c)
Diffstat (limited to 'source4/lib/registry/reg_backend_ldb')
-rw-r--r-- | source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c index a18bed5591..bd3afbdedf 100644 --- a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c +++ b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c @@ -194,11 +194,18 @@ static WERROR ldb_del_key (struct registry_key *key) return WERR_OK; } +static WERROR ldb_close_hive (struct registry_hive *hive) +{ + ldb_close (hive->backend_data); + return WERR_OK; +} + static struct registry_operations reg_backend_ldb = { .name = "ldb", .add_key = ldb_add_key, .del_key = ldb_del_key, .open_hive = ldb_open_hive, + .close_hive = ldb_close_hive, .open_key = ldb_open_key, .get_value_by_index = ldb_get_value_by_id, .get_subkey_by_index = ldb_get_subkey_by_id, |