samba in a separated subnat again

Blair Sutton/Odey B.Sutton at
Mon Feb 19 09:36:40 GMT 2001

If the clients are windows boxes change the wins server setting to the IP 
address of your samba server ( You may also
need to import an lmhosts file with the following entry:-    samba         #PRE #DOM:<YOUR_DOMAIN> #NOFNR     "<YOUR_DOMAIN>        \0x1b"      #PRE

replacing <YOUR_DOMAIN> with the domain you have chosen. This seems to 
work with NT/95 boxes on Samba 2.0.7.

Hope it helps.

Mester Ákos <mester at>
Sent by: samba-admin at
19/02/2001 08:52

        To:     <samba at>
        Subject:        samba in a separated subnat again

Hi all!!!

I replay my message, if zou don't understand what I want, please tell me
what is not clear!!!
Please if zou have any idea, tan tell it to me

So I have a very big problame. I can't imagine what I do wrong. Maz be it 
not samba probame, maybe firewall. I hope someone have met with my 

Our network looks like this small draw

l195.16.25.58        l-----Internet
l192.168.50.254   l-----downstair(192.168.50/254)
l192.168.41.254   l-----office(192.168.41/24)
l192.168.60.254   l-----Sales(192.168.60/24)
l192.168.30.254   l-----Samba server( one machin on this 

So smb.conf include the follow important lines

  remote announce =
  hosts allow = 192.168.
  preferred master = yes
  domain master = yes
  domain logons = yes
  logon script = %u.bat
  wins support = yes

I tought that it will working, if I give the remothe announce and the wins
support but it dosen't do it.

On the  packet filter firewall have a rull

ipchains -A input -s -d -j ACCEPT
ipchains -A output -s -d -j ACCEPT

I think it accept every communication on all ports in all local subnet.

It is a 2.0.6 samba
If I sniff the packet on th lan adapter of samba I see that It send
netbios-dgm packet to the other subnet.
I tought trouble was that, somehow it wasn't accept the 137,138,139 ports 
I do a little bit redundant ruls I accep this port on every eth devices in
the FW
But no effect
If I Find computer on my client, I find it.
I don't know, why don't I see the server in my browse list. And the 
thing, sometimes it is appear in the browse list for half an hour after

WHILE ??????

Thenks your help

More information about the samba mailing list