summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/idl/eventlog.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/idl/eventlog.idl b/librpc/idl/eventlog.idl
index c0230f3693..c7524f3c38 100644
--- a/librpc/idl/eventlog.idl
+++ b/librpc/idl/eventlog.idl
@@ -124,11 +124,11 @@ import "lsa.idl", "security.idl";
uint16 EventCategory;
uint16 ReservedFlags;
uint32 ClosingRecordNumber;
- uint32 StringOffset;
+ [value(56+2*(strlen_m_term(SourceName)+strlen_m_term(Computername))+UserSidLength)] uint32 StringOffset;
[value(ndr_size_dom_sid0(&UserSid, ndr->flags))] uint32 UserSidLength;
- uint32 UserSidOffset;
+ [value(56+2*(strlen_m_term(SourceName)+strlen_m_term(Computername)))] uint32 UserSidOffset;
uint32 DataLength;
- uint32 DataOffset;
+ [value(56+2*(strlen_m_term(SourceName)+strlen_m_term(Computername))+UserSidLength+(2*ndr_size_string_array(Strings, NumStrings, STR_NULLTERM)))] uint32 DataOffset;
nstring SourceName;
nstring Computername;
[flag(NDR_ALIGN4),subcontext(0),subcontext_size(UserSidLength)] dom_sid0 UserSid;