If you are tired of this error in log:
smbd[16703]: [2009/12/13 10:26:43, 0] lib/util_sock.c:set_socket_options(237)
smbd[16703]: Unknown socket option IPTOS_LOWDELAY
you have to do a little trick on /etc/rc.dsamba to remove “IPTOS_LOWDELAY” in socket options, doing this (you can add those lines to a script and make it launched after boot, like explained in this article):
sed 's/IPTOS_LOWDELAY//' /etc/rc.d/samba > /etc/rc.d/samba2
mv /etc/rc.d/samba2 /etc/rc.d/samba
chmod +x /etc/rc.d/samba
/etc/rc.d/samba restart
That’s all.

Thanks … this was just what I needed!
FreeNAS 0.7.1 (rev 4944)
Modified /etc/rc.d/samba as suggested and it seems this solved my problem.
Thanks.
sorry,i’m not sure how to do. Just add this to samba?
sed ’s/IPTOS_LOWDELAY//’ /etc/rc.d/samba > /etc/rc.d/samba2
mv /etc/rc.d/samba2 /etc/rc.d/samba
chmod +x /etc/rc.d/samba
/etc/rc.d/samba restart
You have to create a sh script and add those lines to it.
Save it in your storage dir and add the script to
System -> Advanced -> Command scripts.
It will be executed at boot and it will fix samba configuration.
There’s another description here:
http://www.twopenguins.it/2009/12/freenas-0-7-live-how-to-install-packages-like-mldonkey/