LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba not accessible (https://www.linuxquestions.org/questions/linux-newbie-8/samba-not-accessible-370604/)

tyrie 10-07-2005 07:46 AM

Samba not accessible
 
Hi All,
I have configured samba on Fedora Core 4, from my windows machine I can see the samba server, I can log in with user and password (iam not sure why I need this as the smb.conf should be open to all, but if i dont i cant see anything).
I can brows the 2 shared folders and the printer, but if I click on the shared folders to drill down i get a message "\\samba\test is not accessible. You might not have permissions to use this network resource".
The file permissions for this share are 777 open to all, If i put in a knoppix 3.9 cd and run the samba service no problems at all, i can do as i please. The SUfirewall is disabled, iptables report zero entries, ipchains says no service running.
I can ping either machine from either machine. if I do nmblookup ... it returns the ip of the XP box.

Any help would be great as I am tearing my hear out.

[Global]
workgroup = HER02
netbios name = samba
dns proxy = no
preferred master = yes

[test]
path = /mnt/sda1/test
comment = test file
browsable = yes

Thanks in advance

Ty
PS if i take the smb.conf from knoppix and place it in fedora it dont work at all.

Tino27 10-07-2005 01:55 PM

Try this link ... it has some additional info you might be missing.

http://hr.uoregon.edu/davidrl/samba.html

tyrie 10-08-2005 07:58 AM

Thanks Tino27, I have tried everything on that web site, I could open the new folder it created, but again could not read or write to it or the others as access is denied.

Any other hints ?

TexasDevilDog 10-08-2005 02:13 PM

Quote:

Originally posted by tyrie
Thanks Tino27, I have tried everything on that web site, I could open the new folder it created, but again could not read or write to it or the others as access is denied.

Any other hints ?

logged on as root?

check the mode of the files with a "ls -l" command. The modes are on the far left of the screen, deals with read write access of root, user, group and execute bit. pull up a man page on chmode with "man chmode" if the mode is not set to allows access to it.

tyrie 10-13-2005 07:57 AM

Thanks Texas, this did show that the access was not as I had expected to see it, but still did not help with the problem. I have now done a completely fresh install of FC4, I used swat to set up the share etc but still I can only see the samba box and the shares titles listed in the samb.conf, I cant actually get into the shares and read or write to them, just comes up with the same error as posted in the opening of this thread.
I was wondering if my network may have something to do with it. I use a Cisco ADSL router / modem for my network and it is set to DHCP so there are no wins servers etc, but the machines still browse ok and I can see the others no problems.

manishsingh4u 10-13-2005 08:28 AM

Hi,
I am using Fedora Core 1. I was also having the same problem with samba. But after a fresh installation, it is working fine. I don't know if u have set up the 'security = share' , 'public = yes' , guest ok = yes' options in the /etc/samba/smb.conf file. I am new to it but that's all what I did to make it work.
manish


All times are GMT -5. The time now is 08:22 PM.