Fedora 6 Samba Server Access Issue


I'm having issues viewing samba shares on a linux box from an xp client. I'm running Fedora Core 6 as the samba server (version 3.x.x). I am able to view the share names in windows, however, if I try to further access the shares I get the following after attempting to log in:

"\\\myshare-data is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The network name cannot be found"

I've set up a user account in linux, and then set up the corresponding user in samba via smbpasswd. I've also changed the permissions on the directories being shared to 777 to be sure it wasn't a permissions issue. I have attached my smb.conf here for reference:

#======================= Global Settings =====================================

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = mydomain

# server string is the equivalent of the NT Description field
   server string = Samba Server

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
   security = user

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes
# This option tells cups that the data has already been rasterized
cups options = raw

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
;   passdb backend = tdbsam

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
   dns proxy = no

#============================ Share Definitions ==============================
   comment = Home Directories
   browseable = yes
   writable = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
   comment = All Printers
   path = /usr/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

path = /var/www/webdev
browseable = yes
valid users = timmy

Thank you
Who is Participating?
BiTRaTE2600Author Commented:
I just found the problem. When I installed FC6 I did not disable SE Linux, which was causing the problems. I disabled SE Linux in /etc/selinux/config and everything now works fine.

Gabriel OrozcoSolution ArchitectCommented:
you are trying to access

while you only have shared

so you need to look for

Also if you are having troubles with user/permissions it would be good to start with all permissions, then tight them. you can try with adding this line:
force user = timmy
and once everything works you can delete that line and test your permissions

BiTRaTE2600Author Commented:
Sorry, I messed up the post a bit. The error message I typed should have mentioned www-data instead of myshare-data. So that wouldn't be a source of the problem.

No luck with force user = timmy either. I thought "force user" was to force file ownership if a file was added to that particular share? If that is the case, then this shouldn't have any effect on whether I can browse the share. I've tried leaving out the user entirely with no luck. I also tried "public=yes", which I believe makes it readable by anyone with no luck.

Any other ideas?

Thanks much for your response!
Closed, 500 points refunded.
Community Support Moderator
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.