1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:registry: fix the v2_to_v3 upgrade code so that it does not create value list security records for the INFO/version key ...

This commit is contained in:
Michael Adam 2011-08-24 01:14:22 +02:00
parent 9b46798b11
commit 1e09f12d1f

View File

@ -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; 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, if (strncmp(keyname, REG_SORTED_SUBKEYS_PREFIX,
strlen(REG_SORTED_SUBKEYS_PREFIX)) == 0) strlen(REG_SORTED_SUBKEYS_PREFIX)) == 0)
{ {