Skip to content

Instantly share code, notes, and snippets.

@dmay-work
dmay-work / SMB-Speed
Last active September 9, 2019 02:21
Speed up Samba (SMB) share access/browsing from Mac OSX
# Disclaimer: Results may vary. May not be suitable/desirable for some setups.
# Tested with Windows network shares and Mountain Lion
# Start your favorite shell app (or Terminal.App in /Applications) and type the following command:
sudo sysctl -w net.inet.tcp.delayed_ack=0
# Create a file called "edu.mit.Kerberos" with the following contents
# and copy it to /Library/Preferences/ (you will need Administrator privileges):
<script>
lp.jQuery(function($) {
var ruleID = 'notWebmail';
var field = 'email';
var message = 'Please enter your work mail address.';
var rules = module.lp.form.data.validationRules[field];