diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-05-02 14:17:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:27 -0500 |
commit | 8bf57cf8f57be28831023c2218d358b24b705256 (patch) | |
tree | e18e07afa72a46e9c6c94b8faf1ee21650b2cc20 /source4/libnet/libnet_vampire.h | |
parent | 591ff7675dfe51f30029cb864df47bc8f6266494 (diff) | |
download | samba-8bf57cf8f57be28831023c2218d358b24b705256.tar.gz samba-8bf57cf8f57be28831023c2218d358b24b705256.tar.bz2 samba-8bf57cf8f57be28831023c2218d358b24b705256.zip |
r6573: Start on my project to implement an NT4 compatible BDC in Samba4.
This brings in a compatability layer for Samba3 in Samba4 - where we
will start to define file formats and similar details.
The 'net samdump' command uses 'password server = ' for now, and
performs a similar task to Samba3's 'net rpc samsync'.
Andrew Bartlett
(This used to be commit 550f17f9924fe783917318753de7d1a388423908)
Diffstat (limited to 'source4/libnet/libnet_vampire.h')
-rw-r--r-- | source4/libnet/libnet_vampire.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.h b/source4/libnet/libnet_vampire.h new file mode 100644 index 0000000000..22ac1606bd --- /dev/null +++ b/source4/libnet/libnet_vampire.h @@ -0,0 +1,40 @@ +/* + Unix SMB/CIFS implementation. + + Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#include "librpc/gen_ndr/ndr_netlogon.h" + +/* struct and enum for doing a remote domain join */ +enum libnet_SamDump_level { + LIBNET_SAMDUMP_GENERIC, + LIBNET_SAMDUMP_NETLOGON, +}; + +union libnet_SamDump { + struct { + enum libnet_SamDump_level level; + char *error_string; + } generic; + + struct { + enum libnet_SamDump_level level; + char *error_string; + } netlogon; +}; + |