summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-06 16:41:24 +0100
committerGünther Deschner <gd@samba.org>2008-03-06 17:11:03 +0100
commit0ffbd42de2ae2337df67f370d480625bf8fb9833 (patch)
treef2978c0118efc9d81687609905e09f1c07a39bd1 /source3
parent914cd3e483bd83fb4d8e769b90d9136336ea51e9 (diff)
downloadsamba-0ffbd42de2ae2337df67f370d480625bf8fb9833.tar.gz
samba-0ffbd42de2ae2337df67f370d480625bf8fb9833.tar.bz2
samba-0ffbd42de2ae2337df67f370d480625bf8fb9833.zip
Ignore Kerberos PAC type 12.
Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation) ignore it so that the PAC parsing can proceed. Guenther (This used to be commit 3630ec26c99fdea46c47117d026f9bffb2c4590a)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/idl/krb5pac.idl11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/librpc/idl/krb5pac.idl b/source3/librpc/idl/krb5pac.idl
index 6bc8485089..7c2f72d3cb 100644
--- a/source3/librpc/idl/krb5pac.idl
+++ b/source3/librpc/idl/krb5pac.idl
@@ -61,12 +61,17 @@ interface krb5pac
PAC_TYPE_UNKNOWN_12 = 12
} PAC_TYPE;
+ typedef struct {
+ [flag(NDR_REMAINING)] DATA_BLOB remaining;
+ } DATA_BLOB_REM;
+
typedef [public,nodiscriminant,gensize] union {
[case(PAC_TYPE_LOGON_INFO)] 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;
- [case(PAC_TYPE_UNKNOWN_12)] PAC_UNKNOWN_12 unknown;
+ [case(PAC_TYPE_UNKNOWN_12)] [subcontext(0)] DATA_BLOB_REM unknown;
+ /* [case(PAC_TYPE_UNKNOWN_12)] PAC_UNKNOWN_12 unknown; */
} PAC_INFO;
typedef [public,nopush,nopull,noprint] struct {
@@ -82,10 +87,6 @@ interface krb5pac
PAC_BUFFER buffers[num_buffers];
} PAC_DATA;
- typedef struct {
- [flag(NDR_REMAINING)] DATA_BLOB remaining;
- } DATA_BLOB_REM;
-
typedef [public] struct {
PAC_TYPE type;
uint32 ndr_size;