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

r19838: We have to delete the value record as well, otherwise the old values pop up

again if the key is re-created.

Volker
This commit is contained in:
Volker Lendecke 2006-11-22 15:41:29 +00:00 committed by Gerald (Jerry) Carter
parent 6639f8c119
commit f722f3341f

View File

@ -397,6 +397,10 @@ BOOL regdb_store_keys( const char *key, REGSUBKEY_CTR *ctr )
pstr_sprintf( path, "%s%c%s", key, '/', oldkeyname );
normalize_reg_path( path );
tdb_delete_bystring( tdb_reg, path );
pstr_sprintf( path, "%s/%s/%s", VALUE_PREFIX, key,
oldkeyname );
normalize_reg_path( path );
tdb_delete_bystring( tdb_reg, path );
}
}