The Samba-Bugzilla – Attachment 6669 Details for
Bug 8292
Disable SMB2 for 3.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-s3-Disable-SMB2-support-by-default.patch (text/plain), 1.60 KB, created by
Volker Lendecke
on 2011-07-07 15:08:02 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-07-07 15:08:02 UTC
Size:
1.60 KB
patch
obsolete
>From eeaf155c86700948a84070442de60d5458a01bef Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 7 Jul 2011 16:45:37 +0200 >Subject: [PATCH] s3: Disable SMB2 support by default > >--- > source3/configure.in | 19 +++++++++++++++++++ > source3/param/loadparm.c | 2 ++ > 2 files changed, 21 insertions(+), 0 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 248f319..bd196a4 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -5741,6 +5741,25 @@ case "$host_os" in > ;; > esac > >+AC_MSG_CHECKING(whether to support SMB2) >+AC_ARG_WITH(smb2, >+[AS_HELP_STRING([--with-smb2], >+ [Include experimental SMB2 support (default=no)])], >+[ case "$withval" in >+ yes) >+ AC_MSG_RESULT(yes) >+ AC_DEFINE(WITH_SMB2_SERVER, 1, >+ [Whether to include experimental SMB2 support]) >+ samba_cv_WITH_SMB2_SERVER=yes >+ ;; >+ *) >+ AC_MSG_RESULT(no) >+ samba_cv_WITH_SMB2_SERVER=no >+ ;; >+ esac ], >+ AC_MSG_RESULT(no) >+) >+ > ################################################# > # check for AIO support > >diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c >index 1ec68ad..bd44fd1 100644 >--- a/source3/param/loadparm.c >+++ b/source3/param/loadparm.c >@@ -721,7 +721,9 @@ static void add_to_file_list(const char *fname, const char *subfname); > static bool lp_set_cmdline_helper(const char *pszParmName, const char *pszParmValue, bool store_values); > > static const struct enum_list enum_protocol[] = { >+#ifdef WITH_SMB2_SERVER > {PROTOCOL_SMB2, "SMB2"}, >+#endif > {PROTOCOL_NT1, "NT1"}, > {PROTOCOL_LANMAN2, "LANMAN2"}, > {PROTOCOL_LANMAN1, "LANMAN1"}, >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review-
Actions:
View
Attachments on
bug 8292
:
6669
|
6671
|
6672
|
6679