public
Description: Mount samba shares
Homepage:
Clone URL: git://github.com/kremso/smbmounter.git
kremso (author)
Mon Jun 15 13:35:47 -0700 2009
commit  81ab256628ac764511006aa34d5b5da214260e82
tree    1a8ed5667ce63c89c0e92e6688656b659b9f794d
name age message
file README Loading commit data...
file smbmounter
README
Info
-----

This script mounts samba shares. It's intended to be used as
a firefox protocol handler for smb://
It may however be used from any application which supports
protocol handlers or terminal.

Dependencies: smbclient, mount.cifs

You can see it in action here: http://www.youtube.com/watch?v=t58Y_GXT9WM

Instructions 
-------------

mount.cifs needs to run as root, so modify /etc/sudoers and set
passwordless permission for either mount.cifs or this script

This is the sample line that will alow this for members of the
wheel group.

  %wheel        ALL=NOPASSWD: /sbin/mount.cifs

Firefox protocol HOWTO:
-----------------------

In firefox open about:config and create new _boolean_ property

   network.protocol-handler.external.smb = true

and new string property

    network.protocol-handler.app.smb

Leave this one empty -- for now. Click on some smb link, the format
should be smb://hostname_or_ip/
The dialog will popup asking for external application to launch.
Select this script and check "Remember".

It currently doesn't work with firefox 3.5b4. It is not the issue with 
this script, but rather with how to set it as firefox protocol handler.