Export (0) Print
Expand All

2.2.2 DS_REPL_NEIGHBORW_BLOB

The DS_REPL_NEIGHBORW_BLOB structure is a representation of a tuple from the repsFrom or repsTo abstract attribute of an NC replica. This structure, retrieved using an LDAP search method, is an alternative representation of DS_REPL_NEIGHBORW, retrieved using the IDL_DRSGetReplInfo RPC method.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

oszNamingContext

oszSourceDsaDN

oszSourceDsaAddress

oszAsyncIntersiteTransportDN

dwReplicaFlags

dwReserved

uuidNamingContextObjGuid

...

...

...

uuidSourceDsaObjGuid

...

...

...

uuidSourceDsaInvocationID

...

...

...

uuidAsyncIntersiteTransportObjGuid

...

...

...

usnLastObjChangeSynced

...

usnAttributeFilter

...

ftimeLastSyncSuccess

...

ftimeLastSyncAttempt

...

dwLastSyncResult

cNumConsecutiveSyncFailures

data (variable)

...

oszNamingContext (4 bytes): A 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the naming context (NC) to which this replication state data pertains.

oszSourceDsaDN (4 bytes): A 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the distinguished name (DN) of the nTDSDSA object of the source server to which this replication state data pertains. Each source server has different associated neighbor data.

oszSourceDsaAddress (4 bytes): A 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the transport-specific network address of the source server—that is, a directory name service name for RPC/IP replication, or a Simple Mail Transfer Protocol (SMTP) address for an SMTP replication.

oszAsyncIntersiteTransportDN (4 bytes): A 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the DN of the interSiteTransport object (as specified in [MS-ADSC] section 2.63) that corresponds to the transport over which replication is performed. This member contains NULL for RPC/IP replication.

dwReplicaFlags (4 bytes): A 32-bit bit field containing a set of flags that specify attributes and options for the replication data. This can be zero or a combination of one or more of the following flags presented in big-endian byte order.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

X

X

N

C

N

C

C

X

X

X

X

X

X

N

S

X

X

X

F

S

N

F

S

P

X

X

X

X

X

X

T

W

S

X

A

I

T

D

S

S

S

O

S

W

X

X

X

X

X: Unused. Must be zero and ignored.

W (DS_REPL_NBR_WRITEABLE, 0x00000010): The NC replica is writable.

SOS (DS_REPL_NBR_SYNC_ON_STARTUP, 0x00000020): Replication of this NC from this source is attempted when the destination server is booted.

DSS (DS_REPL_NBR_DO_SCHEDULED_SYNCS, 0x00000040): Perform replication on a schedule.

AIT (DS_REPL_NBR_USE_ASYNC_INTERSITE_TRANSPORT, 0x00000080): Perform replication indirectly through the Inter-Site Messaging Service. This flag is set only when replicating over SMTP. This flag is not set when replicating over inter-site RPC/IP.

TWS (DS_REPL_NBR_TWO_WAY_SYNC, 0x00000200): When inbound replication is complete, the destination server requests the source server to synchronize in the reverse direction.

FSP (DS_REPL_NBR_FULL_SYNC_IN_PROGRESS, 0x00010000): The destination server is performing a full synchronization from the source server.

FSN (DS_REPL_NBR_FULL_SYNC_NEXT_PACKET, 0x00020000): The last packet from the source indicated a modification of an object that the destination server has not yet created. The next packet to be requested instructs the source server to put all attributes of the modified object into the packet.

NS (DS_REPL_NBR_NEVER_SYNCED, 0x00200000): A synchronization has never been successfully completed from this source.

CC (DS_REPL_NBR_COMPRESS_CHANGES, 0x10000000): Changes received from this source are to be compressed.

NCN (DS_REPL_NBR_NO_CHANGE_NOTIFICATIONS, 0x20000000): Applies to repsFrom only. The domain controller (DC) storing this repsFrom is not configured to receive change notifications from this source.

dwReserved (4 bytes): Reserved for future use.

uuidNamingContextObjGuid (16 bytes): A GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the objectGUID of the NC that corresponds to oszNamingContext.

uuidSourceDsaObjGuid (16 bytes): A GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the objectGUID of the nTDSDSA object that corresponds to oszSourceDsaDN.

uuidSourceDsaInvocationID (16 bytes): A GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the invocationId used by the source server as of the last replication attempt.

uuidAsyncIntersiteTransportObjGuid (16 bytes): A GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the objectGUID of the intersite transport object that corresponds to oszAsyncIntersiteTransportDN.

usnLastObjChangeSynced (8 bytes): An update sequence number (USN) value, as defined in section 3.1.1.1.9, containing the USN of the last object update received.

usnAttributeFilter (8 bytes): A USN value, as defined in section 3.1.1.1.9, containing the usnLastObjChangeSynced value at the end of the last complete, successful replication cycle, or 0 if none.

ftimeLastSyncSuccess (8 bytes): A FILETIME structure that contains the date and time that the last successful replication cycle was completed from this source. All members of this structure are zero if the replication cycle has never been completed.

ftimeLastSyncAttempt (8 bytes): A FILETIME structure that contains the date and time of the last replication attempt from this source. All members of this structure are zero if the replication has never been attempted.

dwLastSyncResult (4 bytes): A 32-bit unsigned integer specifying a Windows error code associated with the last replication attempt from this source. Contains ERROR_SUCCESS if the last attempt was successful or replication was not attempted.

cNumConsecutiveSyncFailures (4 bytes): A 32-bit integer specifying the number of failed replication attempts that have been made from this source since the last successful replication attempt or since the source was added as a neighbor, if no previous attempt succeeded.

data (variable): This field contains all the null-terminated strings that are pointed to by the offset fields in the structure (oszNamingContext, oszSourceDsaDN, oszSourceDsaAddress, oszAsyncIntersiteTransportDN). The strings are packed into this field, and the offsets can be used to determine the start of each string.

All multibyte fields have little-endian byte ordering.

 
Show:
© 2015 Microsoft