[PATCHS] allow samba to replicate modificated schema properly both on initial join and on incremental changes

Matthieu Patou mat at samba.org
Wed May 22 21:13:36 MDT 2013


Hello All,

On 05/18/2013 03:24 AM, Andrew Bartlett wrote:
> On Sat, 2013-05-18 at 10:39 +0200, Stefan (metze) Metzmacher wrote:
>> Hi Andrew,
>>
>>> As you know, what I've been wanting to do here is unify the vampire and
>>> ongoing schema handling, so we don't have this crazy duplication.
>>>
>>> I'm very cautious about your code to try and update the schema, as I've
>>> found that quite difficult to get right, but if you have cracked the
>>> code here, I would like to try and slot that into the code I had in my
>>> fix-drs-testing branches.
>>>
>>> I'm dubious about the idea of just mixing the provision-provided schema
>>> and the remote one, but I will continue to give your patch a careful
>>> look, and see if I can find a way to move forward.  It is indeed
>>> unacceptable to just halt progress because I think there is a better way
>>> that I can't actually get to work.
>>>
>>> Thanks for your effort and continued progress here.
>> I worked in this together with Matthieu, first to get it in a state
>> where I'm happy with. Then we decided to go further and unify
>> unify the looping to get the schema resolved
>> in a new function called dsdb_repl_resolve_working_schema().
>>
>> Matthieu is currently testing the result.
>>
>> Once the test result is fine I'm happy to push this to master and get it
>> backported.
> This sounds good.  If I can come up with improvements further from this,
> I'll re-base them on this work, rather than hold this up thinking I
> might be able to do better.
I'm planning to push this branch 
http://git.samba.org/mat/?p=mat/samba.git;a=shortlog;h=refs/heads/fix-drs-testing-metze
to autobuild soon

It's the same as what we did with metze with the addition of the two 
following patches.

Matthieu.

-- 
Matthieu Patou
Samba Team
http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Fix-talloc-issues-in-dsdb_schema_copy_shallow.patch
Type: text/x-diff
Size: 1530 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130522/8192980c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dsdb-do-not-exit-just-after-analysing-the-last-repli.patch
Type: text/x-diff
Size: 1321 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130522/8192980c/attachment-0001.patch>


More information about the samba-technical mailing list