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 |
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 ? |
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. |
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? |
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 :) |
All times are GMT -5. The time now is 04:25 AM. |