From 8a0f6c9c7909162a9669197bc0238d0636de69da Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 12 Aug 2004 07:37:49 +0000 Subject: r1770: here's the krb5 server code, there're some cleanups needed and we need to verify the PAC correctly and create the auth_session_info correctly... metze (This used to be commit d8fe497097ee49611bb05c4a2fed36912d8e16b4) --- source4/librpc/idl/krb5pac.idl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/krb5pac.idl b/source4/librpc/idl/krb5pac.idl index ec1caf9171..6c2bad4590 100644 --- a/source4/librpc/idl/krb5pac.idl +++ b/source4/librpc/idl/krb5pac.idl @@ -14,7 +14,7 @@ interface krb5pac typedef struct { NTTIME logon_time; uint16 unknown; - nstring account_name; + astring account_name; } UNKNOWN_TYPE_10; typedef [flag(NDR_PAHEX)] struct { @@ -89,15 +89,15 @@ interface krb5pac } PAC_LOGON_INFO; const uint8 PAC_TYPE_LOGON_INFO = 1; - const uint8 PAC_TYPE_SERVER_CHECKSUM = 6; - const uint8 PAC_TYPE_PRIVSVR_CHECKSUM = 7; + const uint8 PAC_TYPE_SRV_CHECKSUM = 6; + const uint8 PAC_TYPE_KDC_CHECKSUM = 7; const uint8 PAC_TYPE_UNKNOWN_10 = 10; typedef [nodiscriminant] union { - [case(PAC_TYPE_LOGON_INFO)] PAC_LOGON_INFO logon_info; - [case(PAC_TYPE_SERVER_CHECKSUM)] PAC_SIGNATURE_DATA srv_cksum; - [case(PAC_TYPE_PRIVSVR_CHECKSUM)] PAC_SIGNATURE_DATA privsrv_cksum; - [case(PAC_TYPE_UNKNOWN_10)] UNKNOWN_TYPE_10 type_10; + [case(PAC_TYPE_LOGON_INFO)] PAC_LOGON_INFO 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_UNKNOWN_10)] UNKNOWN_TYPE_10 type_10; } PAC_INFO; typedef struct { @@ -105,12 +105,12 @@ interface krb5pac uint32 size; [relative,switch_is(type)] PAC_INFO *info; uint32 _pad; - } PAC_INFO_HDR; + } PAC_BUFFER; typedef [public] struct { uint32 num_buffers; uint32 version; - PAC_INFO_HDR pac_info_hdr_ptr[num_buffers]; + PAC_BUFFER buffers[num_buffers]; } PAC_DATA; void decode_pac( -- cgit