4.1.13.1.7 DS_REPL_NEIGHBORW

The DS_REPL_NEIGHBORW structure defines a replication neighbor. This structure is a concrete representation of a RepsFrom or RepsTo value.

 typedef struct {
   [string] LPWSTR pszNamingContext;
   [string] LPWSTR pszSourceDsaDN;
   [string] LPWSTR pszSourceDsaAddress;
   [string] LPWSTR pszAsyncIntersiteTransportDN;
   DWORD dwReplicaFlags;
   DWORD dwReserved;
   UUID uuidNamingContextObjGuid;
   UUID uuidSourceDsaObjGuid;
   UUID uuidSourceDsaInvocationID;
   UUID uuidAsyncIntersiteTransportObjGuid;
   USN usnLastObjChangeSynced;
   USN usnAttributeFilter;
   FILETIME ftimeLastSyncSuccess;
   FILETIME ftimeLastSyncAttempt;
   DWORD dwLastSyncResult;
   DWORD cNumConsecutiveSyncFailures;
 } DS_REPL_NEIGHBORW;

pszNamingContext: The NC root of the NC replica.

pszSourceDsaDN: The DN of the server DC nTDSDSA object.

pszSourceDsaAddress: The NetworkAddress of the server DC.

pszAsyncIntersiteTransportDN: The DN of the interSiteTransport object corresponding to the transport used to communicate with the server DC.

dwReplicaFlags: The DRS_OPTIONS flags.

dwReserved: Unused. MUST be 0 and ignored.

uuidNamingContextObjGuid: The objectGUID of the NC root.

uuidSourceDsaObjGuid: The DSA GUID of the server DC.

uuidSourceDsaInvocationID: The invocation ID associated with the server DC.

uuidAsyncIntersiteTransportObjGuid: The objectGUID of the interSiteTransport object corresponding to the transport used to communicate with the server DC.

usnLastObjChangeSynced: An implementation-specific value.

usnAttributeFilter: An implementation-specific value.

ftimeLastSyncSuccess: The time of the last successful replication from the server DC.

ftimeLastSyncAttempt: The time of the last attempt to replicate from the server DC.

dwLastSyncResult: 0, or the Windows error code, as specified in [MS-ERREF] section 2.2, resulting from the last sync attempt.

cNumConsecutiveSyncFailures: The number of consecutive failures to replicate from the server DC.