summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/smb_signing.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-30 01:22:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:03 -0500
commitad8c4ae941047aa7409ff0d8d10de721f5ff0659 (patch)
treec322013370a69f6c6f1476da9e5fffe45f8d117c /source4/libcli/raw/smb_signing.c
parent08e30a51f8e75cb5bf9485ba847a9b3c1c7fb9b8 (diff)
downloadsamba-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/libcli/raw/smb_signing.c')
-rw-r--r--source4/libcli/raw/smb_signing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/smb_signing.c b/source4/libcli/raw/smb_signing.c
index e1d7b071f2..2a0c64f598 100644
--- a/source4/libcli/raw/smb_signing.c
+++ b/source4/libcli/raw/smb_signing.c
@@ -394,6 +394,7 @@ BOOL smbcli_init_signing(struct smbcli_transport *transport)
transport->negotiate.sign_info.allow_smb_signing = False;
break;
case SMB_SIGNING_SUPPORTED:
+ case SMB_SIGNING_AUTO:
transport->negotiate.sign_info.allow_smb_signing = True;
break;
case SMB_SIGNING_REQUIRED: