All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] cifs: set MAY_SIGN when sec=krb5
@ 2012-10-24  9:45 Martijn de Gouw
       [not found] ` <1351071946-21458-1-git-send-email-martijn.de.gouw-BHYAuTpL47qEVqv0pETR8A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Martijn de Gouw @ 2012-10-24  9:45 UTC (permalink / raw)
  To: smfrench-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, Martijn de Gouw

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;
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-14  5:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.