LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-24-2005, 05:03 AM   #1
brianread
LQ Newbie
 
Registered: May 2005
Location: West Lancashire, UK
Posts: 9

Rep: Reputation: 0
Accessing network shares


I am running a linux SMEServer (www dot contribs dot org) on my network of Windoze PCs, and have added a Suse 9.3 desktop system, running KDE

One thing I have not yet understood is how to set it up so that a network share (through Samba) is accessible through the open dialog in (e.g) open office. I can get a shortcut to the share on the desktop using the KdeNet... thing, but cannot open documents on the network through File/Open in Open office, I can only do it by double clicking the document from the desktop konqueror window.

TIA
 
Old 05-24-2005, 05:41 AM   #2
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Why don't you just mount the share in your /etc/fstab?
 
Old 05-24-2005, 05:51 AM   #3
brianread
LQ Newbie
 
Registered: May 2005
Location: West Lancashire, UK
Posts: 9

Original Poster
Rep: Reputation: 0
Yes I can see that I could do that, but I am experimenting with Linux as a desktop as an alternative to Windoze, so I'd rather some more friendly (e.g GUI) way to do it.
 
Old 05-24-2005, 05:54 AM   #4
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Ok, enjoy.
 
Old 05-24-2005, 09:07 AM   #5
brianread
LQ Newbie
 
Registered: May 2005
Location: West Lancashire, UK
Posts: 9

Original Poster
Rep: Reputation: 0
ok, I've seen how to move the network share icons onto the desktop, and they also appear in the "network" tab for the open office open dialog.

However they don't seem to be "mounted" in the way I would expect, thus (e.g) there is no way to use Firefox to pick up a bookmark file off the network, so you have to copy the file to the local system first.

Also There does not seem to be anywhere where I can supply a samba username and password which is used by default, which means I end having to put in the username and password every time. I am sure I did this with Suse 9.2 when I tried it about 6 months ago.
 
Old 05-24-2005, 09:22 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I am not sure if this can be handled by submount. As far as I understand, you would like to access the network share through a folder icon, but it should be mounted on demand. Like equinox suggested, this can be done with an entry in /etc/fstab. However this will not mount on demand. But I wonder if one could use submount (submount mounts a device as soon as the mountpoint is accessed), e.g. like this:

Code:
//remote/share    /local/mount  subfs   fs=smbfs,username=tridge,password=foobar
I have no idea if this would work, it's probably a stupid idea. Note that the password will be in plain text.

EDIT: OK, it was a stupid idea! Please ignore, it doesn't work.

Last edited by abisko00; 05-24-2005 at 09:31 AM.
 
Old 05-24-2005, 09:32 AM   #7
brianread
LQ Newbie
 
Registered: May 2005
Location: West Lancashire, UK
Posts: 9

Original Poster
Rep: Reputation: 0
I'm not too worried about "on demand", but I am worried about the ability of a naive user (ex windoze) to set it up, and also whether it will ask for a username/password every time.
 
Old 05-24-2005, 09:50 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
It won't ask for a password if you specify it in /etc/fstab, or /etc/samba/smbfstab (the later one is more secure since it can be protected against normal users viewing it). Also the syntax if fairly easy. It has to be done once for each share, so it's not too much typing to do.
 
Old 05-25-2005, 01:30 AM   #9
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
And if security is an issue you can just create a credentials file. So instead of specifying the username and password explicitly all you do is create the credentials file in root's home directory and add that to your /etc/fstab.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Windows Shares careyd Linux - Networking 3 12-01-2005 03:18 PM
Accessing Shares from windows z9_87 Linux - Networking 1 02-07-2005 07:35 PM
Accessing Windows Shares haroldopaulino Linux - Networking 1 08-17-2004 11:01 PM
Accessing other default shares siddharth Linux - Networking 2 08-29-2003 11:26 AM
Accessing shares chrismagnuss Linux - Networking 1 10-02-2001 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration