aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-10-16 13:32:19 -0400
committerSteve French <sfrench@us.ibm.com>2007-10-16 13:32:19 -0400
commit0d3a01fadacef5901005dc8f61688a8f0471dc79 (patch)
tree7108a14b5bd800f9338ad6129ee96470e7d1bc62 /fs/cifs/cifsglob.h
parente187e44eb8902089da0c7725d606b0e20fee981d (diff)
[CIFS] Break up unicode_sessetup string functions
SPNEGO setup needs only some of these strings. Break up unicode_ssetup_strings so we can call them individually. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 61d617370e56..9b7762c754cb 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -495,9 +495,15 @@ require use of the stronger protocol */
495#ifdef CONFIG_CIFS_WEAK_PW_HASH 495#ifdef CONFIG_CIFS_WEAK_PW_HASH
496#define CIFSSEC_MUST_LANMAN 0x10010 496#define CIFSSEC_MUST_LANMAN 0x10010
497#define CIFSSEC_MUST_PLNTXT 0x20020 497#define CIFSSEC_MUST_PLNTXT 0x20020
498#ifdef CONFIG_CIFS_UPCALL
499#define CIFSSEC_MASK 0x3F03F /* allows weak security but also krb5 */
500#else
498#define CIFSSEC_MASK 0x37037 /* current flags supported if weak */ 501#define CIFSSEC_MASK 0x37037 /* current flags supported if weak */
502#else /* do not allow weak pw hash */
503#ifdef CONFIG_CIFS_UPCALL
504#define CIFSSEC_MASK 0x0F00F /* flags supported if no weak allowed */
499#else 505#else
500#define CIFSSEC_MASK 0x07007 /* flags supported if no weak config */ 506#define CIFSSEC_MASK 0x07007 /* flags supported if no weak allowed */
501#endif /* WEAK_PW_HASH */ 507#endif /* WEAK_PW_HASH */
502#define CIFSSEC_MUST_SEAL 0x40040 /* not supported yet */ 508#define CIFSSEC_MUST_SEAL 0x40040 /* not supported yet */
503 509