[PATCH] Fix server side DRSUAPI_DRS_GET_ANC handling (bug #12398)

Andrew Bartlett abartlet at samba.org
Thu Jan 12 08:23:57 UTC 2017


On Thu, 2016-12-15 at 12:04 +1300, Bob Campbell wrote:
> 
> We also understand the issue you've pointed out here. It seems that
> the
> functionality we've put in getncchanges_collect_objects is split into
> two functions in Windows: GetReplScope (4.1.10.5.3) and
> GetChangesInScope (4.1.10.5.5). In GetReplScope, they always add
> ancestors of critical objects to the scope if
> DRSUAPI_DRS_CRITICAL_ONLY
> is set (even if DRSUAPI_DRS_GET_ANC isn't set) - what documentation
> do
> you mean when you say that it's not how it's done in the
> documentation?
> We're going off of MS-DRSR. You are definitely correct in that the
> non-critical ancestors shouldn't impact the new_highwatermark, and
> indeed we possibly shouldn't change the new_highwatermark at all if
> DRSUAPI_DRS_CRITICAL_ONLY is set, as described in the related
> problem.

Metze,

We have had a customer issue come up that looks to be related to this
issue (incorrect GET_ANC handling).  Can you help us understand what is
needed to make some progress on getting the work you and Bob have done
into master?

I agree that it is critical (for performance) that we not add the
ancestors within getncchanges_collect_objects(), which needs to be
absolutely as simple as possible, as it deals with the whole domain
during a full replication.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list