summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_join.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-19 11:02:39 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 15:29:11 +0100
commit41467ffc6d2588bfc9cd112586f6036c185536b2 (patch)
tree222944604ed83823f90584b6c7c2ecc456ca9252 /source3/libnet/libnet_join.h
parent8f7723fc28cf9e71b0d5ef2890dbe95ae3fc5e07 (diff)
downloadsamba-41467ffc6d2588bfc9cd112586f6036c185536b2.tar.gz
samba-41467ffc6d2588bfc9cd112586f6036c185536b2.tar.bz2
samba-41467ffc6d2588bfc9cd112586f6036c185536b2.zip
Add libnet_Unjoin(), libnet_UnjoinCtx and friends.
Guenther (This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)
Diffstat (limited to 'source3/libnet/libnet_join.h')
-rw-r--r--source3/libnet/libnet_join.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/libnet/libnet_join.h b/source3/libnet/libnet_join.h
index 9596733cee..46ab27e8b0 100644
--- a/source3/libnet/libnet_join.h
+++ b/source3/libnet/libnet_join.h
@@ -39,8 +39,25 @@ struct libnet_JoinCtx {
char *netbios_domain_name;
char *dns_domain_name;
char *dn;
+ struct dom_sid *domain_sid;
bool modified_config;
+ WERROR result;
+ } out;
+};
+
+struct libnet_UnjoinCtx {
+ struct {
+ const char *server_name;
+ const char *domain_name;
+ const char *admin_account;
+ const char *password;
+ uint32_t unjoin_flags;
+ bool modify_config;
struct dom_sid *domain_sid;
+ } in;
+
+ struct {
+ bool modified_config;
WERROR result;
} out;
};