[CentOS] Mapping to Samba

Tue Aug 28 20:01:27 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On 8/28/07, Scott Moseman <scmoseman at gmail.com> wrote:
> Using GUI methods (read: easy for most users), is there a way to map
> to a Samba share and have it accessible to all applications?  Going
> through Nautilus I'm able to create a link to the shares, but they're
> not accessible from many applications.  And, obviously, this is going
> to be something that changes per user (different mappings, different
> credentials, etc), so I can't use a static mapping on the machines.  I
> could live with /etc/fstab entries if they could be dynamically
> adjusted based on the user that's logging into the system.
>
> How do other people handle this situation?

I cannot think of an easy solution for this.  But use of autofs might
help.  It dynamically mounts shares and you may be able to set up
credential files per user or occasion.  See the wiki:

http://wiki.centos.org/TipsAndTricks/WindowsShares

for howto mount Windows shares using autofs.

Akemi