Author: abartlet Date: 2005-09-12 13:16:56 +0000 (Mon, 12 Sep 2005) New Revision: 10171
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10171 Log: This seems to work for encoding/decoding a PAC at the buffers only level (required for signature verification). Andrew Bartlett Modified: branches/SAMBA_4_0/source/librpc/idl/krb5pac.idl Changeset: Modified: branches/SAMBA_4_0/source/librpc/idl/krb5pac.idl =================================================================== --- branches/SAMBA_4_0/source/librpc/idl/krb5pac.idl 2005-09-12 11:56:36 UTC (rev 10170) +++ branches/SAMBA_4_0/source/librpc/idl/krb5pac.idl 2005-09-12 13:16:56 UTC (rev 10171) @@ -64,10 +64,31 @@ 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; + [relative,subcontext(0),subcontext_size(NDR_ROUND(r->ndr_size,8)),flag(NDR_ALIGN8)] DATA_BLOB_REM *info; + [value(0)] uint32 _pad; /* Top half of a 64 bit pointer? */ + } PAC_BUFFER_RAW; + + typedef [public] struct { + uint32 num_buffers; + uint32 version; + PAC_BUFFER_RAW buffers[num_buffers]; + } PAC_DATA_RAW; + void decode_pac( [in] PAC_DATA pac ); + void decode_pac_raw( + [in] PAC_DATA_RAW pac + ); + void decode_login_info( [in] PAC_LOGON_INFO logon_info );
