Browsing network shares

I wanted a way to browse network shares without having to mount them first or resorting to clunky guis like nautilus. So I worked out how to do it using autofs. The engine behind this being the two scripts for NFS and Samba. Combined with a standard autofs setup that references them I can just browse shares by visiting "/smb/$MACHINENAME/" and then tab-completion works from there.