diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-08-19 08:51:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-08-20 15:23:25 +0200 |
commit | 8acc7f7da7718c7750387c1043391618be46e15b (patch) | |
tree | 228b4dabb18c69566f8a1b4bb0f35be0f99fa560 /source4 | |
parent | d0a8c05cb2a6b3c4f9bc2f23eb089409093b2bf2 (diff) | |
download | samba-8acc7f7da7718c7750387c1043391618be46e15b.tar.gz samba-8acc7f7da7718c7750387c1043391618be46e15b.tar.bz2 samba-8acc7f7da7718c7750387c1043391618be46e15b.zip |
krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization header
Now we should be able to handle bigendian PAC_LOGON_INFO buffers.
metze
(This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/krb5pac.idl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/librpc/idl/krb5pac.idl b/source4/librpc/idl/krb5pac.idl index b450908915..ca0efaed3e 100644 --- a/source4/librpc/idl/krb5pac.idl +++ b/source4/librpc/idl/krb5pac.idl @@ -45,10 +45,6 @@ interface krb5pac } PAC_UNKNOWN_12; typedef [public] struct { - [value(0x00081001)] uint32 unknown1; - [value(0xCCCCCCCC)] uint32 unknown2; - [value(NDR_ROUND(ndr_size_PAC_LOGON_INFO(info, ndr->flags)+4,8))] uint32 _ndr_size; - [value(0x00000000)] uint32 unknown3; PAC_LOGON_INFO *info; } PAC_LOGON_INFO_CTR; @@ -66,7 +62,7 @@ interface krb5pac } DATA_BLOB_REM; typedef [public,nodiscriminant,gensize] union { - [case(PAC_TYPE_LOGON_INFO)] PAC_LOGON_INFO_CTR logon_info; + [case(PAC_TYPE_LOGON_INFO)][subcontext(0xFFFFFC01)] PAC_LOGON_INFO_CTR logon_info; [case(PAC_TYPE_SRV_CHECKSUM)] PAC_SIGNATURE_DATA srv_cksum; [case(PAC_TYPE_KDC_CHECKSUM)] PAC_SIGNATURE_DATA kdc_cksum; [case(PAC_TYPE_LOGON_NAME)] PAC_LOGON_NAME logon_name; |