drsblobs.idl: fix idl for supplementalCredentialsSubBlob
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Jul 2008 11:06:32 +0000 (13:06 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 23 Jul 2008 12:46:08 +0000 (14:46 +0200)
metze

source/librpc/idl/drsblobs.idl

index 2f9819a10c9d3902e221fe945d7cf4278f337ba3..4829952cf8548bb3f0d3e070ca89c7b711baaa02 100644 (file)
@@ -228,11 +228,16 @@ interface drsblobs {
                [charset(DOS)] uint8 data[data_len];
        } supplementalCredentialsPackage;
 
-       /* this are 0x30 (48) whitespaces (0x20) followed by 'P' (0x50) */
-       const string SUPPLEMENTAL_CREDENTIALS_PREFIX = "                                                P";
+       /* this are 0x30 (48) whitespaces (0x20) */
+       const string SUPPLEMENTAL_CREDENTIALS_PREFIX = "                                                ";
+
+       typedef [flag(NDR_PAHEX)] enum {
+               SUPPLEMENTAL_CREDENTIALS_SIGNATURE = 0x0050
+       } supplementalCredentialsSignature;
 
        typedef [gensize] struct {
-               [value(SUPPLEMENTAL_CREDENTIALS_PREFIX),charset(UTF16)] uint16 prefix[0x31];
+               [value(SUPPLEMENTAL_CREDENTIALS_PREFIX),charset(UTF16)] uint16 prefix[0x30];
+               [value(SUPPLEMENTAL_CREDENTIALS_SIGNATURE)] supplementalCredentialsSignature signature;
                uint16 num_packages;
                supplementalCredentialsPackage packages[num_packages];
        } supplementalCredentialsSubBlob;