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 denis bonnenfant
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 with something similar to the Python script
  you included below?
 

My patch adds a -K option to regpatch for specifying the predef key
where -F registry should be mounted. I will submit it for review soon,
I'm currently experimenting a little bit, and there are still some bugs
in .reg parsing

Denis

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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

2011-05-17 Thread denis bonnenfant
Le dimanche 15 mai 2011 à 00:28 +0200, Michael Wood a écrit :
 On 14 May 2011 22:09, Michael Wood esiot...@gmail.com wrote:
  On 14 May 2011 19:53, RiCH r...@richud.com wrote:
  Hi,
 

Hi, 

Two years ago, I worked a bit on this. There was a lot of things to be
done for full support of regf files patching . My patches mostly worked,
but I never submitted it because I finally decided to generate .pol
files with a small python script and appmently it on client side instead
of patching regf files server-side.

So I'm going to resurrect my old sources, rebase it on current git, and
hope it helps... As far as I remember, there was some problems with regf
format writing, and the registry files generated were sometimes
corrupted. Investigating it may be quite difficult, as regf format is
not simple and badly documented. But maybe some work was already done
yet ? 

Denis

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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

2011-05-17 Thread denis bonnenfant
Le dimanche 15 mai 2011 à 10:26 +0200, denis bonnenfant a écrit :
 Le dimanche 15 mai 2011 à 00:28 +0200, Michael Wood a écrit :
  On 14 May 2011 22:09, Michael Wood esiot...@gmail.com wrote:
   On 14 May 2011 19:53, RiCH r...@richud.com wrote:
   Hi,
  
 
 Hi, 
 
 Two years ago, I worked a bit on this. There was a lot of things to be
 done for full support of regf files patching . My patches mostly worked,
 but I never submitted it because I finally decided to generate .pol
 files with a small python script and appmently it on client side instead
 of patching regf files server-side.
 
 So I'm going to resurrect my old sources, rebase it on current git, and
 hope it helps... As far as I remember, there was some problems with regf
 format writing, and the registry files generated were sometimes
 corrupted. Investigating it may be quite difficult, as regf format is
 not simple and badly documented. But maybe some work was already done
 yet ? 

I had a look, and the merge is not straightforward. So I have work on it
a little bit. Hopefully, regf code seems  corrected, so I expect some
good news...

Denis

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba