summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-01 13:57:19 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:07 +0200
commit6b99aa496fe653f6bb7dcd7720f5a2c736779af6 (patch)
tree92327bc2f1ec496bb671a976560e8000bfd8d953 /source3
parenta60c94d55980c62ca281507c8d1960b5ab233dba (diff)
downloadsamba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.tar.gz
samba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.tar.bz2
samba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.zip
s3:registry: don't skip base keys from existence check in regdb_delete_subkey()
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 2fda23895f..b89da95ae6 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1213,7 +1213,7 @@ static WERROR regdb_delete_subkey(const char *key, const char *subkey)
struct regdb_delete_subkey_context delete_ctx;
TALLOC_CTX *mem_ctx = talloc_stackframe();
- if (!regdb_key_is_base_key(key) && !regdb_key_exists(regdb, key)) {
+ if (!regdb_key_exists(regdb, key)) {
werr = WERR_NOT_FOUND;
goto done;
}