Move netr_LogonLevel flags to IDL, rename old one to netr_LogonInfo.
[ira/wip.git] / source / include / rpc_netlogon.h
1 /* 
2    Unix SMB/CIFS implementation.
3    SMB parameters and setup
4    Copyright (C) Andrew Tridgell 1992-1997
5    Copyright (C) Luke Kenneth Casson Leighton 1996-1997
6    Copyright (C) Paul Ashton 1997
7    Copyright (C) Jean François Micouleau 2002
8    
9    This program is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 3 of the License, or
12    (at your option) any later version.
13    
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License for more details.
18    
19    You should have received a copy of the GNU General Public License
20    along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 #ifndef _RPC_NETLOGON_H /* _RPC_NETLOGON_H */
24 #define _RPC_NETLOGON_H 
25
26 /* LOCKOUT_STRING */
27 typedef struct account_lockout_string {
28         uint32 array_size;
29         uint32 offset;
30         uint32 length;
31 /*      uint16 *bindata;        */
32         uint64 lockout_duration;
33         uint64 reset_count;
34         uint32 bad_attempt_lockout;
35         uint32 dummy;
36 } LOCKOUT_STRING;
37
38 /* HDR_LOCKOUT_STRING */
39 typedef struct hdr_account_lockout_string {
40         uint16 size;
41         uint16 length;
42         uint32 buffer;
43 } HDR_LOCKOUT_STRING;
44
45 struct DS_DOMAIN_CONTROLLER_INFO {
46         const char *domain_controller_name;
47         const char *domain_controller_address;
48         int32 domain_controller_address_type;
49         struct GUID *domain_guid;
50         const char *domain_name;
51         const char *dns_forest_name;
52         uint32 flags;
53         const char *dc_site_name;
54         const char *client_site_name;
55 };
56
57 #endif /* _RPC_NETLOGON_H */