From: Martijn de Gouw Date: Wed, 24 Oct 2012 09:45:46 +0000 (+0200) Subject: cifs: set MAY_SIGN when sec=krb5 X-Git-Tag: upstream/snapshot3+hdmi~5597^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b7bc84000d71f3647ca33ab1bf5bd928535c846;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git cifs: set MAY_SIGN when sec=krb5 Setting this secFlg allows usage of dfs where some servers require signing and others don't. Signed-off-by: Martijn de Gouw Signed-off-by: Jeff Layton Signed-off-by: Steve French --- diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 4474a57..54125e0 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1031,7 +1031,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;