mount.cifs: make credentials file parameters consistent with mount options
authorScott Lovenberg <scott.lovenberg@gmail.com>
Tue, 6 Apr 2010 18:52:07 +0000 (14:52 -0400)
committerJeff Layton <jlayton@samba.org>
Tue, 6 Apr 2010 18:52:07 +0000 (14:52 -0400)
commitaeba78abbe4f25ae77328e4ca6a67360dd4ea344
tree1c730e215d748e760a2103e8c4546852e10694c7
parent2a78385bbf879c16c538b0c78ff4e939724fafd4
mount.cifs: make credentials file parameters consistent with mount options

This patch makes the mount.cifs credentials file parameters consistent with
the command line parameters to remove ambiguity between the command line
parameter format and the credentials file format. That is, it parses for
both short and long form of the 'username', 'password', and 'domain'
parameters.  This patch is against the current cifs-utils-4.2.

I'm also thinking of adding a second patch that allows for parsing a
"domain/user", "domain%user" and "domain/user%password" formats as allowed
from the command line.

Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
mount.cifs.c