Created
June 5, 2017 16:13
-
-
Save dbsanfte/30770e53915aceed11eeb9f964ba2655 to your computer and use it in GitHub Desktop.
smb.conf with performance tweaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See smb.conf.example for a more detailed config file or | |
| # read the smb.conf manpage. | |
| # Run 'testparm' to verify the config is correct after | |
| # you modified it. | |
| [global] | |
| workgroup = SAMBA | |
| security = user | |
| passdb backend = tdbsam | |
| printing = cups | |
| printcap name = cups | |
| load printers = yes | |
| cups options = raw | |
| strict allocate = Yes | |
| allocation roundup size = 4096 | |
| read raw = Yes | |
| write raw = Yes | |
| strict locking = No | |
| socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 | |
| min receivefile size = 16384 | |
| use sendfile = Yes | |
| aio read size = 16384 | |
| aio write size = 16384 | |
| [homes] | |
| comment = Home Directories | |
| valid users = %S, %D%w%S | |
| browseable = No | |
| read only = No | |
| inherit acls = Yes | |
| [printers] | |
| comment = All Printers | |
| path = /var/tmp | |
| printable = Yes | |
| create mask = 0600 | |
| browseable = No | |
| [print$] | |
| comment = Printer Drivers | |
| path = /var/lib/samba/drivers | |
| write list = root | |
| create mask = 0664 | |
| directory mask = 0775 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment