summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/eventlog.idl2
-rw-r--r--source4/librpc/idl/lsa.idl2
-rw-r--r--source4/librpc/idl/netlogon.idl2
-rw-r--r--source4/librpc/idl/samr.idl2
-rw-r--r--source4/librpc/idl/winreg.idl2
5 files changed, 5 insertions, 5 deletions
diff --git a/source4/librpc/idl/eventlog.idl b/source4/librpc/idl/eventlog.idl
index 48cc9f3a54..aded89ebf6 100644
--- a/source4/librpc/idl/eventlog.idl
+++ b/source4/librpc/idl/eventlog.idl
@@ -18,7 +18,7 @@
typedef struct {
[value(2*strlen_m(name))] uint16 name_len;
- [value(name_len)] uint16 name_size;
+ [value(2*strlen_m(name))] uint16 name_size;
unistr_noterm *name;
} eventlog_String;
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 32c7abd332..82f5684721 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -32,7 +32,7 @@
typedef struct {
[value(2*strlen_m(string))] uint16 length;
- [value(length)] uint16 size;
+ [value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} lsa_String;
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 9d32c102e8..e30bf4dc8b 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -21,7 +21,7 @@ interface netlogon
typedef [public] struct {
[value(strlen_m(string)*2)] uint16 size;
- [value(size)] uint16 length;
+ [value(strlen_m(string)*2)] uint16 length;
unistr_noterm *string;
} netr_String;
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index c399ee4fb8..cf61011387 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -79,7 +79,7 @@
/* Function: 0x05 */
typedef struct {
[value(2*strlen_m(string))] uint16 length;
- [value(length)] uint16 size;
+ [value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} samr_String;
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index 327e6834f8..dc5ccdd02d 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -16,7 +16,7 @@
{
typedef struct {
[value(strlen_m_term(name)*2)] uint16 name_len;
- [value(name_len)] uint16 name_size;
+ [value(strlen_m_term(name)*2)] uint16 name_size;
unistr *name;
} winreg_String;