1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

netapi: add NetRenameMachineInDomain to public header.

Guenther
(This used to be commit b66cee247f)
This commit is contained in:
Günther Deschner 2008-09-02 11:06:22 +02:00
parent c8334dc708
commit 10e8f90a65

View File

@ -827,6 +827,29 @@ NET_API_STATUS NetGetJoinableOUs(const char * server_name /* [in] */,
uint32_t *ou_count /* [out] [ref] */,
const char * **ous /* [out] [ref] */);
/************************************************************//**
*
* NetRenameMachineInDomain
*
* @brief Rename a machine in a domain
*
* @param[in] server_name The server name to connect to
* @param[in] new_machine_name The new machine name
* @param[in] account The domain account used for the query
* @param[in] password The domain account's password used for the query
* @param[in] rename_options Options used for the rename operation
* @return NET_API_STATUS
*
* example join/rename_machine.c
*
***************************************************************/
NET_API_STATUS NetRenameMachineInDomain(const char * server_name /* [in] */,
const char * new_machine_name /* [in] */,
const char * account /* [in] */,
const char * password /* [in] */,
uint32_t rename_options /* [in] */);
/************************************************************//**
*
* NetServerGetInfo