s3:smb2_create: add usefull DEBUG() message
[Samba/gebeck_regimport.git] / source4 / libnet / libnet_vampire.h
blobea616ab81f0ea1ffd59164d15b8effa45fb7ac0e
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Stefan Metzmacher 2004
5 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
6 Copyright (C) Brad Henry 2005
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 __LIBNET_VAMPIRE_H__
23 #define __LIBNET_VAMPIRE_H__
25 struct libnet_Vampire {
26 struct {
27 const char *domain_name;
28 const char *netbios_name;
29 const char *targetdir;
30 } in;
32 struct {
33 struct dom_sid *domain_sid;
34 const char *domain_name;
35 const char *error_string;
36 } out;
39 struct libnet_Replicate {
40 struct {
41 const char *domain_name;
42 const char *netbios_name;
43 const char *targetdir; /* optional, may be NULL */
44 struct dom_sid *domain_sid;
45 const char *realm;
46 const char *server;
47 const char *join_password;
48 uint32_t kvno;
49 } in;
50 struct {
51 const char *error_string;
52 } out;
55 /* Private context for the default callbacks */
56 struct libnet_vampire_cb_state;
58 #endif /* __LIBNET_VAMPIRE_H__ */