summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-12 15:25:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:05 -0500
commit71115bb3e69e301cbced87b85418815237d50329 (patch)
tree1faa152e641be7af859577e7b3fb36e5bd7666ec
parenteee140d7da8088884c392ebefbef3ad3650aceb0 (diff)
downloadsamba-71115bb3e69e301cbced87b85418815237d50329.tar.gz
samba-71115bb3e69e301cbced87b85418815237d50329.tar.bz2
samba-71115bb3e69e301cbced87b85418815237d50329.zip
r21301: - the history contains lm and nt history
- autoset the size values metze (This used to be commit 5e51845137a05b6c4ca6804feaced3b5251b455f)
-rw-r--r--source4/librpc/idl/netlogon.idl8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 918994661a..fa968d1c39 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -329,10 +329,10 @@ interface netlogon
typedef struct {
uint16 nt_length;
- uint16 nt_size;
+ [value(nt_length)] uint16 nt_size;
uint32 nt_flags;
uint16 lm_length;
- uint16 lm_size;
+ [value(lm_length)] uint16 lm_size;
uint32 lm_flags;
uint8 nt_history[nt_length];
uint8 lm_history[lm_length];
@@ -341,10 +341,10 @@ interface netlogon
typedef struct {
netr_USER_KEY16 lmpassword;
netr_USER_KEY16 ntpassword;
- netr_PasswordHistory lmhistory;
+ netr_PasswordHistory history;
} netr_USER_KEYS2;
- typedef struct {
+ typedef struct { /* TODO: make this a union! */
netr_USER_KEYS2 keys2;
} netr_USER_KEY_UNION;