summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-01 14:23:19 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:08 +0200
commit5b01a34ad734a772e52c50ccd8ffbb461f986af7 (patch)
treef3ca014a0070d9d165bdba5c2674fae3a689b0d1 /source3
parentda2e64b63f6bbb2faa93f621e14992e38aa37354 (diff)
downloadsamba-5b01a34ad734a772e52c50ccd8ffbb461f986af7.tar.gz
samba-5b01a34ad734a772e52c50ccd8ffbb461f986af7.tar.bz2
samba-5b01a34ad734a772e52c50ccd8ffbb461f986af7.zip
s3:registry: don't skip base key in existence check in regdb_store_keys_internal()
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 2a0a0da8f2..bf31f02682 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1017,7 +1017,7 @@ static bool regdb_store_keys_internal(struct db_context *db, const char *key,
bool ret = false;
struct regdb_store_keys_context store_ctx;
- if (!regdb_key_is_base_key(key) && !regdb_key_exists(db, key)) {
+ if (!regdb_key_exists(db, key)) {
goto done;
}