Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd May 2004, 01:30 AM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
Accessing Windows Shared Folders

I am new to Linux. I just installed Fedora. I am able to see my Windows XP shared folders and the files in them. However, when I click on a file I get this msg.:

"The default action can't open . . . because it can't access files at "smb" locations. No other actions are available to view this file. If you copy this file onto your computer, you may be able to open it."

What do I need to do? Like I say I am very new to Linux. I would appreciate any help.
__________________

Rick
Reply With Quote
  #2  
Old 3rd May 2004, 01:59 AM
Bana's Avatar
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 26
Posts: 581
Are you using Gnome or KDE? I remember having this problem with Gnome (Nautilus) but I don't remember how to fix it (sorry).
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
Reply With Quote
  #3  
Old 3rd May 2004, 10:52 AM
Paul_Vandenberg Offline
Registered User
 
Join Date: Feb 2004
Location: Canada
Posts: 344
Hi,

You either need to copy the file locally and then open it or install linneighborhood. It can be downloaded from http://dag.wieers.com/packages/linne....dag.i386.rpm.

This program allows you to mount Windows' Shares as if they are local directories.

Paul
Reply With Quote
  #4  
Old 5th May 2004, 12:54 AM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
Thanks! I installed Linneighborhood and I was able to access my files.
__________________

Rick
Reply With Quote
  #5  
Old 6th May 2004, 12:39 AM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
Using Linneighborhood I am able to mount my Windows XP share folder if I am logged in as root. If I am logged in under my name I get the following error msg:

smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1
__________________

Rick
Reply With Quote
  #6  
Old 6th May 2004, 12:56 AM
Paul_Vandenberg Offline
Registered User
 
Join Date: Feb 2004
Location: Canada
Posts: 344
As root in a terminal, enter these 2 commands.....
chmod u+s /usr/bin/smbmnt
and
chmod u+s /usr/bin/smbumount

Sorry....I forgot to mention that. Also, these commands only need to be entered once.

Regards....Paul
Reply With Quote
  #7  
Old 6th May 2004, 01:28 PM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
So what do these command mean/do? Do they need to be entered every time I reboot?
__________________

Rick
Reply With Quote
  #8  
Old 6th May 2004, 01:35 PM
Paul_Vandenberg Offline
Registered User
 
Join Date: Feb 2004
Location: Canada
Posts: 344
I'm no expert, but I think these commands allow the smbmnt and smbumount programs to be run as if you were 'root', even though you are not. Not sure what the security implications are, but I didn't want to have my kids sign on as 'root' on my computer in order to access their folders on the Windows computer that they usually use.

No, these commands are only entered once, not everytime you reboot.

Paul
Reply With Quote
  #9  
Old 7th May 2004, 01:41 AM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
Thank you! That did the trick.
__________________

Rick
Reply With Quote
  #10  
Old 7th May 2004, 04:24 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
WARNING!

Using "suid root" (chmod u+s) is not a good practice in general. This can allow attackers/unauthorized users to gain access to the root user and really compromise your system. Be very careful where you apply changes like this!
Reply With Quote
  #11  
Old 7th May 2004, 01:02 PM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
So what would be the appropriate way to let users be able to mount shared folders?
__________________

Rick
Reply With Quote
  #12  
Old 8th May 2004, 04:49 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
One is to set up "Lisa" (in KDE). Another is to use one of many SMB and CIFS-based programs. It's not that the filesystem needs to be mounted, it's that the user needs access to it.

If I type "smb://machine/user" in Konqueror, I get access to that filesystem (after the password prompt). I can click and drag to my heart's content. I can create a desktop icon with that URL in it, and it's instantly available.

You can set up autofs to do it (I think), transparently to users. You can set SMB filesystems up in /etc/fstab. There's lots of ways to do basically the same thing.

FYI, the reason smbmount requires root access is because all changes to the mounted file systems are root-level commands.
Reply With Quote
  #13  
Old 11th May 2004, 12:36 AM
rinux Offline
Registered User
 
Join Date: May 2004
Location: Miami, FL
Posts: 24
I am not sure I understand everything you are saying. I am very new to Linux. What I would like is to be able to play mp3's and open/edit documents that I have in my WinXP share folders. What would be a simple, secure way to do this? Again keeping it simple would be the operative word. Thanks for trying to help.
__________________

Rick
Reply With Quote
  #14  
Old 11th May 2004, 03:56 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
One way to make it somewhat transparent is to set up a SMB mount point that's accessible to all users (like /mnt/windows), and (as root) mount it with smbmount. To make it automatic on boot-up, put the smbmount command in the "/etc/rc.d/rc.local" file.

This at least doesn't leave suid programs around on your system...
Reply With Quote
  #15  
Old 12th May 2004, 06:43 PM
pim Offline
Registered User
 
Join Date: May 2004
Posts: 56
Another question along thos lines. I have also posted it in "general" but it might be placed wrong there

From My Fedora Core 2 test 3 I can access alll shares on all XP boxes, however I can NOT access any shares on the W2K3 box, it's fails on authorisation but contrary to the XP's does NOT give me a logon screen

Hope somebody can help me out here
Reply With Quote
Reply

Tags
accessing, folders, shared, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba on F8 - Cannot access windows shared folders tx836519 Servers & Networking 1 12th December 2008 06:56 PM
accessing shared folders on fedora 8 ryan461 Using Fedora 0 8th April 2008 10:36 PM
Windows shared folders via Gnome voodoodoc Using Fedora 3 3rd March 2008 09:22 PM
Windows Shared Folders webdude Installation and Live Media 7 2nd April 2006 03:56 AM


Current GMT-time: 17:10 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat