summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_vampire.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-23 11:13:22 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-23 15:55:39 +1000
commitbdc1639642de79aa08e839f77be210683e6361f6 (patch)
tree1ea537e4326ac3d8319e32721093379aa3f3e315 /source4/libnet/libnet_vampire.h
parent2d2a0cb5823080694df0ba161017a83876048d93 (diff)
downloadsamba-bdc1639642de79aa08e839f77be210683e6361f6.tar.gz
samba-bdc1639642de79aa08e839f77be210683e6361f6.tar.bz2
samba-bdc1639642de79aa08e839f77be210683e6361f6.zip
s4-libnet: split libnet_Vampire() into two parts
libnet_Replicate() will do just the replication portion of libnet_Vampire(). This will be used by the RODC join, where the join part of the operation happens in python, and behaves quite differently to the libnet_Join() code. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet/libnet_vampire.h')
-rw-r--r--source4/libnet/libnet_vampire.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.h b/source4/libnet/libnet_vampire.h
index 9bf64d3a38..ea616ab81f 100644
--- a/source4/libnet/libnet_vampire.h
+++ b/source4/libnet/libnet_vampire.h
@@ -36,6 +36,22 @@ struct libnet_Vampire {
} out;
};
+struct libnet_Replicate {
+ struct {
+ const char *domain_name;
+ const char *netbios_name;
+ const char *targetdir; /* optional, may be NULL */
+ struct dom_sid *domain_sid;
+ const char *realm;
+ const char *server;
+ const char *join_password;
+ uint32_t kvno;
+ } in;
+ struct {
+ const char *error_string;
+ } out;
+};
+
/* Private context for the default callbacks */
struct libnet_vampire_cb_state;