From 1e09f12d1f755ab4eeb76c51c7b52a44c78ed477 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 24 Aug 2011 01:14:22 +0200 Subject: s3:registry: fix the v2_to_v3 upgrade code so that it does not create value list security records for the INFO/version key ... --- source3/registry/reg_backend_db.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/registry') diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 13bf342989..58e7b332bd 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -484,6 +484,12 @@ static int regdb_upgrade_v2_to_v3_fn(struct db_record *rec, void *private_data) keyname = (const char *)rec->key.dptr; + if (strncmp(keyname, REGDB_VERSION_KEYNAME, + strlen(REGDB_VERSION_KEYNAME)) == 0) + { + return 0; + } + if (strncmp(keyname, REG_SORTED_SUBKEYS_PREFIX, strlen(REG_SORTED_SUBKEYS_PREFIX)) == 0) { -- cgit