1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00

r21413: fix pushing of supplementalCredentials

metze
This commit is contained in:
Stefan Metzmacher 2007-02-18 00:05:34 +00:00 committed by Gerald (Jerry) Carter
parent ed30a0ff60
commit 18a5bf850b

View File

@ -230,7 +230,7 @@ interface drsblobs {
/* this are 0x30 (48) whitespaces (0x20) followed by 'P' (0x50) */
const string SUPPLEMENTAL_CREDENTIALS_PREFIX = " P";
typedef struct {
typedef [gensize] struct {
[value(SUPPLEMENTAL_CREDENTIALS_PREFIX),charset(UTF16)] uint16 prefix[0x31];
uint16 num_packages;
supplementalCredentialsPackage packages[num_packages];
@ -238,7 +238,7 @@ interface drsblobs {
typedef [public] struct {
[value(0)] uint32 unknown1;
uint32 __ndr_size;
[value(ndr_size_supplementalCredentialsSubBlob(&sub, ndr->flags))] uint32 __ndr_size;
[value(0)] uint32 unknown2;
[subcontext(0),subcontext_size(__ndr_size)] supplementalCredentialsSubBlob sub;
[value(0)] uint8 unknown3;
@ -266,8 +266,8 @@ interface drsblobs {
uint32 keytype;
[value((value?value->length:0))] uint32 value_len;
[relative,subcontext(0),subcontext_size(value_len),flag(NDR_REMAINING)] DATA_BLOB *value;
uint32 unknown1;
uint32 unknown2;
[value(0)] uint32 unknown1;
[value(0)] uint32 unknown2;
} package_PrimaryKerberosKey;
typedef [public] struct {
@ -275,8 +275,8 @@ interface drsblobs {
uint16 num_keys1;
uint16 num_keys2;
package_PrimaryKerberosString salt;
uint32 unknown1;
uint32 unknown2;
[value(0)] uint32 unknown1;
[value(0)] uint32 unknown2;
package_PrimaryKerberosKey keys1[num_keys1];
package_PrimaryKerberosKey keys2[num_keys2];
udlong unknown3_1[num_keys1];