From: Martijn de Gouw <martijn.de.gouw-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
To: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/1] cifs: set MAY_SIGN when sec=krb5
Date: Wed, 30 Jan 2013 20:03:55 +0100 [thread overview]
Message-ID: <51096E9B.5080704@prodrive.nl> (raw)
In-Reply-To: <20121024073723.2e5063db-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
Hi,
On 10/24/2012 01:37 PM, Jeff Layton wrote:
> On Wed, 24 Oct 2012 11:45:46 +0200
> Martijn de Gouw <martijn.de.gouw-BHYAuTpL47qEVqv0pETR8A@public.gmane.org> wrote:
>
>> Setting this secFlg allows usage of dfs where some servers require
>> signing and others don't.
>>
>> Signed-off-by: Martijn de Gouw <martijn.de.gouw-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
>> ---
>> :100644 100644 b39bb4a... 4da9dd3... M fs/cifs/connect.c
>> fs/cifs/connect.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
>> index b39bb4a..4da9dd3 100644
>> --- a/fs/cifs/connect.c
>> +++ b/fs/cifs/connect.c
>> @@ -994,7 +994,7 @@ static int cifs_parse_security_flavors(char *value,
>>
>> switch (match_token(value, cifs_secflavor_tokens, args)) {
>> case Opt_sec_krb5:
>> - vol->secFlg |= CIFSSEC_MAY_KRB5;
>> + vol->secFlg |= CIFSSEC_MAY_KRB5 | CIFSSEC_MAY_SIGN;
>> break;
>> case Opt_sec_krb5i:
>> vol->secFlg |= CIFSSEC_MAY_KRB5 | CIFSSEC_MUST_SIGN;
>
> Looks like a reasonable bandaid until someone overhauls the auth
> selection code for sanity...
>
> Reviewed-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>
>
It's been a while and this patch is not yet applied.
Please apply.
It is already in patchwork I saw:
https://patchwork.kernel.org/patch/1637021/
Regards, Martijn
--
Martijn de Gouw
Engineer
Prodrive B.V.
Mobile: +31 63 17 76 161
Phone: +31 40 26 76 200
next prev parent reply other threads:[~2013-01-30 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 9:45 [PATCH 1/1] cifs: set MAY_SIGN when sec=krb5 Martijn de Gouw
[not found] ` <1351071946-21458-1-git-send-email-martijn.de.gouw-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
2012-10-24 11:37 ` Jeff Layton
[not found] ` <20121024073723.2e5063db-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-01-30 19:03 ` Martijn de Gouw [this message]
2013-01-31 4:53 ` Steve French
[not found] ` <CAH2r5muToSW5VW3KkazpakQdPBb3ptC0a75FK1+KswzVAvCCkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-31 14:31 ` Martijn de Gouw
[not found] ` <510A802A.5000904-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
2013-02-01 5:51 ` Steve French
[not found] ` <CAH2r5mvc6tYze0TC2Ets9=7Fg5b3OJTk_dyONTvYLxswt1jN7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-13 14:55 ` Martijn de Gouw
[not found] ` <511BA949.2020100-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
2013-02-14 5:58 ` Steve French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51096E9B.5080704@prodrive.nl \
--to=martijn.de.gouw-bhyautpl47qevqv0petr8a@public.gmane.org \
--cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox