Modifying share.rb

modem7
Posts: 193
Joined: Tue Mar 20, 2012 6:00 pm

Modifying share.rb

Postby modem7 » Sat Jul 14, 2018 6:35 am

Hey guys,

Due to share.rb script deleting my samba modifications for speed, authentication etc, I thought I'd edit it, but for some reason the changes aren't being reflected.

Here's what I've added:

"# custom settings generated on #{Time.now}",
"\tmin receivefile size = 16384",
"\tuse sendfile = yes",
"\taio read size = 16384",
"\taio write size = 16384",
"\taio write behind = yes",
"\tread raw = yes",
"\twrite raw = yes",
"\tuse sendfile = Yes",
"\tntlm auth = yes",
"\tserver signing = No",
"\tsocket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072",

https://paste.fedoraproject.org/paste/K ... RIQZkHfew/

Thoughts as to why these settings aren't being copied across?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests