From: Arne Fitzenreiter <arne_f@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 7/9] samba: remove SO_xxxBUF size definitions from default config
Date: Mon, 05 Oct 2020 22:17:09 +0200 [thread overview]
Message-ID: <20201005201711.4259-7-arne_f@ipfire.org> (raw)
In-Reply-To: <20201005201711.4259-1-arne_f@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]
this option is not recommended for samba4
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
---
config/samba/default.global | 2 +-
html/cgi-bin/samba.cgi | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/samba/default.global b/config/samba/default.global
index 73a0ffa3c..5a6a81729 100644
--- a/config/samba/default.global
+++ b/config/samba/default.global
@@ -23,7 +23,7 @@ null passwords = yes
bind interfaces only = true
interfaces = green0 127.0.0.1
-socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
+socket options = TCP_NODELAY SO_KEEPALIVE
username level = 1
wins support = true
diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi
index 151283e7f..d88a2ee47 100644
--- a/html/cgi-bin/samba.cgi
+++ b/html/cgi-bin/samba.cgi
@@ -97,7 +97,7 @@ $sambasettings{'SYSLOGLEVEL'} = '1';
$sambasettings{'SYSLOGONLY'} = 'on';
$sambasettings{'DOSCHARSET'} = 'CP850';
$sambasettings{'UNIXCHARSET'} = 'UTF8';
-$sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE';
+$sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_KEEPALIVE';
$sambasettings{'WIDELINKS'} = 'on';
$sambasettings{'UNIXEXTENSION'} = 'off';
$sambasettings{'SMB2'} = 'on';
@@ -180,7 +180,7 @@ if ($sambasettings{'ACTION'} eq 'globalresetyes')
$sambasettings{'LOCALMASTER'} = 'off';
$sambasettings{'DOMAINMASTER'} = 'off';
$sambasettings{'PREFERREDMASTER'} = 'off';
- $sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE';
+ $sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_KEEPALIVE';
$sambasettings{'WIDELINKS'} = 'on';
$sambasettings{'UNIXEXTENSION'} = 'off';
$sambasettings{'SMB2'} = 'on';
--
2.17.1
next prev parent reply other threads:[~2020-10-05 20:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-05 20:17 [PATCH 1/9] samba.cgi: remove unsupported security = share Arne Fitzenreiter
2020-10-05 20:17 ` [PATCH 2/9] samba.cgi: remove unsupported DISPLAY CHARSET Arne Fitzenreiter
2020-10-05 20:17 ` [PATCH 3/9] samba: default.global: remove unsuppoted "map to guest = false" Arne Fitzenreiter
2020-10-05 20:17 ` [PATCH 4/9] samba initskript: create needed subdirs for pipes in /var/run/samba Arne Fitzenreiter
2020-10-05 20:17 ` [PATCH 5/9] perl-Parse-Yapp: add package Arne Fitzenreiter
2020-10-05 20:17 ` [PATCH 6/9] rpcsvc-proto: build before samba Arne Fitzenreiter
2020-10-05 20:17 ` Arne Fitzenreiter [this message]
2020-10-05 20:17 ` [PATCH 9/9] libtalloc: add new package because samba4 not provide this anymore Arne Fitzenreiter
2020-10-06 12:24 ` [PATCH 1/9] samba.cgi: remove unsupported security = share Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201005201711.4259-7-arne_f@ipfire.org \
--to=arne_f@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox