From 4fd867a2408016599d1192b6cde2105a77978ba8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 20 Nov 2003 22:47:20 +0000 Subject: Todd Sabin pointed out that a couple of the values I marked as hyper_t are in fact 4 byte aligned. Create a ULONG8 type in samr for those. This type should probably be made global later. (This used to be commit e7dd116138ed21922c8578bebe0452f03221b3b7) --- source4/librpc/idl/samr.idl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 0723354662..d639af82db 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -12,6 +12,13 @@ pointer_default(unique) ] interface samr { + /* a 4 byte aligned 64-bit integer */ + typedef struct { + uint32 low; + uint32 high; + } ULONG8; + + /******************/ /* Function: 0x00 */ NTSTATUS samr_Connect ( @@ -108,7 +115,7 @@ } samr_DomInfo1; typedef struct { - HYPER_T force_logoff_time; + ULONG8 force_logoff_time; samr_Name unknown1; samr_Name domain; /* domain name */ samr_Name primary; /* PDC name if this is a BDC */ @@ -122,7 +129,7 @@ } samr_DomInfo2; typedef struct { - HYPER_T force_logoff_time; + ULONG8 force_logoff_time; } samr_DomInfo3; typedef struct { @@ -151,7 +158,7 @@ } samr_DomInfo9; typedef struct { - HYPER_T force_logoff_time; + ULONG8 force_logoff_time; samr_Name unknown1; samr_Name domain; samr_Name primary; -- cgit