1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 |
|
---|
4 | CLDAP server structures
|
---|
5 |
|
---|
6 | Copyright (C) Andrew Bartlett <abartlet@samba.org> 2008
|
---|
7 |
|
---|
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.
|
---|
12 |
|
---|
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.
|
---|
17 |
|
---|
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/>.
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef __LIBCLI_NETLOGON_H__
|
---|
23 | #define __LIBCLI_NETLOGON_H__
|
---|
24 |
|
---|
25 | #include "librpc/gen_ndr/ndr_nbt.h"
|
---|
26 |
|
---|
27 | #include "librpc/gen_ndr/ndr_misc.h"
|
---|
28 | #include "librpc/gen_ndr/ndr_security.h"
|
---|
29 |
|
---|
30 | struct nbt_netlogon_response
|
---|
31 | {
|
---|
32 | enum {NETLOGON_GET_PDC, NETLOGON_SAMLOGON, NETLOGON_RESPONSE2} response_type;
|
---|
33 | union {
|
---|
34 | struct nbt_netlogon_response_from_pdc get_pdc;
|
---|
35 | struct netlogon_samlogon_response samlogon;
|
---|
36 | struct nbt_netlogon_response2 response2;
|
---|
37 | } data;
|
---|
38 | };
|
---|
39 |
|
---|
40 | #include "../libcli/netlogon/netlogon_proto.h"
|
---|
41 | #endif /* __CLDAP_SERVER_PROTO_H__ */
|
---|