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

s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the INFO/version key ...

This commit is contained in:
Michael Adam 2011-08-24 01:13:47 +02:00
parent b4cb969e40
commit 9b46798b11

View File

@ -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,