13.07.2015 Views

[MS-DFSRH]: DFS Replication Helper Protocol Specification

[MS-DFSRH]: DFS Replication Helper Protocol Specification

[MS-DFSRH]: DFS Replication Helper Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

operation field of the LDAP ModifyRequest. For information about ModifyRequest, see[RFC2251] section 4.6.attributeName: MUST be the name of the attribute on which to execute the LDAP operationthat is specified by the operation parameter.attributeValue: The value of the attribute that is specified by the attributeName parameter.The value of this parameter MUST be built by using the following rules:• If the value can be represented as a string, the attributeValue field MUST contain the stringrepresentation of the value.• If the value contains raw binary data, the attributeValue field MUST contain the binary dataencoded in the BSTR according to the following rules:• The length, in bytes, of the BSTR buffer MUST be greater than or equal to the value ofthe size of the binary data that is to be encoded.• The BSTR buffer MUST be filled by the bytes that compose the in-memoryrepresentation of the binary data that is being encoded. The part of the buffer betweenoffsets 0 and "length - 1" MUST be passed to the LDAP protocol by the server. Theremainder of the BSTR buffer, if any, MUST be ignored by the server.isString: Specifies whether the value that is passed in the attributeValue field is a string. Thevalue of this field MUST be VARIANT_FALSE if the attributeValue field contains a binary value.Otherwise, the value MUST be VARIANT_TRUE.length: For a binary value, the length, in bytes, of the value MUST be provided in this field. Forstring data, this field MUST be set to the length, in bytes, of the Unicode string.2.2.1.4 VersionVectorDataThe VersionVectorData structure provides information about the <strong>DFS</strong>-R version vector. The <strong>DFS</strong>-R version vector is an array of identifiers and versions of modified files in a replicated folder. Theversion vector is specified in [<strong>MS</strong>-FRS2] section 2.2.1.4.1. The UUID for this structure is{7A2323C7-9EBE-494a-A33C-3CC329A18E1D}.typedef[uuid(7A2323C7-9EBE-494a-A33C-3CC329A18E1D)]struct VersionVectorData {long uncompressedSize;long backlogCount;BSTR contentSetGuid;VARIANT versionVector;} _VersionVectorData;uncompressedSize: MUST be the number of bytes in the uncompressed version vector. Theversion vector is defined by FRS_ASYNC_VERSION_VECTOR_RESPONSE, as specified in [<strong>MS</strong>-FRS2] section 2.2.1.4.12.backlogCount: MUST be the number of backlogged transactions for the replicated folder on theserver.contentSetGuid: MUST be a string representation of the GUID of the replicated folder.[<strong>MS</strong>-<strong><strong>DFS</strong>RH</strong>] – v20080207<strong>DFS</strong> <strong>Replication</strong> <strong>Helper</strong> <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2008 Microsoft Corporation.Release: Thursday, February 7, 200813 / 81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!