summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-14 15:27:48 +1000
committerAndrew Tridgell <tridge@samba.org>2008-08-14 15:27:48 +1000
commit0eb1840994ec6ddcf11a4ad948cb537e510ca0c7 (patch)
tree3e2e166e3dbbefe8f949d842a09e4734ae3c8873 /source4
parent88ec1aead4c5414a7bbbb555370f2a9eab99acc4 (diff)
downloadsamba-0eb1840994ec6ddcf11a4ad948cb537e510ca0c7.tar.gz
samba-0eb1840994ec6ddcf11a4ad948cb537e510ca0c7.tar.bz2
samba-0eb1840994ec6ddcf11a4ad948cb537e510ca0c7.zip
cope with arbitrary unknown pac buffer types, so when MS adds
a new one we don't break our server (This used to be commit 5e08b285319e35afd3a9a6e6f5f59145350f2d80)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/krb5pac.idl6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/librpc/idl/krb5pac.idl b/source4/librpc/idl/krb5pac.idl
index 3505fc895c..b450908915 100644
--- a/source4/librpc/idl/krb5pac.idl
+++ b/source4/librpc/idl/krb5pac.idl
@@ -70,7 +70,11 @@ interface krb5pac
[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)] [subcontext(0)] DATA_BLOB_REM unknown;
+ /* when new PAC info types are added they are supposed to be done
+ in such a way that they are backwards compatible with existing
+ servers. This makes it safe to just use a [default] for
+ unknown types, which lets us ignore the data */
+ [default] [subcontext(0)] DATA_BLOB_REM unknown;
/* [case(PAC_TYPE_UNKNOWN_12)] PAC_UNKNOWN_12 unknown; */
} PAC_INFO;