* [PATCH] cifs: Add handling of blank password option
@ 2012-11-29 16:31 Jesper Nilsson
[not found] ` <20121129163116.GP27196-VrBV9hrLPhE@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jesper Nilsson @ 2012-11-29 16:31 UTC (permalink / raw)
To: linux-cifs, sfrench, linux-kernel
The option to have a blank "pass=" already exists, and with
a password specified both "pass=%s" and "password=%s" are supported.
Also, both blank "user=" and "username=" are supported, making
"password=" the odd man out.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
---
fs/cifs/connect.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 5c670b9..c83f5b65 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -186,6 +186,7 @@ static const match_table_t cifs_mount_option_tokens = {
{ Opt_user, "user=%s" },
{ Opt_user, "username=%s" },
{ Opt_blank_pass, "pass=" },
+ { Opt_blank_pass, "password=" },
{ Opt_pass, "pass=%s" },
{ Opt_pass, "password=%s" },
{ Opt_blank_ip, "ip=" },
--
1.8.0.rc0.18.gf84667d
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cifs: Add handling of blank password option
2012-11-29 16:31 [PATCH] cifs: Add handling of blank password option Jesper Nilsson
@ 2012-11-29 16:56 ` Steve French
0 siblings, 0 replies; 3+ messages in thread
From: Steve French @ 2012-11-29 16:56 UTC (permalink / raw)
To: Jesper Nilsson
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, sfrench-eUNUBHrolfbYtjvyW6yDsg,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
merged into cifs-2.6.git
On Thu, Nov 29, 2012 at 10:31 AM, Jesper Nilsson
<jesper.nilsson-VrBV9hrLPhE@public.gmane.org> wrote:
> The option to have a blank "pass=" already exists, and with
> a password specified both "pass=%s" and "password=%s" are supported.
> Also, both blank "user=" and "username=" are supported, making
> "password=" the odd man out.
>
> Signed-off-by: Jesper Nilsson <jesper.nilsson-VrBV9hrLPhE@public.gmane.org>
> ---
> fs/cifs/connect.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 5c670b9..c83f5b65 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -186,6 +186,7 @@ static const match_table_t cifs_mount_option_tokens = {
> { Opt_user, "user=%s" },
> { Opt_user, "username=%s" },
> { Opt_blank_pass, "pass=" },
> + { Opt_blank_pass, "password=" },
> { Opt_pass, "pass=%s" },
> { Opt_pass, "password=%s" },
> { Opt_blank_ip, "ip=" },
> --
> 1.8.0.rc0.18.gf84667d
>
>
> /^JN - Jesper Nilsson
> --
> Jesper Nilsson -- jesper.nilsson-VrBV9hrLPhE@public.gmane.org
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cifs: Add handling of blank password option
@ 2012-11-29 16:56 ` Steve French
0 siblings, 0 replies; 3+ messages in thread
From: Steve French @ 2012-11-29 16:56 UTC (permalink / raw)
To: Jesper Nilsson; +Cc: linux-cifs, sfrench, linux-kernel
merged into cifs-2.6.git
On Thu, Nov 29, 2012 at 10:31 AM, Jesper Nilsson
<jesper.nilsson@axis.com> wrote:
> The option to have a blank "pass=" already exists, and with
> a password specified both "pass=%s" and "password=%s" are supported.
> Also, both blank "user=" and "username=" are supported, making
> "password=" the odd man out.
>
> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
> ---
> fs/cifs/connect.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 5c670b9..c83f5b65 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -186,6 +186,7 @@ static const match_table_t cifs_mount_option_tokens = {
> { Opt_user, "user=%s" },
> { Opt_user, "username=%s" },
> { Opt_blank_pass, "pass=" },
> + { Opt_blank_pass, "password=" },
> { Opt_pass, "pass=%s" },
> { Opt_pass, "password=%s" },
> { Opt_blank_ip, "ip=" },
> --
> 1.8.0.rc0.18.gf84667d
>
>
> /^JN - Jesper Nilsson
> --
> Jesper Nilsson -- jesper.nilsson@axis.com
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-29 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 16:31 [PATCH] cifs: Add handling of blank password option Jesper Nilsson
[not found] ` <20121129163116.GP27196-VrBV9hrLPhE@public.gmane.org>
2012-11-29 16:56 ` Steve French
2012-11-29 16:56 ` Steve French
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.