summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 22:47:20 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 22:47:20 +0000
commit4fd867a2408016599d1192b6cde2105a77978ba8 (patch)
tree000a28ef55d123c06a3e75ccc0699eb2c67a3d35 /source4/librpc
parent15776970a5f501cf407fbc47eb7f35705959ec1b (diff)
downloadsamba-4fd867a2408016599d1192b6cde2105a77978ba8.tar.gz
samba-4fd867a2408016599d1192b6cde2105a77978ba8.tar.bz2
samba-4fd867a2408016599d1192b6cde2105a77978ba8.zip
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl13
1 files changed, 10 insertions, 3 deletions
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;