I have some music files I'd like to listen to sitting on a Samba share. I added this share via the Ubuntu GUI (Places -> Connect to server...), and everything worked just fine.
However, despite the fact that my music file is playing from this location, after I've not touched the location using the Nautilus GUI, Ubuntu/GNOME decides that I'm not using the share anymore and terminates the connection. Thus, my music stops playing and Rhythmbox is unhappy with me. Simply clicking on the new shortcut the "Connect to server..." bit created for me immediately makes the files come back again and allows me to restart the music playing.
How can I have Ubuntu not automatically dismount samba shares?