2.2.4 DS_REPL_OPW_BLOB

The DS_REPL_OPW_BLOB structure is a representation of a tuple from the replicationQueue variable of a DC. This structure, retrieved using an LDAP search method, is an alternative representation of DS_REPL_OPW, 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

ftimeEnqueued

...

ulSerialNumber

ulPriority

opType

ulOptions

oszNamingContext

oszDsaDN

oszDsaAddress

uuidNamingContextObjGuid (16 bytes)

...

...

uuidDsaObjGuid (16 bytes)

...

...

data (variable)

...

ftimeEnqueued (8 bytes): A FILETIME structure that contains the date and time that this operation was added to the queue.

ulSerialNumber (4 bytes): An unsigned integer specifying the identifier of the operation. The counter used to assign this identifier is volatile; it is reset during startup of a DC. Therefore, these identifiers are only unique between restarts of a DC.

ulPriority (4 bytes):  An unsigned integer specifying the priority value of this operation. Tasks with a higher priority value are executed first. The priority is calculated by the server based on the type of operation and its parameters.

opType (4 bytes): Contains one of the following values that indicate the type of operation that this structure represents.

Operation

Value

DS_REPL_OP_TYPE_SYNC

0

DS_REPL_OP_TYPE_ADD

1

DS_REPL_OP_TYPE_DELETE

2

DS_REPL_OP_TYPE_MODIFY

3

DS_REPL_OP_TYPE_UPDATE_REFS

4

ulOptions (4 bytes): Zero or more bits from the Directory Replication Service (DRS) options defined in [MS-DRSR] section 5.41, the interpretation of which depends on the OpType.

oszNamingContext (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated string that contains the DN of the NC associated with this operation (for example, the NC to be synchronized for DS_REPL_OP_TYPE_SYNC).

oszDsaDN (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated string that contains the DN of the nTDSDSA object of the remote server corresponding to this operation. For example, the server from which to ask for changes for DS_REPL_OP_TYPE_SYNC. This can be NULL.

oszDsaAddress (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated string that contains the transport-specific network address of the remote server associated with this operation. For example, the DNS or SMTP address of the server from which to ask for changes for DS_REPL_OP_TYPE_SYNC. This can be NULL.

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

uuidDsaObjGuid (16 bytes): A GUID structure, as defined in [MS-DTYP] section 2.3.4, specifying the objectGUID of the directory system agent object identified by oszDsaDN.

data (variable): This field contains all the null-terminated strings that are pointed to by the offset fields in the structure (oszNamingContext, oszDsaDN, oszDsaAddress). 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: