5.115.2.1 Cookie

The Cookie structure is a concrete type that contains information about the cookie in the LDAP_SERVER_DIRSYNC_OID control value.

 typedef struct {
   UCHAR signature[4];
   ULONG version;
   FILETIME creationTime;
   ULONGLONG reserved;
   ULONG utdVectorSize;
   USN_VECTOR usnVector;
   UUID uuidSourceDsaInvocationID;
   UCHAR utdVector[variable];
 } Cookie;

signature: Cookie signature.

version: The version number.

creationTime: The creation time.

reserved: Unused.

utdVectorSize: The up-to-date vector size.

usnVector: The USN vector.

uuidSourceDsaInvocationID: The invocation ID (a UUID) of the source DSA.

utdVector: The up-to-date vector.