If you're having problems connecting to a Samba share (ie switching to a workspace on a Samba share), you may need to disable locking in Eclipse. Yesterday on my iMac, every time I tried to create a workspace on a Samba share I was trying to connect to on the local network, I got errors about the workspace being in use. After a lot of digging around, here's my solution:
You need to edit the eclipse.ini file. On my Mac, Eclipse is in the Applications folder. So,
vi /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
I added the following line to the end of the file:
-Dosgi.locking=none
After restarting Eclipse I had no more issues with file locking or the workspace being busy.