Fedora Linux Support Community & Resources Center
Old 7th May 2011, 05:32 AM
ar17787 Offline
Registered User
Join Date: May 2011
Posts: 5
SAMBA issues

hey guys

I'm new to the forums so be nice, o and I've been using fedora for all of a week so be even nicer.

Basically I have found a really old (15 years) computer which I am effectively using as an ethernet card for a 1.5 terabyte seagate external hard drive formatted in fat32. I have also been meaning to try linux and fedora for quite some time and thought why not do it on a computer I can break. Needless to say I have had a lot of fun and consulted the forum numerous times and they generally have fixed the problems, for which i owe you my thanks.

however, there is one thing I am struggling with and just can't find the answer for, it is SAMBA. for some reason it has decided to not allow access to any computer outside of local. I have tried everything the forum has said

umask -> can't find parameter in fstab
force user -> for some reason still won't allow me in

my smb.conf set up is as follows

workgroup = WORKGROUP
server string = SambaServer
security = share
name resolve order = hosts lmhosts

path = /media/BACKUPFILES
force user = Andrew
force group = Andrew
read only = no
guest ok = yes

I know it is incredibally insecure but that doesn't worry me I want quick access more than i want security the internal network is prity secure with just mine and my girlfriends computer

I should probably mention it is sharing to both a MAC OS and Windows computer hence why I have to use SMB it is the one common denominator.

I hope this is the right place to post this if not please direct me to where I should

thanks in advance
Reply With Quote
Old 7th May 2011, 01:52 PM
glennzo Offline
Un-Retired Administrator
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 58
Posts: 15,175
Re: SAMBA issues

Did you allow samba through the firewall?

Try this for your backup drive.
PHP Code:
comment Backup disk
public = yes
Then run testparm. There should be no errors. After that, restart samba.
PHP Code:
su -'service smb restart'
su -'service nmb restart' 
See if you can access the share. Give it a minute or two also.
The Bassinator
© ®
Reply With Quote
Old 8th May 2011, 01:46 AM
ar17787 Offline
Registered User
Join Date: May 2011
Posts: 5
Re: SAMBA issues

All firewalls are already off

the smb.conf ran through testparm fine no errors but when I go onto mac or windows still get the permissions problem.

I have read it might have something to do with the way linux mounts fat drives but i can't work out how to change the permissions the drive doesn't exist in fstab for some reason

something else quite random i just noticed is that the drive info says it was accessed and modified on the 1/1/1970 at 10????? the clock on fedora and the bios have the correct date

thanks so much for your help

---------- Post added 8th May 2011 at 10:46 AM ---------- Previous post was 7th May 2011 at 11:35 PM ----------

just re read the post and realised I'd said something wrong, i can see the computer with the other computers but when i try to access the drive it says there are insufficient permissions on windows and that it doesn't exist on mac os ive checked the path and i have checked all smb conf stuff i could find, still nothing.
Reply With Quote
Old 9th May 2011, 02:30 AM
Doug G Offline
Registered User
Join Date: Jul 2005
Posts: 640
Re: SAMBA issues

Did you add your windows username and password to samba using smbpasswd? Or, depending on your windows version and settings, you may be connecting as the guest user over the network, and I'm not sure how you configure samba for guest user access.

I did a little more looking, apparently you can configure a guest user account in samba somewhere. I normally use user security, and with share security you probably don't need smbpasswd.
Doug G

Last edited by Doug G; 9th May 2011 at 02:32 AM.
Reply With Quote
Old 9th May 2011, 02:43 AM
doctorwhite Offline
Registered User
Join Date: May 2005
Posts: 108
Re: SAMBA issues

Is selinux enabled? You really shouldn't turn off the firewall. What are the permissions on the folder you are sharing?
Fedora 14 x86_64 - Lenovo Thinkpad T400
Reply With Quote
Old 9th May 2011, 05:42 AM
ar17787 Offline
Registered User
Join Date: May 2011
Posts: 5
Re: SAMBA issues

i have turned off selinux and i know i shouldn't disable the firewalls the plan was to get it talking without the firewalls on and then close them and let smb through.

the problems with permissions on a fat 32 external drive i think are the main culprit here i go into fstab to change the permissions and it doesn't exist tho, i try and change the permissions in the GUI and it won't let me just changes it back. so I'm stumped. I have a friend who works for red hat coming over tomorrow so we will sit down and try and work it out together and I will post the solution on here thanks so much for your help guys and if you think of anything im more than willing to try when i get a chance
Reply With Quote
Old 10th May 2011, 12:22 PM
ar17787 Offline
Registered User
Join Date: May 2011
Posts: 5
Re: SAMBA issues

ok ended up being a combination of problems. Had to turn of selinux properly (apparently I hadn't done it properly) and mount the drive with proper root permissions. hope this helps anyone else that has the same problem. but it now works properly in both mac and windows after a mac reboot
Reply With Quote

samba, smb, smb.conf, windows file sharing

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 Issues offnetrob Servers & Networking 11 27th December 2006 08:26 AM
Basic Samba Issues? JakReloaded Servers & Networking 2 4th November 2006 11:46 AM
Samba issues miguelon Servers & Networking 6 31st October 2006 07:15 AM
Samba Issues DDows Servers & Networking 0 18th March 2006 08:10 PM

Current GMT-time: 03:38 (Saturday, 10-10-2015)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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