summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-18 00:05:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:28 -0500
commit4db8862f103956f674dbac0e1ba8a80f62567010 (patch)
tree3c9b8a6e6efe1971ecb308cb3c9f752a105379ea /source4
parent31b3c38c02fd1fb4849518c1d5676cbaf5a9d1f3 (diff)
downloadsamba-4db8862f103956f674dbac0e1ba8a80f62567010.tar.gz
samba-4db8862f103956f674dbac0e1ba8a80f62567010.tar.bz2
samba-4db8862f103956f674dbac0e1ba8a80f62567010.zip
r21413: fix pushing of supplementalCredentials
metze (This used to be commit 18a5bf850bad9643e09e111d8c2c4e2c2efce989)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/drsblobs.idl12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/librpc/idl/drsblobs.idl b/source4/librpc/idl/drsblobs.idl
index 096329fc47..ec2e2163f1 100644
--- a/source4/librpc/idl/drsblobs.idl
+++ b/source4/librpc/idl/drsblobs.idl
@@ -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];