Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th October 2012, 05:08 AM
StephenRan Offline
Registered User
 
Join Date: Sep 2012
Location: Earth
Posts: 6
linuxfirefox
Trouble configuring samba shares

Alright so I'll start off by saying I really have very little idea of what I'm doing here. I've read a lot of user guides on the issue and it seems to address a lot of problems that i'm not having, and all I want is very basic use information.

Here's my goal: I want to share a harddrive containing videos and music with my home network. There are a few windows machines and one mac that I want to share with (unfortunately I'm the only linux user).

I've managed to get samba and swat running, and I can access it from localhost:901.
I'm fairly certain that I've configured shares correctly. Under swat I can go to Shares>choose share(public) and it shows the location of the harddrive (run/media/myusername/Video) and it even shows the option "available: yes".

Now when I got to status here's what I have:
Quote:
smbd: running
nmbd: running
winbindd: not running (and it will not turn on even if I tell it to start)
Under all categories "active connections", "active shares", and "open files" there is nothing.
I assume that If I was sharing correctly it would list my shares under active shares, correct?


Now here's a question that for some reason I could just not find an answer to anywhere: how do I access the share from windows? I saw plenty of troubleshooting pages for this, but all i want to know is: if I have everything configured correctly, should i be able to just automatically see the share in my network locations?
Do I have to point a browser to my ipaddress to view it? what port should it access?

If I have to add the share manually how do I do that? (from windows)

If there's any troubleshooting I should do from another computer, i can get a vitrual machine running linux to help test things too.

Thanks for any help, I know I'm a newb here, but I just couldn't find the basic info I need to get things running, only more advanced troubleshooting information.

---------- Post added at 10:08 PM ---------- Previous post was at 09:05 PM ----------

Update: I was able to solve one problem at least.


I added the line
Quote:
name resolve order = bcast host lmhosts wins
to the config file and when I run
Quote:
net view /domain
on my windows computer I can now see the following :


Quote:
BUTTERSGROUP
MYGROUP
WORKGROUP
before I changed the name resolve order I could not see buttersgroup. (which was the name of my workgroup on samba).

What bothers me is that I changed the name of the workgroup back to workgroup and restated all services, it still sees buttersgroup.

Now my question is, if I try and map a network drive it tells me to put in a folder in the format \\server\share

if my samba workgroup is named WORKGROUP and my netbios name is MYHAUS, should I be putting in
"\\WORKGROUP\MYHAUS" ?
When I click on browse I can choose "MYHAUS" (it's listed for me), but I still always get the error that the network location cannot be found, please make sure you spelled it correctly etc etc.

I am so confused here.
Reply With Quote
  #2  
Old 9th October 2012, 02:41 AM
Doug G Offline
Registered User
 
Join Date: Jul 2005
Posts: 640
linuxfirefox
Re: Trouble configuring samba shares

Quote:
if I have everything configured correctly, should i be able to just automatically see the share in my network locations?
Yes, as long as file & printer sharing is enabled on the windows machine.
__________________
======
Doug G
======
Reply With Quote
  #3  
Old 9th October 2012, 03:00 AM
StephenRan Offline
Registered User
 
Join Date: Sep 2012
Location: Earth
Posts: 6
windows_7chrome
Re: Trouble configuring samba shares

Ended up being a few issues. I needed to rename the share to the name of my computer, change the server string to being with %h, and most importantly configure permissions for the ntfs drives I was trying to share. I guess that even though I had set permissions for everyone to access them, NTFS drives (apparently) ignore that and use their own set of permissions. When I forced user to butters (me) other users were finally able to access the drives.
Reply With Quote
Reply

Tags
configuring, samba, shares, trouble

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 shares available only after OKing them in Samba server config tool gizenshu Servers & Networking 1 1st October 2010 06:08 PM
NFS, trouble in setting up shares ifouane Servers & Networking 1 23rd January 2008 10:20 PM
NFS shares and samba together scotta3234 Servers & Networking 5 16th September 2006 11:27 PM
Samba: Windows boxes can't access my FC2 Samba shares iontyre Servers & Networking 13 26th October 2004 04:49 PM


Current GMT-time: 10:58 (Wednesday, 22-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