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:
parent
6639f8c119
commit
f722f3341f
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user