diff options
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/include/rpc_netlogon.h | 45 | ||||
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 47 |
3 files changed, 0 insertions, 93 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 15a74849a9..0b3565f632 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -695,7 +695,6 @@ typedef char fstring[FSTRING_LEN]; #include "rpc_svcctl.h" #include "rpc_ntsvcs.h" #include "rpc_lsa.h" -#include "rpc_netlogon.h" #include "reg_objects.h" #include "reg_db.h" #include "rpc_spoolss.h" diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h deleted file mode 100644 index d6cdb6742e..0000000000 --- a/source3/include/rpc_netlogon.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - Unix SMB/CIFS implementation. - SMB parameters and setup - Copyright (C) Andrew Tridgell 1992-1997 - Copyright (C) Luke Kenneth Casson Leighton 1996-1997 - Copyright (C) Paul Ashton 1997 - Copyright (C) Jean François Micouleau 2002 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef _RPC_NETLOGON_H /* _RPC_NETLOGON_H */ -#define _RPC_NETLOGON_H - -/* LOCKOUT_STRING */ -typedef struct account_lockout_string { - uint32 array_size; - uint32 offset; - uint32 length; -/* uint16 *bindata; */ - uint64 lockout_duration; - uint64 reset_count; - uint32 bad_attempt_lockout; - uint32 dummy; -} LOCKOUT_STRING; - -/* HDR_LOCKOUT_STRING */ -typedef struct hdr_account_lockout_string { - uint16 size; - uint16 length; - uint32 buffer; -} HDR_LOCKOUT_STRING; - -#endif /* _RPC_NETLOGON_H */ 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. ********************************************************************/ |