s3-mdssvc: main Spotlight code
[Samba.git] / libcli / netlogon / netlogon.h
blob0bf2a4c85c08fecdc458f630a46d80d4e7be948e
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"
30 struct nbt_netlogon_response
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;
40 #include "../libcli/netlogon/netlogon_proto.h"
41 #endif /* __CLDAP_SERVER_PROTO_H__ */