Directory Services |
The DS_REPL_KCC_DSA_FAILUREW_BLOB structure contains replication state data with respect to a specific inbound replication partner. This state data is compiled and used by the Knowledge Consistency Checker (KCC) to decide when alternate replication routes need to be added to account for unreachable servers. This structure is similar to the DS_REPL_KCC_DSA_FAILURE structure, but is obtained from the Lightweight Directory Access Protocol API functions when obtaining binary data for the msDS-ReplConnectionFailures or msDS-ReplLinkFailures attribute.
typedef struct {
DWORD oszDsaDN;
UUID uuidDsaObjGuid;
FILETIME ftimeFirstFailure;
DWORD cNumFailures;
DWORD dwLastResult; } DS_REPL_KCC_DSA_FAILUREW_BLOB;
Value | Meaning |
---|---|
msDS-ReplConnectionFailures | Contains the date and time that the first failure occurred when replicating from the source server. |
msDS-ReplLinkFailures | Contains the date and time of the last successful replication. |
The following code example demonstrates how to access the strings in this structure using the offset members.
DS_REPL_KCC_DSA_FAILUREW_BLOB *pdsReplKccDsaFailure; // Retrieve the replication data into pdsReplKccDsaFailure. LPWSTR pwszDsaDN = (LPWSTR)((LPBYTE)pdsReplKccDsaFailure + pdsReplKccDsaFailure->oszDsaDN);
Client: Included in Windows XP.
Server: Included in Windows Server 2003.
Header: Declared in Ntdsapi.h.
DS_REPL_KCC_DSA_FAILURE, FILETIME, Lightweight Directory Access Protocol API