summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-20 08:05:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:19 -0500
commit6428ffb89a350d70cb62b4b1574dd671d840e62c (patch)
tree1e67af644fd2643da5b1b783a20377ed1312159e /source4/librpc
parentdc8def7a7bc2b51d5e535c76eaf9df4eae128404 (diff)
downloadsamba-6428ffb89a350d70cb62b4b1574dd671d840e62c.tar.gz
samba-6428ffb89a350d70cb62b4b1574dd671d840e62c.tar.bz2
samba-6428ffb89a350d70cb62b4b1574dd671d840e62c.zip
r295: more correct IDL for the netr_AcctLock structure (I hope)
(This used to be commit b10127800a3101769241abf42ed76cbddf71a5fa)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/netlogon.idl15
1 files changed, 8 insertions, 7 deletions
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 {