Partager via


2.14 PAC_ATTRIBUTES_INFO

The PAC_ATTRIBUTES_INFO structure is a variable length buffer of the PAC that SHOULD<27> contain supplemental information about the PAC or the client. The PAC_ATTRIBUTES_INFO structure is placed directly after the Buffers array of the topmost PACTYPE structure (section 2.3), at the offset specified in the Offset field of the corresponding PAC_INFO_BUFFER structure (section 2.4) in the Buffers array. The ulType field of the corresponding PAC_INFO_BUFFER is set to 0x00000011.

The PAC_ATTRIBUTES_INFO structure is defined as follows.

 typedef struct _PAC_ATTRIBUTES_INFO {
     ULONG FlagsLength;                // specified in bits
     ULONG Flags[ANYSIZE_ARRAY];
 } PAC_ATTRIBUTES_INFO, *PPAC_ATTRIBUTES_INFO;

The format of the PAC_ATTRIBUTES_INFO structure is defined as follows. 


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

FlagsLength

Flags (variable)

FlagsLength (4 bytes): An unsigned 32-bit integer in little-endian format that describes the length, in bits, of the Flags field as the count of flag bits not including padding.

Flags (variable): an array of 32-bit unsigned integers in little-endian format that contains flag bits describing the PAC. Each 32-bit unsigned integer contains up to 32 defined bits. All bits are flag bits padded to a unit multiple of 32 bits of storage (a 32-bit integer). Undefined padding bits are zero and MUST be ignored on receipt. The following bits are currently defined.

Value

Meaning

PAC_WAS_REQUESTED 0x00000001

The client requested the PAC (via PA-PAC-OPTIONS [MS-KILE] section 2.2.10).

PAC_WAS_GIVEN_IMPLICITLY

0x00000002

The client did not request or decline a PAC and was given one implicitly.