summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_db.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 2a52042079..13bf342989 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -382,6 +382,12 @@ static int regdb_normalize_keynames_fn(struct db_record *rec,
return 1;
}
+ if (strncmp((const char *)rec->key.dptr, REGDB_VERSION_KEYNAME,
+ strlen(REGDB_VERSION_KEYNAME)) == 0)
+ {
+ return 0;
+ }
+
keyname = strchr((const char *) rec->key.dptr, '/');
if (keyname) {
keyname = talloc_string_sub(mem_ctx,