From: Karolin Seeger Date: Fri, 9 Jan 2009 10:22:00 +0000 (+0100) Subject: docs: Improve man mount.cifs. X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=47f4662b6d727f2901d630d74792a6a971b54662 docs: Improve man mount.cifs. Add hint about specifying the workgroup in the credentials file. Whitespace cleanup. This fixes bug #4541. Patch based on proposed patch from Christian Perrier . Thanks for reporting and providing a patch! Karolin (cherry picked from commit 1f7e09ea542df3a2f5f553c0cb11a39c74712950) (cherry picked from commit b99d98ff2ef5491979301656e7f516d3c8829f6e) (cherry picked from commit 1900233ede3083410eb3dc691d2d486c5340ccc4) --- diff --git a/docs-xml/manpages-3/mount.cifs.8.xml b/docs-xml/manpages-3/mount.cifs.8.xml index fcea5bc697b..86242a234a4 100644 --- a/docs-xml/manpages-3/mount.cifs.8.xml +++ b/docs-xml/manpages-3/mount.cifs.8.xml @@ -89,7 +89,7 @@ to be specified as part of the username. specifies the CIFS password. If this option is not given then the environment variable -PASSWD is used. If the password is not specified +PASSWD is used. If the password is not specified directly or indirectly via an argument to mount, mount.cifs will prompt for a password, unless the guest option is specified. @@ -106,14 +106,16 @@ below) or entered at the password prompt will be read correctly. 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: username=value password=value + workgroup=value - + This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab. Be sure to protect any