summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-27 21:58:11 +0100
committerGünther Deschner <gd@samba.org>2008-03-27 21:58:11 +0100
commitde34a7d30347772a32813775a6aead07462eaa96 (patch)
treeb331e812fad86f2cd9fbca52923ef76135ccef64 /source3/rpc_parse
parent3d62b269c5befcd9dcc3421545971198c2bafe08 (diff)
downloadsamba-de34a7d30347772a32813775a6aead07462eaa96.tar.gz
samba-de34a7d30347772a32813775a6aead07462eaa96.tar.bz2
samba-de34a7d30347772a32813775a6aead07462eaa96.zip
Remove unused marshalling for Netlogon Lockout String.
Guenther (This used to be commit d87133d0516294e7d5f123e3bb2e93c179c72677)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_misc.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 3850c440af..cf989c8b5e 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -1145,53 +1145,6 @@ bool init_unistr4_array( UNISTR4_ARRAY *array, uint32 count, const char **string
return True;
}
-bool smb_io_lockout_string_hdr(const char *desc, HDR_LOCKOUT_STRING *hdr_account_lockout, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "smb_io_lockout_string_hdr");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint16("size", ps, depth, &hdr_account_lockout->size))
- return False;
- if(!prs_uint16("length", ps, depth, &hdr_account_lockout->length))
- return False;
- if(!prs_uint32("buffer", ps, depth, &hdr_account_lockout->buffer))
- return False;
-
- return True;
-}
-
-bool smb_io_account_lockout_str(const char *desc, LOCKOUT_STRING *account_lockout, uint32 buffer, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "smb_io_account_lockout_string");
- depth++;
-
- if(!prs_uint32("array_size", ps, depth, &account_lockout->array_size))
- return False;
-
- if(!prs_uint32("offset", ps, depth, &account_lockout->offset))
- return False;
- if(!prs_uint32("length", ps, depth, &account_lockout->length))
- return False;
-
- if (!prs_uint64("lockout_duration", ps, depth, &account_lockout->lockout_duration))
- return False;
- if (!prs_uint64("reset_count", ps, depth, &account_lockout->reset_count))
- return False;
- if (!prs_uint32("bad_attempt_lockout", ps, depth, &account_lockout->bad_attempt_lockout))
- return False;
- if (!prs_uint32("dummy", ps, depth, &account_lockout->dummy))
- return False;
-#if 0
- if(!prs_uint16s (False, "bindata", ps, depth, &account_lockout->bindata, length))
- return False;
-#endif
-
- return True;
-}
-
/*******************************************************************
Inits a DOM_RID structure.
********************************************************************/