[PATCH] small KCC fixes

Kamen Mazdrashki kamenim at samba.org
Tue Apr 22 06:50:41 MDT 2014


Hi Jelmer,


On Tue, Apr 22, 2014 at 1:46 PM, Jelmer Vernooij <jelmer at samba.org> wrote:

> On Tue, Apr 22, 2014 at 12:55:47PM +0200, Kamen Mazdrashki wrote:
> > Thanks Jelmer!
> >
> > Btw, what do you think about porting those patches to samba 4.0.x, 4.1.x?
> > Some of them looks like fixing real bugs when building topology?
> In principle, it seems like a good idea to backport fixes like this. How
> did you find them though, and are you sure kcc works properly now?
>

I was trying to run something like "bin/samba_kcc -H private/sam.ldb
--readonly --debug" to see
what the output is - it wasn't working so I dig it further. I am currently
using two IDEs to make
light my way in code I have forgotten - PyDev and PyCharm. And they are
awesome - constantly
'pylint'-ing the code I am looking at (not to mention highlight for
selected var). So I am able to quickly
find small and big problems here and there. Surprisingly, there are a lot :)

Does kcc works properly now? It is hard for me to answer this - it should
be working much
properly that it was before the patch. But if it is working like totally
properly - I am not sure.
It seems to me that there is more fixes to be done so it runs without
errors for more that one DC in Site :)
I hope to be able to test it with more DCs and Sites.


>
> It could do with a few unit tests...
>
> Are there any tests for kcc in selftest? I can't find any, but as far as I
recall, there were tests
when kcc code was ported to Python (just don't recall what the tests were)

Cheers,
Kamen


More information about the samba-technical mailing list