From 3f3b0c04df0696e525ce132c5a01cfa25a86a27a Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Sun, 21 Aug 2011 17:42:33 +0300 Subject: [PATCH] docs: Added documentation for net rpc conf. Changed the manual page for net to also show the posibility of remote configuration of a Samba server via net rpc conf. Signed-off-by: Michael Adam --- docs-xml/manpages-3/net.8.xml | 57 ++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index 2c6c11ecf84..6e6b7e3acf5 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -1656,11 +1656,12 @@ shares created by other users. -CONF +[RPC] CONF Starting with version 3.2.0, a Samba server can be configured by data stored in registry. This configuration data can be edited with the new "net -conf" commands. +conf" commands. There is also the possiblity to configure a remote Samba server +by enabling the RPC conf mode and specifying the the address of the remote server. @@ -1678,27 +1679,27 @@ See the smb.conf The conf commands are: -net conf list - Dump the complete configuration in smb.conf like +net [rpc] conf list - Dump the complete configuration in smb.conf like format. -net conf import - Import configuration from file in smb.conf +net [rpc] conf import - Import configuration from file in smb.conf format. -net conf listshares - List the registry shares. -net conf drop - Delete the complete configuration from +net [rpc] conf listshares - List the registry shares. +net [rpc] conf drop - Delete the complete configuration from registry. -net conf showshare - Show the definition of a registry share. -net conf addshare - Create a new registry share. -net conf delshare - Delete a registry share. -net conf setparm - Store a parameter. -net conf getparm - Retrieve the value of a parameter. -net conf delparm - Delete a parameter. -net conf getincludes - Show the includes of a share definition. -net conf setincludes - Set includes for a share. -net conf delincludes - Delete includes from a share definition. +net [rpc] conf showshare - Show the definition of a registry share. +net [rpc] conf addshare - Create a new registry share. +net [rpc] conf delshare - Delete a registry share. +net [rpc] conf setparm - Store a parameter. +net [rpc] conf getparm - Retrieve the value of a parameter. +net [rpc] conf delparm - Delete a parameter. +net [rpc] conf getincludes - Show the includes of a share definition. +net [rpc] conf setincludes - Set includes for a share. +net [rpc] conf delincludes - Delete includes from a share definition. -CONF LIST +[RPC] CONF LIST Print the configuration data stored in the registry in a smb.conf-like format to @@ -1707,7 +1708,7 @@ standard output. -CONF IMPORT <replaceable>[--test|-T]</replaceable> <replaceable>filename</replaceable> <replaceable>[section]</replaceable> +[RPC] CONF IMPORT <replaceable>[--test|-T]</replaceable> <replaceable>filename</replaceable> <replaceable>[section]</replaceable> This command imports configuration from a file in smb.conf format. @@ -1723,7 +1724,7 @@ registry, and the resulting configuration is printed to standard output instead. -CONF LISTSHARES +[RPC] CONF LISTSHARES List the names of the shares defined in registry. @@ -1731,7 +1732,7 @@ List the names of the shares defined in registry. -CONF DROP +[RPC] CONF DROP Delete the complete configuration data from registry. @@ -1739,7 +1740,7 @@ Delete the complete configuration data from registry. -CONF SHOWSHARE <replaceable>sharename</replaceable> +[RPC] CONF SHOWSHARE <replaceable>sharename</replaceable> Show the definition of the share or section specified. It is valid to specify @@ -1749,7 +1750,7 @@ registry. -CONF ADDSHARE <replaceable>sharename</replaceable> <replaceable>path</replaceable> [<replaceable>writeable={y|N}</replaceable> [<replaceable>guest_ok={y|N}</replaceable> [<replaceable>comment</replaceable>]]] +[RPC] CONF ADDSHARE <replaceable>sharename</replaceable> <replaceable>path</replaceable> [<replaceable>writeable={y|N}</replaceable> [<replaceable>guest_ok={y|N}</replaceable> [<replaceable>comment</replaceable>]]] Create a new share definition in registry. The sharename and path have to be given. The share name may @@ -1761,7 +1762,7 @@ commands. -CONF DELSHARE <replaceable>sharename</replaceable> +[RPC] CONF DELSHARE <replaceable>sharename</replaceable> Delete a share definition from registry. @@ -1769,7 +1770,7 @@ Delete a share definition from registry. -CONF SETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> <replaceable>value</replaceable> +[RPC] CONF SETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> <replaceable>value</replaceable> Store a parameter in registry. The section may be global or a sharename. @@ -1778,7 +1779,7 @@ The section is created if it does not exist yet. -CONF GETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> +[RPC] CONF GETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> Show a parameter stored in registry. @@ -1786,7 +1787,7 @@ Show a parameter stored in registry. -CONF DELPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> +[RPC] CONF DELPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> Delete a parameter stored in registry. @@ -1794,7 +1795,7 @@ Delete a parameter stored in registry. -CONF GETINCLUDES <replaceable>section</replaceable> +[RPC] CONF GETINCLUDES <replaceable>section</replaceable> Get the list of includes for the provided section (global or share). @@ -1820,7 +1821,7 @@ data from other registry keys. -CONF SETINCLUDES <replaceable>section</replaceable> [<replaceable>filename</replaceable>]+ +[RPC] CONF SETINCLUDES <replaceable>section</replaceable> [<replaceable>filename</replaceable>]+ Set the list of includes for the provided section (global or share) to the given @@ -1830,7 +1831,7 @@ macros like %I. -CONF DELINCLUDES <replaceable>section</replaceable> +[RPC] CONF DELINCLUDES <replaceable>section</replaceable> Delete the list of includes from the provided section (global or share). -- 2.11.4.GIT