LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-26-2006, 01:22 AM   #1
reycapoy
LQ Newbie
 
Registered: Nov 2005
Location: Cebu, Philippines
Posts: 27

Rep: Reputation: 15
how to open files from a network server from open office or any apps


Hi guys. I just wanted to know if it is possible for me to open a file (e.g. an excel file) from a shared drive on a networked server from open office or from adobe reader, or any application.

why can't I see the the network browser from open office.

Just like when you are using MS Excel and want to open a file from the server.

thank you.
 
Old 01-26-2006, 05:32 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I don't know for sure but I would expect that you have to mount the shared directory from the server on the local machine. I don't know if applications such as OOo can interface directly with Samba, or if Samba can dynamically mount shares from within the application's file browse function, which is what I understand your question to mean.

Of course you could get crazy and read the manual at samba.org.

Last edited by stress_junkie; 01-26-2006 at 05:36 AM.
 
Old 01-26-2006, 05:47 AM   #3
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi reycapoy,

stress is right.

Some programs - nautilus in gnome, konqueror in kde (like most kde-progrrams) and of course the network monitor you use, e.g. - support several network protocols by themselves.

But all programs can access the filesystem provided by your os. To include network shares into your filesystem, you use the whole mount-machinery. It understands a lot of network protocols if installed properly.
If you speak of NFS shares, you can do something like
Quote:
mount serverip:/path/to/share
Mount will chose the correct subcomponent. If you want to mount a samba (windows) share, use
something like smbmount {service} {mount-point} [-o options] or mount -t smbfs -o options what where.
To see concrete options and explanation, do man smbmount and man mount.
Of course, you can put this settings into your fstab.

More comfortable and flexible are programs like smb4k. This is a kde program, that works like the windows "network neighborhood" and does the mounting work for you. Usefull in changing environments.
Another program is linneighborhood. Gnome surely has such programs, too.

Hope, this one helps a little bit.
Clemente

Last edited by Clemente; 01-26-2006 at 05:53 AM.
 
Old 01-26-2006, 08:18 AM   #4
nglbrkr
Member
 
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Blog Entries: 9

Rep: Reputation: 17
First make a mount point

mkdir /mnt/sharename
chmod 775 /mnt/sharename (or whatever permissions you want)

then edit /etc/fstab and add a line like this, all on one line, and with no spaces after the comma

Code:
//servername/sharename /mnt/sharename smbfs user,username=windowsuser,password=windowspassword,uid=yourlinuxUID,fmask=660,dmask=770 0 0
then do
mount -a

you should have an icon on your desktop now. From OOo, or any other app, when saving and opening, you need to go up until you see

/mnt

and in there you will find your windows server share mounted.

The fmask and dmask are important if you need write access to the share.

If you are concerned about the security of your windows password, then you need to replace those bits with a path to a samba credentials file. You can google for that if you need it.

Last edited by nglbrkr; 01-26-2006 at 08:52 AM.
 
Old 01-26-2006, 07:00 PM   #5
reycapoy
LQ Newbie
 
Registered: Nov 2005
Location: Cebu, Philippines
Posts: 27

Original Poster
Rep: Reputation: 15
thank you very much for all your help. i will try this one one my side.

have a nice day to all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Open Office and TIFF files? OhNoesAHause! Linux - Software 8 04-27-2009 02:50 PM
Open Office zips my files Gerry Millette Linux - Software 0 10-11-2004 03:49 PM
Open Office does not open large files linuxfond Linux - Newbie 8 09-26-2004 03:46 AM
Can Open Office open WordPerfect files hemenm Linux - Software 2 03-10-2004 05:14 PM
MS doc files in Open Office 1.0 newlin Linux - Software 2 11-23-2003 06:53 PM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration