In Linux, as a client, we don't have MSGINA (MS graphical identification 'n authentication, yeehaw!). So there exists no method to push scripts to the Linux client at authentication by way of the SMB/CIFS stack. But we do have Samba to thank for the ability to push scripts to the client upon access of a resource...this is key and I'll explain.
This means that we can push or '
preexec' the script(s) that I included at the bottom of the howto. After all my preparation in the howto, knowing you you'd love the instructional howto and that bananas are your favorite, I didn't add the script in an unusual mood just so you'd have a
jumper cake.
The reason to consider using gvfs for the user shares is multi-faceted. First, it is tied to the user's directory structure so the shares are private even in a multi-session or headless environment. Second, the mount points don't require sudo level access to mount. Third, gvfs takes care of the permission structure for the mount so the users sees them as his own, even if they are not. Fourth, the mount points disappear when the user logs off. In a word, scalable.
Getting rid of the network browser from the menu is not necessary because accessing it requires some user interaction that reeks of nerdiness and if they grok it, more's the better....but, if you have a link established to their very basic home directory on the server in their 'bookmarks', then authentication (which can be stored on their keyring) and access (this is the bit that triggers samba magic) can apply whatever script you care to run on the client. This can mount other drives, install software, push proxy settings, or force the user to have a particular
home page for their browser.
Oh, and don't worry about us while you are on holiday. We'll just be staying up late eating cold, day old, cheap pizza in our dimly lit rooms coding til all hours of the wee morning while the taskmasters beat us senseless with old VHS recordings of Star Trek and Dr. Who while we make all the magic things that will make your life that much easier upon your blissful return. ;P