diff options
author | Michael Adam <obnox@samba.org> | 2011-08-24 01:14:22 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-08-25 23:55:06 +0200 |
commit | 1e09f12d1f755ab4eeb76c51c7b52a44c78ed477 (patch) | |
tree | ba48ab22bc895f6bc65de5dd389cde3efdcba66b /source3/registry | |
parent | 9b46798b1191ec88a3776b52aea7eb2e962f6ac7 (diff) | |
download | samba-1e09f12d1f755ab4eeb76c51c7b52a44c78ed477.tar.gz samba-1e09f12d1f755ab4eeb76c51c7b52a44c78ed477.tar.bz2 samba-1e09f12d1f755ab4eeb76c51c7b52a44c78ed477.zip |
s3:registry: fix the v2_to_v3 upgrade code so that it does not create value list security records for the INFO/version key ...
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |