This is an update to my last post regarding fixing samba in OSX Lion. I have since ditched samba altogether in favour of NFS. NFS is built into OSX as standard & is a very fast unix sharing protocol. It’s quite hard to configure but thanks to a handy OSX tool called NFS Manager it couldn’t be simpler to setup. NFS is now also supported in XBMC and Firecores Media Player for ATV2 so this is a good time to get to grips with NFS & rid your life of Samba once & for all.
Ok First you need to grab a copy of NFS Manager for free & Install. Its available from NFS Manager
Drag it to your applications folder & fire it up.
Once it opens you need to click on share definitions
Click the + sign to add a definition and then use the select box to select your directory/drive to share
If you follow the options in the picture you will have a share accessible to everyone (my network is double firewalled, and the internal subnetwork is on a different subnet & IP range so it’s fine for me to use this). You can also set directories as Read Only but this will stop you being able to delete from within XBMC. This is the simplest setup available & best to get you started with XBMC & NFS sharing.
you may also want to click the show advanced options and select to allow mounting of any sub folder, great for XBMC
you need to set the -N option in /System/Library/LaunchDaemons/com.apple.nfsd.plist as below – this allows you to connect from XBMC (needs to be added to allow Non Root users to connect).
Once everything is setup you will want to restart NFS for your changes to take effect
sudo nfsd restart
Now in XBMC you can add the share. Click add share, and then click on the zeroconf button. Your computer name should appear with NFS next to it, click the your computer & select the share. That is it, you are ready to go. Sharing with NFS is great, buffering is much quicker & directory browsing much snappier. Now you can rid your life of buggy SMB hacks once & for all.