summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/krb5pac.idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-12 07:37:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:55 -0500
commit8a0f6c9c7909162a9669197bc0238d0636de69da (patch)
tree21490966191464eab0097b37fe57651eccfed607 /source4/librpc/idl/krb5pac.idl
parent63c5ca7d583691fae5ccf0b760f24b9d11a2141b (diff)
downloadsamba-8a0f6c9c7909162a9669197bc0238d0636de69da.tar.gz
samba-8a0f6c9c7909162a9669197bc0238d0636de69da.tar.bz2
samba-8a0f6c9c7909162a9669197bc0238d0636de69da.zip
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)
Diffstat (limited to 'source4/librpc/idl/krb5pac.idl')
-rw-r--r--source4/librpc/idl/krb5pac.idl18
1 files changed, 9 insertions, 9 deletions
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(