summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2009-01-05 14:39:59 +0100
committerKarolin Seeger <kseeger@samba.org>2009-01-12 10:12:03 +0100
commit901ac11aa85d56f7636ed1d30a0ccffe6101f273 (patch)
tree2592345d917e44cc769654d20dcf79e26e63bafa
parent88c325d993cb80e69e7ae482f0243899700ab6fb (diff)
downloadsamba-901ac11aa85d56f7636ed1d30a0ccffe6101f273.tar.gz
samba-901ac11aa85d56f7636ed1d30a0ccffe6101f273.tar.xz
samba-901ac11aa85d56f7636ed1d30a0ccffe6101f273.zip
docs: Document the -g option of smbclient.
This fixes bug #6013. Thanks to the Debian Samba packages maintainers for reporting! Karolin (cherry picked from commit 6752d78e946b2c4278e2deba325c76fb7ffbc06a) (cherry picked from commit e6abdbde9b67801d46c9d331045d155717e8b241) (cherry picked from commit 8a79b8796f98dd80b6e1f04d7302fb8342f0052d) (cherry picked from commit 1f979334266706656874fdbe6cce14f17105360b) (cherry picked from commit 74f5828112581fa230301f43f7685ec208a8e4f6)
-rw-r--r--docs-xml/manpages-3/smbclient.1.xml24
1 files changed, 17 insertions, 7 deletions
diff --git a/docs-xml/manpages-3/smbclient.1.xml b/docs-xml/manpages-3/smbclient.1.xml
index dad6177e05f..55f1d4ad3d9 100644
--- a/docs-xml/manpages-3/smbclient.1.xml
+++ b/docs-xml/manpages-3/smbclient.1.xml
@@ -13,7 +13,7 @@
<refnamediv>
<refname>smbclient</refname>
- <refpurpose>ftp-like client to access SMB/CIFS resources
+ <refpurpose>ftp-like client to access SMB/CIFS resources
on servers</refpurpose>
</refnamediv>
@@ -30,6 +30,7 @@
<arg choice="opt">-m maxprotocol</arg>
<arg choice="opt">-A authfile</arg>
<arg choice="opt">-N</arg>
+ <arg choice="opt">-g</arg>
<arg choice="opt">-i scope</arg>
<arg choice="opt">-O &lt;socket options&gt;</arg>
<arg choice="opt">-p port</arg>
@@ -39,7 +40,7 @@
<arg choice="opt">-P</arg>
<arg choice="opt">-c &lt;command&gt;</arg>
</cmdsynopsis>
-
+
<cmdsynopsis>
<command>smbclient</command>
<arg choice="req">servicename</arg>
@@ -54,6 +55,7 @@
<arg choice="opt">-m maxprotocol</arg>
<arg choice="opt">-A authfile</arg>
<arg choice="opt">-N</arg>
+ <arg choice="opt">-g</arg>
<arg choice="opt">-l log-basename</arg>
<arg choice="opt">-I destinationIP</arg>
<arg choice="opt">-E</arg>
@@ -233,7 +235,7 @@
on your WfWg PCs if you want them to always be able to receive
messages. </para></listitem>
</varlistentry>
-
+
<varlistentry>
<term>-p port</term>
<listitem><para>This number is the TCP port number that will be used
@@ -241,19 +243,27 @@
TCP port number for an SMB/CIFS server is 139, which is the
default. </para></listitem>
</varlistentry>
-
+
+ <varlistentry>
+ <term>-g</term>
+ <listitem><para>This parameter provides combined with
+ <parameter>-L</parameter> easy parseable output that allows processing
+ with utilities such as grep and cut.
+ </para></listitem>
+ </varlistentry>
+
<varlistentry>
<term>-P</term>
<listitem><para>
Make queries to the external server using the machine account of the local server.
</para></listitem>
</varlistentry>
-
+
&stdarg.help;
-
+
<varlistentry>
<term>-I IP-address</term>
- <listitem><para><replaceable>IP address</replaceable> is the address of the server to connect to.
+ <listitem><para><replaceable>IP address</replaceable> is the address of the server to connect to.
It should be specified in standard "a.b.c.d" notation. </para>
<para>Normally the client would attempt to locate a named