diff options
author | Günther Deschner <gd@samba.org> | 2021-02-08 15:50:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2021-07-14 16:49:30 +0000 |
commit | c1f937bfb1d72872e19c425e46fafdee1fa9f137 (patch) | |
tree | 39580b8d36225ecb2a41c9cfcfe461269cacc259 /source3/lib/netapi | |
parent | 0816a3d9e60d2ca923d77cc10cc0951f288622ac (diff) | |
download | samba-c1f937bfb1d72872e19c425e46fafdee1fa9f137.tar.gz |
s3-libnetapi: add NetRequestOfflineDomainJoin to api
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 96b136f7bdb..df465aef51b 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -105,6 +105,9 @@ struct DOMAIN_CONTROLLER_INFO { #define NETSETUP_PROVISION_SKIP_ACCOUNT_SEARCH ( 0x00000008 ) #define NETSETUP_PROVISION_ROOT_CA_CERTS ( 0x00000010 ) +/* bitmap NetProvisionJoinFlags */ +#define NETSETUP_PROVISION_ONLINE_CALLER ( 0x40000000 ) + #define FILTER_TEMP_DUPLICATE_ACCOUNT ( 0x0001 ) #define FILTER_NORMAL_ACCOUNT ( 0x0002 ) #define FILTER_INTERDOMAIN_TRUST_ACCOUNT ( 0x0008 ) @@ -1651,6 +1654,27 @@ NET_API_STATUS NetProvisionComputerAccount(const char * domain /* [in] [ref] */, /************************************************************//** * + * NetRequestOfflineDomainJoin + * + * @brief Request an offline domain join + * + * @param[in] provision_bin_data The provided binary buffer + * @param[in] provision_bin_data_size The provided binary buffer size + * @param[in] options The options used for account creation + * @param[in] windows_path The path for the joined image + * @return NET_API_STATUS + * + * example join/request_offline_domain_join.c + * + ***************************************************************/ + +NET_API_STATUS NetRequestOfflineDomainJoin(uint8_t *provision_bin_data /* [in] [unique] */, + uint32_t provision_bin_data_size /* [in] */, + uint32_t options /* [in] */, + const char * windows_path /* [in] [unique] */); + +/************************************************************//** + * * NetServerGetInfo * * @brief Get Information on a server |