diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-30 01:22:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:03 -0500 |
commit | ad8c4ae941047aa7409ff0d8d10de721f5ff0659 (patch) | |
tree | c322013370a69f6c6f1476da9e5fffe45f8d117c /source4/param/loadparm.c | |
parent | 08e30a51f8e75cb5bf9485ba847a9b3c1c7fb9b8 (diff) | |
download | samba-ad8c4ae941047aa7409ff0d8d10de721f5ff0659.tar.gz samba-ad8c4ae941047aa7409ff0d8d10de721f5ff0659.tar.bz2 samba-ad8c4ae941047aa7409ff0d8d10de721f5ff0659.zip |
r3380: - changed the default behaviour of server signing. We now have a default
setting of "server signing = auto", which means to offer signing
only if we have domain logons enabled (ie. we are a DC). This is a
better match for what windows clients want, as unfortunately windows
clients always use signing if it is offered, and when they use signing
they not only go slower because of the signing itself, they also
disable large readx/writex support, so they end up sending very small
IOs for.
- changed the default max xmit again, this time matching longhorn,
which uses 12288. That seems to be a fairly good compromise value.
(This used to be commit e63edc81716fefd58a3be25deb3b25e45471f196)
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r-- | source4/param/loadparm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 341b039aad..f8b90203e7 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -198,8 +198,8 @@ typedef struct BOOL bLanmanAuth; BOOL bNTLMAuth; BOOL bUseSpnego; - BOOL server_signing; - BOOL client_signing; + int server_signing; + int client_signing; BOOL bClientLanManAuth; BOOL bClientNTLMv2Auth; BOOL bHostMSDfs; @@ -456,12 +456,12 @@ static const struct enum_list enum_smb_signing_vals[] = { {SMB_SIGNING_SUPPORTED, "1"}, {SMB_SIGNING_SUPPORTED, "On"}, {SMB_SIGNING_SUPPORTED, "enabled"}, - {SMB_SIGNING_SUPPORTED, "auto"}, {SMB_SIGNING_REQUIRED, "required"}, {SMB_SIGNING_REQUIRED, "mandatory"}, {SMB_SIGNING_REQUIRED, "force"}, {SMB_SIGNING_REQUIRED, "forced"}, {SMB_SIGNING_REQUIRED, "enforced"}, + {SMB_SIGNING_AUTO, "auto"}, {-1, NULL} }; @@ -939,7 +939,7 @@ static void init_globals(void) do_parameter("load printers", "True"); do_parameter("max mux", "50"); - do_parameter("max xmit", "65535"); + do_parameter("max xmit", "12288"); do_parameter("lpqcachetime", "10"); do_parameter("DisableSpoolss", "False"); do_parameter("password level", "0"); @@ -1006,7 +1006,7 @@ static void init_globals(void) do_parameter("name cache timeout", "660"); /* In seconds */ do_parameter("client signing", "Yes"); - do_parameter("server signing", "Yes"); + do_parameter("server signing", "auto"); do_parameter("use spnego", "True"); |