How do you automatically mount a Samba share?

Shawn Milo ShawnMilo at runbox.com
Wed Sep 22 16:28:16 UTC 2004


> Unfortunately XFM is completely written from scratch by Xandros.
> 
> You can do something similiar in Gnome by selecting Computer -> Networks
> -> Go, and entering in smb://server/share.
> 
> However, this is not mapped to a particular directory.  If you want to
> map to a directory you can do "smbmount" through a console.
> 
> Do google smbmount and it will give you all the info you need ;)
> 
> Cheers,
> 
> Colin
> 

I know how to do it from the command line, but I want the shares to
automatically mount to directories under my home directory every time
I log on. Also, I want to be prompted for the password, unless it is the
same password I am using to log on to Ubuntu.

Do not tell me to add the lines to fstab -- it is bad practice to hard-code
passwords like that. What is the "proper" way to do this in Ubuntu? The
way a "desktop user" should be able to do it, without having to resort
to the command line?

Thank you,
Shawn





More information about the ubuntu-users mailing list