LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-18-2006, 05:48 AM   #1
Missing_QuarK
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora and Xubuntu
Posts: 3

Rep: Reputation: 0
Cannot open files, Samba


Hello,
I have just installed Fedora for use as a server, i have gone through all the steps in the help files and what i can find online but i cant seem to get access into the specific file. I can open up the network place from my windows xp machine but when i try to access its contents i get an error telling me that 'address' is not accessible...no permission.
Initially i thought that the file permissions were set to root but i changed it to the user and also allowed all permissions. Still no luck

I have another drive in the same computer with a debian server, which also has samba on it (never running at same time). When i switch to this system I can access this drive from my windows xp computer.WHat am i doing wrong??

Any help is appreciated
 
Old 12-18-2006, 06:33 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
still not enought info to help btw could you send the output of

$ testparm

and your smb.conf file just the share part

or have u added user for samba ?
 
Old 12-18-2006, 06:56 AM   #3
Missing_QuarK
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora and Xubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
I have made a user named cole as you can see in the following outputs, however the server is used at home so security is not the highest issue.

[root@penguin2 ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Core]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MSHOME
server string = Samba Server
guest account = cole
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
guest ok = Yes
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[Core]
comment = Core area for server files
path = /home/cole/Core
valid users = cole
read only = No

And here is the Share definitions of the samba.conf file. I have removed all the commented stuff.

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no

[Core]
comment = Core area for server files
path = /home/cole/Core
writeable = yes
browseable = yes
valid users = cole

I hope this is enough, thanks for your help.
 
Old 12-18-2006, 08:24 AM   #4
Missing_QuarK
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora and Xubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
I managed to get it working, this post helped me.

http://forums.fedoraforum.org/forum/...920#post707920

It seemed SELinux was stopping access. Now ive got to figure out what SELinux does?
 
Old 12-18-2006, 09:20 AM   #5
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
glad to hear that .
i totally disable selinux for all my office desktop workstation,
i not found this usefull for my network btw its great if you want to learn about it,
might be usefull for public server
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I open appleworks files (.cwk) in open office? mkpovak Linux - Desktop 1 08-08-2006 04:03 AM
how to open files from a network server from open office or any apps reycapoy Linux - Software 4 01-26-2006 07:00 PM
SAMBA server status of open files error LinuxRam Linux - Networking 0 09-10-2004 05:52 AM
Samba domain server 95/98 cannot open files cstuff Linux - Networking 2 08-03-2004 02:22 PM
SAMBA: Too many files open causing error valsus Linux - Software 1 04-29-2004 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration