docs: Improve man mount.cifs.
authorKarolin Seeger <kseeger@samba.org>
Fri, 9 Jan 2009 10:22:00 +0000 (11:22 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 9 Jan 2009 10:22:00 +0000 (11:22 +0100)
Add hint about specifying the workgroup in the credentials file.
Whitespace cleanup.

This fixes bug #4541.
Patch based on proposed patch from Christian Perrier <bubulle@debian.org>.
Thanks for reporting and providing a patch!

Karolin

docs-xml/manpages-3/mount.cifs.8.xml

index 51a22b3879400ec35313cbf812e1bf77701f8be2..54fbc139b4c73af086a616608bb6e28b40d44062 100644 (file)
@@ -89,7 +89,7 @@ to be specified as part of the username.
 
                <listitem><para>specifies the CIFS password. If this
 option is not given then the environment variable
-<emphasis>PASSWD</emphasis> is used. If the password is not specified 
+<emphasis>PASSWD</emphasis> is used. If the password is not specified
 directly or indirectly via an argument to mount, <emphasis>mount.cifs</emphasis> will prompt
 for a password, unless the guest option is specified.
 </para>
@@ -106,14 +106,16 @@ below) or entered at the password prompt will be read correctly.
 
                <listitem><para>
                                specifies a file that contains a username
-                               and/or password. The format of the file is:
+                               and/or password and optionally the name of the
+                               workgroup. The format of the file is:
                        </para>
 
 <programlisting>
                username=<replaceable>value</replaceable>
                password=<replaceable>value</replaceable>
+               workgroup=<replaceable>value</replaceable>
 </programlisting>
-               
+
                <para>
 This is preferred over having passwords in plaintext in a
 shared file, such as <filename>/etc/fstab</filename>. Be sure to protect any