From 024f9f719d0fab082ad2af3dc39d6fb66fb06bb9 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 28 May 2018 09:51:20 -0500 Subject: [PATCH] roles/samba: Remove socket options The `socket options` directive does not need to be specified in `smb.conf`. I think I copied it from an example many years ago, and never bothered to remove it. It is definitely not required, most likely not helping performance at all, and most likely hindering it. --- roles/samba/templates/smb.conf.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/samba/templates/smb.conf.j2 b/roles/samba/templates/smb.conf.j2 index 7539552..0ad2f1c 100644 --- a/roles/samba/templates/smb.conf.j2 +++ b/roles/samba/templates/smb.conf.j2 @@ -20,8 +20,6 @@ security = {{ samba_security }} {% endfor %} {% endif %} -socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 - printing = bsd printcap name = /dev/null load printers = no