Samba help required
I've been trying to get a Samba server going for some time now, so far it's only partially working.
I'm using FC4, and I've got samba configured and running on it, but I can't browse it remotely. I can browse it with smbclient using both 127.0.0.1 and the IP address of the machine itself. Remotely I'm trying to connect using a WinXP SP2 box (also a SuSE 10.1 laptop, but I'm not concerned with it at the moment). At first I thought it might be a router problem, but I have a Win2k3 server running on the same network and everything can connect to it just fine. (I want this Samba server to replace it eventually). I don't have the box in front of me right now, but later on this evening I will post the contents of smb.conf just in case it's an error there. In the mean time, any suggestions? |
What error/message do you get on the client when you try to browse the server?
Since you can connect to the server using loopback but not remotely, I'd suggest starting by checking the firewall (iptables??) rules on the SMB server. |
What should I do to check that?
|
On the SMB server do a:
Code:
#iptables -nvL Also, on the Zindows machine try to browse the SMB server using its IP, not the machine name. Do you get any username/password prompt? Do you get any messages at all? What are they? |
Quote:
Here is the result from iptables: Code:
I just realized I never posted smb.conf, so here it is: Code:
|
Well, it does seem like your problem is with the firewall on the SMB server.
The Samba service uses the following ports: Port 135/TCP - used by smbd Port 137/UDP - used by nmbd Port 138/UDP - used by nmbd Port 139/TCP - used by smbd Port 445/TCP - used by smbd So you'll need to open these (allow access from the INTERNAL NETWORK ONLY to these ports). For more info check out: http://us5.samba.org/samba/docs/man/...TO-Collection/ And google around for info on IPTABLES (the firewall used by FC4). |
All times are GMT -5. The time now is 07:51 PM. |