Add libnet_Unjoin(), libnet_UnjoinCtx and friends.
[ira/wip.git] / source3 / libnet / libnet_join.h
index 9596733ceeffe0f0fd893616da211a96fcc4f61e..46ab27e8b0f94261029f14ac351edd930c5b3fab 100644 (file)
@@ -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;
 };