s3: re-run make samba3-idl.
[Samba.git] / libcli / netlogon.h
blob6ca3de3366ea35ddc1d950577957981b8fa49aa8
1 /*
2 Unix SMB/CIFS implementation.
4 CLDAP server structures
6 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2008
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __LIBCLI_NETLOGON_H__
23 #define __LIBCLI_NETLOGON_H__
25 #include "librpc/gen_ndr/ndr_nbt.h"
27 #include "librpc/gen_ndr/ndr_misc.h"
28 #include "librpc/gen_ndr/ndr_security.h"
29 #include "librpc/gen_ndr/ndr_svcctl.h"
30 #include "librpc/gen_ndr/ndr_samr.h"
32 struct netlogon_samlogon_response
34 uint32_t ntver;
35 union {
36 struct NETLOGON_SAM_LOGON_RESPONSE_NT40 nt4;
37 struct NETLOGON_SAM_LOGON_RESPONSE nt5;
38 struct NETLOGON_SAM_LOGON_RESPONSE_EX nt5_ex;
39 } data;
43 struct nbt_netlogon_response
45 enum {NETLOGON_GET_PDC, NETLOGON_SAMLOGON} response_type;
46 union {
47 struct nbt_netlogon_response_from_pdc get_pdc;
48 struct netlogon_samlogon_response samlogon;
49 } data;
52 #include "../libcli/netlogon_proto.h"
53 #include "../libcli/ndr_netlogon_proto.h"
54 #endif /* __CLDAP_SERVER_PROTO_H__ */