Help - Search - Members - Calendar
Full Version: Samba 3.0.2a Patched On Mandrake10.0 Question
Linuxhelp > Support > Technical Support
jbreaux
Hello! I'm trying to run an anonymous file/print server behind my firewal (accessible only to eth1 connections).
I'm running Mandrake Linux 10.0 official and samba 3.0.2a (latest drake rpm avail)
Specifics of the smb.conf are listed at the end of the message.

Starting Point:
I can see the share from within Linux shell (smbclient -L localhost) and it looks fine. It's also visible under "system tools-mount points-samba mounts"

Problem description:
My XP box, with the same Workgroup name, is unable to see the server.

Differential Problem list:

**Firewall or proxy is killing connections.

Since I can't ping the box without the connection being refused (from the LAN to the server) I'm assuming it's a problem with the iptables firewall. How do I allow all connections that come from eth1 (within the private LAN) to proceed to talk with the server undisturbed?

Of all the weirdness, I can ping the external IP on the server from the XP machine - - but not 192.168.1.1 (eth1)

Thanks in advance for your patience and help.

-jbreaux

P.S. Post-Script, literally, eh?

[global]
workgroup=blah
netbios name=carpenguin
server string=carpenguin lives!
security=share
hosts allow=192.168.1.0/24 192.168.2.0/24 127.0.0.1 192.168.0.0/24
hosts deny=0.0.0.0/0
interfaces=eth1 lo
bind interfaces only = yes
show add printer wizard = yes
load printers = yes
printing = cups
guest account = cjstation <--- has privs to the pointed share [data]
log file = /usr/local/samba/var/log.%m
max log size=50
socket options=tcp_nodelay
dns proxy = NO

[printers]
comment=all printers
path=/var/spool/samba
browseable=yes
public=yes
guest ok=yes
writable=yes
printable=yes

[data]
comment=Data
force user=cjstation
force group=users
read only=no
path=/mnt/windows
public=yes
guest ok=yes

whew!
jbreaux
snip
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.