<div class="content" name="DS_REPL_NEIGHBORW_BLOB" uuid="58877402-4bf1-4b40-b405-fd9d11691752"><p>The <b>DS_REPL_NEIGHBORW_BLOB</b> structure is a
representation of a tuple from the <span><a href="../ms-ada3/8a9018ac-1d10-4bae-8141-04822a5f51f2" data-linktype="relative-path">repsFrom</a></span>
or <span><a href="../ms-ada3/36e092bf-22bd-4bbe-8b05-b61c1fcd6c90" data-linktype="relative-path">repsTo</a></span>
abstract <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_108a1419-49a9-4d19-b6ca-7206aa726b3f" data-linktype="relative-path">attribute</a></span> of an <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_325d116f-cdbe-4dbd-b7e6-769ba75bf210" data-linktype="relative-path">NC
replica</a></span>. This structure, retrieved using an <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_45643bfb-b4c4-432c-a10f-b98790063f8d" data-linktype="relative-path">LDAP</a></span>
search method, is an alternative representation of DS_REPL_NEIGHBORW, retrieved
using the IDL_DRSGetReplInfo <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span> method.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">oszNamingContext</td>
 </tr>
 <tr>
  <td colspan="32">oszSourceDsaDN</td>
 </tr>
 <tr>
  <td colspan="32">oszSourceDsaAddress</td>
 </tr>
 <tr>
  <td colspan="32">oszAsyncIntersiteTransportDN</td>
 </tr>
 <tr>
  <td colspan="32">dwReplicaFlags</td>
 </tr>
 <tr>
  <td colspan="32">dwReserved</td>
 </tr>
 <tr>
  <td colspan="32">uuidNamingContextObjGuid (16 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">uuidSourceDsaObjGuid (16 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">uuidSourceDsaInvocationID (16 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">uuidAsyncIntersiteTransportObjGuid (16 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">usnLastObjChangeSynced</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">usnAttributeFilter</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">ftimeLastSyncSuccess</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">ftimeLastSyncAttempt</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">dwLastSyncResult</td>
 </tr>
 <tr>
  <td colspan="32">cNumConsecutiveSyncFailures</td>
 </tr>
 <tr>
  <td colspan="32">data (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>oszNamingContext (4 bytes): </b>A 32-bit offset,
in bytes, from the address of this structure to a null-terminated <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_c305d0ab-8b94-461a-bd76-13b40cb8c4d8" data-linktype="relative-path">Unicode</a></span>
string that contains the <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_784c7cce-f782-48d8-9444-c9030ba86942" data-linktype="relative-path">naming context (NC)</a></span>
to which this <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_a5678f3c-cf60-4b89-b835-16d643d1debb" data-linktype="relative-path">replication</a></span> state
data pertains.</p><p><b>oszSourceDsaDN (4 bytes): </b>A 32-bit offset, in
bytes, from the address of this structure to a null-terminated Unicode string
that contains the <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_1175dd11-9368-41d5-98ed-d585f268ad4b" data-linktype="relative-path">distinguished name (DN)</a></span>
of the <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_dc90b593-841f-4c6d-8032-b32e58e887a8" data-linktype="relative-path">nTDSDSA object</a></span> of
the source server to which this replication state data pertains. Each source
server has different associated neighbor data.</p><p><b>oszSourceDsaAddress (4 bytes): </b>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 <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_49ce3946-04d2-4cc9-9350-ebcd952b9ab9" data-linktype="relative-path">directory</a></span> name
service name for RPC/IP replication, or a <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_0678be67-e739-4e33-97fe-2b03b903a379" data-linktype="relative-path">Simple Mail Transfer Protocol
(SMTP)</a></span> address for an SMTP replication.</p><p><b>oszAsyncIntersiteTransportDN (4 bytes): </b>A
32-bit offset, in bytes, from the address of this structure to a
null-terminated Unicode string that contains the DN of the <span><a href="../ms-adsc/299e17d3-4d05-445f-ae8c-9d5abf598873" data-linktype="relative-path">interSiteTransport</a></span>
object (as specified in <span><a href="../ms-adsc/9abb5e97-123d-4da9-9557-b353ab79b830" data-linktype="relative-path">[MS-ADSC]</a></span>
section 2.65) that corresponds to the transport over which replication is
performed. This member contains NULL for RPC/IP replication.</p><p><b>dwReplicaFlags (4 bytes): </b>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 <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_6f6f9e8e-5966-4727-8527-7e02fb864e7e" data-linktype="relative-path">big-endian</a></span> byte
order.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td>X</td>
  <td>X</td>
  <td>N C N</td>
  <td>C C</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>N S</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>F S N</td>
  <td>F S P</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>T W S</td>
  <td>X</td>
  <td>A I T</td>
  <td>D S S</td>
  <td>S O S</td>
  <td>W</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
  <td>X</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>X: </b>Unused.
Must be zero and ignored.</p>
</dd>
<dd>
<p><b>W
(DS_REPL_NBR_WRITEABLE, 0x00000010): </b>The NC replica is writable.</p>
</dd>
<dd>
<p><b>SOS
(DS_REPL_NBR_SYNC_ON_STARTUP, 0x00000020): </b>Replication of this NC from this
source is attempted when the destination server is booted.</p>
</dd>
<dd>
<p><b>DSS
(DS_REPL_NBR_DO_SCHEDULED_SYNCS, 0x00000040): </b>Perform replication on a
schedule.</p>
</dd>
<dd>
<p><b>AIT
(DS_REPL_NBR_USE_ASYNC_INTERSITE_TRANSPORT, 0x00000080): </b>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.</p>
</dd>
<dd>
<p><b>TWS
(DS_REPL_NBR_TWO_WAY_SYNC, 0x00000200): </b>When inbound replication is
complete, the destination server requests the source server to synchronize in
the reverse direction.</p>
</dd>
<dd>
<p><b>FSP
(DS_REPL_NBR_FULL_SYNC_IN_PROGRESS, 0x00010000): </b>The destination server is
performing a full synchronization from the source server.</p>
</dd>
<dd>
<p><b>FSN
(DS_REPL_NBR_FULL_SYNC_NEXT_PACKET, 0x00020000): </b>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.</p>
</dd>
<dd>
<p><b>NS
(DS_REPL_NBR_NEVER_SYNCED, 0x00200000): </b>A synchronization has never been
successfully completed from this source.</p>
</dd>
<dd>
<p><b>CC
(DS_REPL_NBR_COMPRESS_CHANGES, 0x10000000): </b>Changes received from this
source are to be compressed.</p>
</dd>
<dd>
<p><b>NCN
(DS_REPL_NBR_NO_CHANGE_NOTIFICATIONS, 0x20000000): </b>Applies to repsFrom only.
The <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_76a05049-3531-4abd-aec8-30e19954b4bd" data-linktype="relative-path">domain
controller (DC)</a></span> storing this repsFrom is not configured to receive
change notifications from this source.</p>
</dd></dl><p><b>dwReserved (4 bytes): </b>Reserved for future use.</p><p><b>uuidNamingContextObjGuid (16 bytes): </b>A <span><a href="../ms-dtyp/49e490b8-f972-45d6-a3a4-99f924998d97" data-linktype="relative-path">GUID</a></span>
structure, as defined in <span><a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a></span>
section <span><a href="../ms-dtyp/4926e530-816e-41c2-b251-ec5c7aca018a" data-linktype="relative-path">2.3.4</a></span>,
specifying the <span><a href="../ms-ada3/937eb5c6-f6b3-4652-a276-5d6bb8979658" data-linktype="relative-path">objectGUID</a></span>
of the NC that corresponds to oszNamingContext.</p><p><b>uuidSourceDsaObjGuid (16 bytes): </b>A GUID
structure, as defined in [MS-DTYP] section 2.3.4, specifying the objectGUID of
the nTDSDSA object that corresponds to oszSourceDsaDN.</p><p><b>uuidSourceDsaInvocationID (16 bytes): </b>A GUID
structure, as defined in [MS-DTYP] section 2.3.4, specifying the <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_e7869b9a-61fa-46e3-89dd-fb3f57d1ba7a" data-linktype="relative-path">invocationId</a></span>
used by the source server as of the last replication attempt.</p><p><b>uuidAsyncIntersiteTransportObjGuid (16 bytes): </b>A
GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the
objectGUID of the intersite transport <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_8bb43a65-7a8c-4585-a7ed-23044772f8ca" data-linktype="relative-path">object</a></span> that
corresponds to oszAsyncIntersiteTransportDN.</p><p><b>usnLastObjChangeSynced (8 bytes): </b>An <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_01936446-8739-4b98-b83f-fb5e2a53ce4c" data-linktype="relative-path">update
sequence number (USN)</a></span> value, as defined in section <span><a href="03c3c091-03aa-42d0-a7bf-7c5f8adaf0c2" data-linktype="relative-path">3.1.1.1.9</a></span>,
containing the USN of the last object <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_b242435b-73cc-4c4e-95f0-b2a2ff680493" data-linktype="relative-path">update</a></span> received.</p><p><b>usnAttributeFilter (8 bytes): </b>A USN value, as
defined in section 3.1.1.1.9, containing the usnLastObjChangeSynced value at
the end of the last complete, successful <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_e14454ba-5d3b-4fdb-99e5-50ecf632bd16" data-linktype="relative-path">replication cycle</a></span>,
or 0 if none.</p><p><b>ftimeLastSyncSuccess (8 bytes): </b>A <span><a href="../ms-dtyp/2c57429b-fdd4-488f-b5fc-9e4cf020fcdf" data-linktype="relative-path">FILETIME</a></span>
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.</p><p><b>ftimeLastSyncAttempt (8 bytes): </b>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.</p><p><b>dwLastSyncResult (4 bytes): </b>A 32-bit unsigned
integer specifying a <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_459db7bd-5066-44e3-89c1-f0e4806b7a1b" data-linktype="relative-path">Windows error code</a></span>
associated with the last replication attempt from this source. Contains
ERROR_SUCCESS if the last attempt was successful or replication was not
attempted.</p><p><b>cNumConsecutiveSyncFailures (4 bytes): </b>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.</p><p><b>data (variable): </b>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.</p><p>All multibyte fields have <span><a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_079478cb-f4c5-4ce5-b72b-2144da5d2ce7" data-linktype="relative-path">little-endian</a></span> byte
ordering.</p></div>