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 20th August 2009, 08:30 AM
mickwombat Offline
Registered User
 
Join Date: Apr 2006
Posts: 124
windows_xp_2003firefox
Samba share setup, not quite working

Hi,

I am trying to setup a PC with Samba that can be accessed from both Linux & XP machines.
I have set it all up and see the shares from both Linux & Windows.

What I would like to do is have a seperate partition for things like samba shares, ftp etc, and I created the share accordingly with SWAT.

When I try to open the shares I created, it says 'Unable to mount' & in XP it says 'Drive not available'. When I try to open the folders that Samba creates by default, it keeps asking for password and it always fails. Samba config is below, but I'm thinking that the path value in the [USER] & [GROUPS] section needs to be changed.

I don't need to access Home drives or anything fancy (at this stage), just want anyone at home to access & use the /everyone folder and myself to use the /mick folder.

Any ideas

Quote:
[global]
security = SHARE
map to guest = Bad User
printcap name = cups
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
wins support = Yes
usershare allow guests = Yes
admin users = mick
cups options = raw
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

[/share/samba/everyone]
comment = everyone
path = /share/samba/everyone
read only = No
guest ok = Yes
hosts allow = 192.

[/share/samba/mick]
comment = Mick
path = /share/samba/mick
valid users = mick
read only = No
Thanks
Reply With Quote
  #2  
Old 20th August 2009, 09:11 AM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
linuxopera
Hello mickwombat

I assume that you have arranged for access through the Fedora firewall, but have you dealt with SELinux which will block all attempts to access samba shares until modified.

There is an SELinux management tool on the Adminisration menu. Try setting it to Permissive and re-lable and reboot the machine. If that fixes your problems we can talk about more fine grained application of SELinux later.

I also assume by the way that you have your workgrup set in Samba? I don't see the entry in your smb.conf.
Reply With Quote
  #3  
Old 20th August 2009, 09:13 AM
mickwombat Offline
Registered User
 
Join Date: Apr 2006
Posts: 124
windows_xp_2003firefox
Hi there,
Thanks for the reply. I have firewalls turned off on both server & client. The are both in the same workgroup. The server appears in the Network place on both linux & XP. I just can't browse through the folders.
Cheers
Reply With Quote
  #4  
Old 20th August 2009, 09:34 AM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
linuxopera
Hello mickwombat

Ah yes, but have you checked the SELinux part. That is completely different and separate from the Firewall?
Reply With Quote
  #5  
Old 20th August 2009, 09:39 AM
mickwombat Offline
Registered User
 
Join Date: Apr 2006
Posts: 124
windows_xp_2003firefox
SELinux is disabled. Thanks ;-)
Reply With Quote
  #6  
Old 20th August 2009, 09:52 AM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
linuxopera
Hello mickwombat

Well, we are exhausting the easy answers and you look as if you know the basics but:

Do you have Samba Users created as well as Linux Users?

Have you started the nmb service as well as the smb service? Fedora splits them now and it does catch some people out.
Reply With Quote
  #7  
Old 20th August 2009, 11:18 AM
mickwombat Offline
Registered User
 
Join Date: Apr 2006
Posts: 124
windows_xp_2003firefox
Quote:
Originally Posted by bbfuller View Post
Hello mickwombat

Well, we are exhausting the easy answers and you look as if you know the basics but:

Do you have Samba Users created as well as Linux Users?

Have you started the nmb service as well as the smb service? Fedora splits them now and it does catch some people out.
Yeah...both services are started. The server is enabled for WINS as well. I'll try and play with the config when I get home and report back. Cheers
Reply With Quote
Reply

Tags
samba, setup, share, working

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 share setup on linux clients jbkt23 Servers & Networking 5 26th January 2009 12:00 AM
Question on setup for directory share by host. su_jumptd Security and Privacy 4 9th March 2008 08:58 PM
CD-ROM Samba Share aaronro Servers & Networking 1 19th October 2005 04:52 PM
FC2 and samba share mnguyen EOL (End Of Life) Versions 2 21st September 2004 12:15 PM


Current GMT-time: 19:47 (Thursday, 23-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