From 6428ffb89a350d70cb62b4b1574dd671d840e62c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Apr 2004 08:05:59 +0000 Subject: r295: more correct IDL for the netr_AcctLock structure (I hope) (This used to be commit b10127800a3101769241abf42ed76cbddf71a5fa) --- source4/librpc/idl/netlogon.idl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'source4') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index db064bf0cd..2f98470360 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -82,20 +82,21 @@ interface netlogon unistr_noterm *string; } netr_String; - typedef struct { - uint32 acct_lock_max_count; - uint32 acct_lock_offset; - uint32 acct_lock_actual_count; + /* in netr_AcctLockStr size seems to be be 24, and rrenard thinks + that the structure of the bindata looks like this: + ULONG8 lockout_duration; ULONG8 reset_count; uint32 bad_attempt_lockout; uint32 dummy; - } netr_AcctLockCtr; - + + but it doesn't look as though this structure is reflected at the + NDR level. Maybe it is left to the application to decode the bindata array. + */ typedef struct { uint16 size; uint16 length; - netr_AcctLockCtr *acct_lk_info; + [size_is(size/2),length_is(length/2)] uint16 *bindata; } netr_AcctLockStr; typedef struct { -- cgit