The branch, master has been updated
via ff19070 s4-kcc: correctly populate the neighbor object when taking
information from repsTo
from 2049357 Added missing return. Not strictly neccessary, the
following if (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will
catch this and use tevent_req_nterror(req, status); to set the status as
NT_STATUS_OK, but it looks strange to do it that way.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit ff1907012a6552eb5f18b40a14465a9cf2ff9f0e
Author: Matthieu Patou <[email protected]>
Date: Sat Jul 30 11:05:40 2011 +0400
s4-kcc: correctly populate the neighbor object when taking information from
repsTo
Autobuild-User: Matthieu Patou <[email protected]>
Autobuild-Date: Sun Jul 31 00:17:17 CEST 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source4/dsdb/kcc/kcc_drs_replica_info.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/dsdb/kcc/kcc_drs_replica_info.c
b/source4/dsdb/kcc/kcc_drs_replica_info.c
index 2629114..536684f 100644
--- a/source4/dsdb/kcc/kcc_drs_replica_info.c
+++ b/source4/dsdb/kcc/kcc_drs_replica_info.c
@@ -675,6 +675,9 @@ static WERROR fill_neighbor_from_repsTo(TALLOC_CTX *mem_ctx,
return WERR_DS_DRA_INTERNAL_ERROR;
}
+ neigh->last_success = reps_to->last_success;
+ neigh->result_last_attempt = reps_to->result_last_attempt;
+ neigh->consecutive_sync_failures = reps_to->consecutive_sync_failures;
return WERR_OK;
}
--
Samba Shared Repository