Feb
12

DNS-323 - Hacking Samba for a friendlier Mac Experience

Filed Under (DNS-323) by Chris on 12-02-2009

As one site pointed out, the Samba server can be optimized a bit for Macs by just adding: “large readwrite = no” to the global section of the smb.conf file.  Now at first take that looks easy but…. it gets overwritten each time the device is booted.

A simple modification of the fun_plug can make everything better:

Find the line “cd /” and add the following:

if [ -e /mnt/HD_a2/smb.conf ]; then
  	cp /mnt/HD_a2/smb.conf /etc/samba/smb.conf
  	smb restart
else
  	cp /etc/samba/smb.conf /mnt/HD_a2/smb.conf
fi


Post a Comment
Enter this code
Name:
Email:
Website:
Comments: