From: Theo Markettos on
I'm using XFCE4 on XUbuntu feisty on a laptop. A large number of my files
live on an SMB server, and I want to mount the SMB server on boot. But
sometimes I'm not at home and I can't reach the server.

I want a GUI tool I can run on boot that will prompt me for the share's
password, then mount the share locally. If I'm on another network I want to
click Cancel and not try to mount it.

Is there any tool that will do this? I've found piles of Network
Neighbo(u)rhood clones, but I don't want to browse the network. I know
exactly where my share is, and I don't want to have to navigate to it in
some little dialogue box to mount it every time I boot.

I have the share in /etc/fstab and I've tried using the xfce4-mount plugin,
but when I click on the share to mount nothing happens. I suspect it has no
facility for asking me for my Samba password; I don't want that password
saved anywhere on the laptop.

It seems like such a simple task that I'm failing to find anything - any
suggestions? Am happy to use GNOME-based tools since I have most of that
installed anyway.

Cheers,
Theo
From: Martin on
On Mon, 28 Jan 2008 09:14:27 +0000, Theo Markettos wrote:

> I'm using XFCE4 on XUbuntu feisty on a laptop. A large number of my
> files live on an SMB server, and I want to mount the SMB server on boot.
> But sometimes I'm not at home and I can't reach the server.
>
> I want a GUI tool I can run on boot that will prompt me for the share's
> password, then mount the share locally. If I'm on another network I
> want to click Cancel and not try to mount it.
>
> Is there any tool that will do this? I've found piles of Network
> Neighbo(u)rhood clones, but I don't want to browse the network. I know
> exactly where my share is, and I don't want to have to navigate to it in
> some little dialogue box to mount it every time I boot.
>
> I have the share in /etc/fstab and I've tried using the xfce4-mount
> plugin, but when I click on the share to mount nothing happens. I
> suspect it has no facility for asking me for my Samba password; I don't
> want that password saved anywhere on the laptop.
>
> It seems like such a simple task that I'm failing to find anything - any
> suggestions? Am happy to use GNOME-based tools since I have most of
> that installed anyway.
>
> Cheers,
> Theo

sounds like you need a kommander script (but thats a kde app) if you have
a look at http://www.kde-apps.org/content/show.php/Smb4K?content=9814 it
may be just what your looking for, unfortunatly I'm not running xfce or
ubuntu, but you could just install whats needed for you to run the
kommander script.

or use the smbclient command if it sees your home network you could then
just use smbmount command not sure if you leave out the password it would
ask for the password or not. If it works you could make it as a shell
script and put it in the startup dialogs



--
If its not broke must be Linux
From: C. on
On 28 Jan, 09:14, Theo Markettos <theom+n...(a)chiark.greenend.org.uk>
wrote:
<snip>
> I have the share in /etc/fstab and I've tried using the xfce4-mount plugin,
> but when I click on the share to mount nothing happens. I suspect it has no
> facility for asking me for my Samba password; I don't want that password
> saved anywhere on the laptop.
>
> It seems like such a simple task that I'm failing to find anything - any
> suggestions? Am happy to use GNOME-based tools since I have most of that
> installed anyway.
>

IIRC there's a PAM module which can mount (and unmount) smb shares
using your logon password - not exactly what you say you're looking
for but might be a way to solve the problem.

C.