r21301: - the history contains lm and nt history
authorStefan Metzmacher <metze@samba.org>
Mon, 12 Feb 2007 15:25:43 +0000 (15:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:48:05 +0000 (14:48 -0500)
- autoset the size values

metze
(This used to be commit 5e51845137a05b6c4ca6804feaced3b5251b455f)

source4/librpc/idl/netlogon.idl

index 918994661a5028a5e02da4067a86250ef173654c..fa968d1c394a8e801770d2a5e93396542f462801 100644 (file)
@@ -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;