summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2023-03-28 11:33:22 +1300
committerAndrew Bartlett <abartlet@samba.org>2023-03-31 01:48:30 +0000
commit03d9b7b8b64242511257feca2794fe19271e03d6 (patch)
treee3154aba82022444c00dd870407c940e3bb454d2 /librpc
parent6bd3b4528d4b33c8f7ae6341d166bea3a06cd971 (diff)
downloadsamba-03d9b7b8b64242511257feca2794fe19271e03d6.tar.gz
librpc/idl: Explain why PAC_TYPE_CLIENT_CLAIMS_INFO is not directly decoded
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/krb5pac.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/librpc/idl/krb5pac.idl b/librpc/idl/krb5pac.idl
index 6655e2ff5b7..77189bb929b 100644
--- a/librpc/idl/krb5pac.idl
+++ b/librpc/idl/krb5pac.idl
@@ -194,6 +194,14 @@ interface krb5pac
[case(PAC_TYPE_TICKET_CHECKSUM)] PAC_SIGNATURE_DATA ticket_checksum;
[case(PAC_TYPE_ATTRIBUTES_INFO)] PAC_ATTRIBUTES_INFO attributes_info;
[case(PAC_TYPE_REQUESTER_SID)] PAC_REQUESTER_SID requester_sid;
+ /*
+ * [subcontext(0)] and DATA_BLOB_REM is used as in
+ * PAC_TYPE_CLIENT_CLAIMS_INFO
+ * PAC_TYPE_DEVICE_CLAIMS_INFO as Windows will
+ * sometimes send an empty buffer (presumably to avoid
+ * the overhead of the header around the claims) if
+ * there are no claims to send
+ */
[case(PAC_TYPE_CLIENT_CLAIMS_INFO)][subcontext(0)] DATA_BLOB_REM client_claims_info;
[case(PAC_TYPE_DEVICE_INFO)][subcontext(0xFFFFFC01)] PAC_DEVICE_INFO_CTR device_info;
[case(PAC_TYPE_DEVICE_CLAIMS_INFO)][subcontext(0)] DATA_BLOB_REM device_claims_info;