Re: [Samba] regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)

2011-05-19 Thread Wilco Baan Hofman
= 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

Re: [Samba] regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)

2011-05-19 Thread 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

Re: [Samba] regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)

2011-05-19 Thread Wilco Baan Hofman
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