summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-02 11:06:22 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:13:36 +0200
commit10e8f90a65a95e3b2aeda467ec37b5c94288f2a6 (patch)
tree7dbfe70c391a67d88f2da9c06a0c48c956c479aa /source3
parentc8334dc7089e9f615257fff7c1dbf5f9b4a4e1c6 (diff)
downloadsamba-10e8f90a65a95e3b2aeda467ec37b5c94288f2a6.tar.gz
samba-10e8f90a65a95e3b2aeda467ec37b5c94288f2a6.tar.bz2
samba-10e8f90a65a95e3b2aeda467ec37b5c94288f2a6.zip
netapi: add NetRenameMachineInDomain to public header.
Guenther (This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/netapi.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 80c44f0ddb..ba509f8d8c 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -829,6 +829,29 @@ NET_API_STATUS NetGetJoinableOUs(const char * server_name /* [in] */,
/************************************************************//**
*
+ * 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
*
* @brief Get Information on a server