= sambaopts.get_loadparm()
creds = credopts.get_credentials(lp)
hive = registry.open_hive(hivepath, lp_ctx=lp, credentials=creds)
# Mount the hive to HKEY_CURRENT_USER
reg = registry.Registry()
reg.mount_hive(hive, registry.HKEY_CURRENT_USER)
reg.diff_apply(patchfile)
---
Regards,
Wilco Baan Hofman
is the path to e.g. some user's NTUSER.DAT?
Indeed.
# Mount the hive to HKEY_CURRENT_USER
reg = registry.Registry()
reg.mount_hive(hive, registry.HKEY_CURRENT_USER)
reg.diff_apply(patchfile)
---
Regards,
Wilco Baan Hofman
--
To unsubscribe from this list go to the following URL
On Wed, 2011-05-18 at 16:01 +0200, denis bonnenfant wrote:
Le mercredi 18 mai 2011 à 15:07 +0200, Wilco Baan Hofman a écrit :
On Wed, 2011-05-18 at 12:33 +0200, Michael Wood wrote:
Then it seems the -F option should be removed from regpatch. Or
should regpatch be replaced