2.2.8 DS_REPL_VALUE_META_DATA_BLOB

The DS_REPL_VALUE_META_DATA_BLOB packet is a representation of a stamp variable (of type LinkValueStamp) of a link value. This structure, retrieved using an LDAP search method, is an alternative representation of DS_REPL_VALUE_META_DATA_2, 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

oszAttributeName

oszObjectDn

cbData

pbData

ftimeDeleted

...

ftimeCreated

...

dwVersion

ftimeLastOriginatingChange

...

uuidLastOriginatingDsaInvocationID (16 bytes)

...

...

usnOriginatingChange

...

usnLocalChange

...

oszLastOriginatingDsaDN

data (variable)

...

oszAttributeName (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the LDAP display name of the attribute corresponding to this metadata.

oszObjectDn (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the DN of the object that this attribute belongs to.

cbData (4 bytes): Contains the number of bytes in the pbData array.

pbData (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a buffer that contains the attribute replication metadata. The cbData member contains the length, in bytes, of this buffer.

ftimeDeleted (8 bytes): Contains the timeDeleted of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

ftimeCreated (8 bytes): Contains the timeCreated of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

dwVersion (4 bytes): Contains the dwVersion of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

ftimeLastOriginatingChange (8 bytes): Contains the timeChanged of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

uuidLastOriginatingDsaInvocationID (16 bytes): Contains the uuidOriginating of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

usnOriginatingChange (8 bytes): Contains the usnOriginating of this link value's LinkValueStamp, as specified in section 3.1.1.1.9.

usnLocalChange (8 bytes): Specifies the USN, as found on the server from which the metadata information is being retrieved, at which the last change to this attribute was applied. This value is typically different on all servers.

oszLastOriginatingDsaDN (4 bytes): Contains a 32-bit offset, in bytes, from the address of this structure to a null-terminated Unicode string that contains the DN of the nTDSDSA object of the server that originated the last replication.

data (variable): This field contains all the null-terminated strings that are pointed to by the offset fields in the structure (oszAttributeName, oszObjectDn, oszLastOriginatingDsaDN) and the buffer pointed to by pbData. The strings and buffers are packed into this field (aligned at 32-bit boundaries), and the offsets can be used to determine the start of each string.

All multibyte fields have little-endian byte ordering.