[Samba] Samba wont join a work group behind iptables doing dnat ....
Mark Carey
m.carey at mech.canterbury.ac.nz
Tue Feb 4 02:30:52 GMT 2003
Hi,
I have Samba running on a Linux box with a non-routable IP address
(192.168.y.y), I have a second Linux box with a real world IP 132.x.x.x
doing destination network address translation (dnat) using iptables
forwarding all incoming traffic tcp and udp ports 137 through 139 to the
box with samba running on it (192.168.y.y).
I am unable to get my samba machine (192.168.y.y) to appear in a
workgroup on the 132.x.x.x network. The [globals] section of my
smb.conf file looks like this,
workgroup = ADMIN
netbios name = jersey
netbios aliases = santacruz
server string = Samba Server
encrypt passwords = Yes
username level = 3
log file = /var/log/samba/log.%m
max log size = 5
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
preferred master = False
local master = No
domain master = False
dns proxy = No
remote announce = 132.x.x.a/ADMIN 132.x.x.b/ADMIN
hide unreadable = Yes
hide dot files = Yes
Notes
1. The 'netbios name' is the name of the samba server as reported by
hostname the 'netbios alias' is the name of the machine on the 132.x.x.x
network doing the dnat.
2. 132.x.x.a is a Microsoft Windows NT PDC, 132.x.x.b is a Microsoft
Windows NT BDC.
I have a valid logon account on the Microsoft Windows domain I am trying
to join.
Mark
--
"You don't know what you don't know!"
More information about the samba
mailing list