summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-12 13:45:38 +0100
committerGünther Deschner <gd@samba.org>2009-01-12 18:02:46 +0100
commit6b80e9be6425e342b73859dd68655444dc49c56c (patch)
tree4cd5fb0b8ae09534597ab6d563fbc5e7d31ca2ec /librpc
parent9df76c4efb8a35f2c466e514521a1e7e3dde2ce9 (diff)
downloadsamba-6b80e9be6425e342b73859dd68655444dc49c56c.tar.gz
eventlog: some fixes for eventlog_Record struct.
* make reserved field always have value 0x654c664C ("eLfL"). * add missing sid entry * add padding and 2nd size counter. * use time_t in eventlog_Record. Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/eventlog.idl11
1 files changed, 7 insertions, 4 deletions
diff --git a/librpc/idl/eventlog.idl b/librpc/idl/eventlog.idl
index b6bc92a016f..584d6717a04 100644
--- a/librpc/idl/eventlog.idl
+++ b/librpc/idl/eventlog.idl
@@ -34,10 +34,10 @@ import "lsa.idl", "security.idl";
typedef [public] struct {
uint32 size;
- uint32 reserved;
+ [value(0x654c664C)] uint32 reserved; /* "eLfL" */
uint32 record_number;
- uint32 time_generated;
- uint32 time_written;
+ time_t time_generated;
+ time_t time_written;
uint32 event_id;
uint16 event_type;
uint16 num_of_strings;
@@ -45,14 +45,17 @@ import "lsa.idl", "security.idl";
uint16 reserved_flags;
uint32 closing_record_number;
uint32 stringoffset;
- uint32 sid_length;
+ [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size;
uint32 sid_offset;
uint32 data_length;
uint32 data_offset;
nstring source_name;
nstring computer_name;
+ [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid;
nstring strings[num_of_strings];
astring raw_data;
+ [flag(NDR_ALIGN4)] DATA_BLOB _padding;
+ [value(size)] uint32 size2;
} eventlog_Record;
/******************/