[Samba] Fw: PDC/wins on multiple networks

Gaiseric Vandal gaiseric.vandal at gmail.com
Fri Mar 25 12:52:38 MDT 2011


I haven't used the remote annouce or wins proxy  feature-  I think that 
is for a samba server on one subnet to relay wins stuff to the Samba 
WINS server on another subnet.

The simplest thing is probably to have all clients-  regardless of 
subnet-  point to a single WINS server.  Your wins server should have 
"wins server=yes"  but don't use wins proxy.


It looks like remote announce is to make a samba server on one subnet  
show up on another subnet    that doesn't help the other machines see 
each other across subnets.

Alternately I THINK you can have a samba server configured a  wins 
server on one subnet (wins support=yes_ , and then have the samba server 
on the 2nd subnet configured as a wins client/wins proxy (wins proxy=yes 
, wins server = IP-of-the-wins-server.)

The "wins server" param is used to tell the machine to be a client of 
the specified wins server.



On 03/25/2011 02:38 PM, tms3 at tms3.com wrote:
>
>>
>> Hi,
>>
>>
>> The pc that runs the samba server is my own property, it also dubs as 
>> router and dhcp server. I assign WINS server to the clients by dhcp 
>> using dnsmasq. I do not need or want to setup a domain. I just want 
>> to share files between the two networks using windows neighborhood 
>> and a workgroup, just like the clients would have been connected in 
>> the same network.
>>
>> I have deleted the "remote anounce" thingy but the error is the same: 
>> "The network path could not be found"
>
> WINS needs to be set up correctly.
>>
>>
>>
>> Maybe something has to do with the firewall? can you tell me which 
>> ports to open and their direction ?
>
> Ports 137, 138, 139, and 445 should be sufficient.
>>
>>
>>
>>
>> ---------------------------------------------------------------------------------------------------------------------------------- 
>>
>>
>>
>> ..  Microsoft broke the Volkswagen world record: Volkswagen only made 
>> 22 million bugs!
>>
>>
>> ..  It is time for us to stand and cheer for the doer, the achiever, 
>> the one who recognizes the challenge and does something about it.
>> -Vince Lombardi
>>
>>
>> ..  Everybody can learn how to make kids, but not everyone can raise 
>> them right!
>>
>>
>> ________________________________
>> From: Daniel Müller <mueller at tropenklinik.de>
>> To: Gala Dragos <gala_dragos at yahoo.com>
>> Cc: samba list <samba at lists.samba.org>
>> Sent: Thursday, March 24, 2011 11:24 PM
>> Subject: Re: [Samba] PDC/wins on multiple networks
>>
>> Hi,
>> you have a (Samba)domain server and it is your wins?
>> You just to have an entry in your win xp clients wins-server:
>> YourSambaWinsServer.Enable Netbios over TCP
>> ..
>> That is all. No: remote announce = 192.168.5.255/WORKGROUP
>> 192.168.7.255/WORKGROUP
>> This is working for me with 3 subnets.
>>
>> On Thu, 24 Mar 2011 13:25:41 -0700 (PDT), Gala Dragos
>> <gala_dragos at yahoo.com> wrote:
>>>
>>> Hi to everyone on the mailing list.
>>>
>>> I have two networks at home, apart from the internet. One is the wired
>>> network, LAN, and the other is the wireless network, WLAN. They need to
>>> be separated, not bridged, because of hardware issues.
>>>
>>> I am trying to setup inter-networking browsing on these networks, pc's
>> on
>>>
>>> LAN should see and browse pc's on WLAN
>> and viceversa.
>>>
>>>
>>> After reading the manual I have enabled wins server master and wins
>> proxy
>>>
>>> in samba configuration. However I can only see the pc's from the other
>>> network, but I cannot
>>> browse them, windows returns an error like "network path could not be
>>> found".
>>>
>>> The samba server runs on my router box, together with the firewall
>>> (managed through shorewall) and dnsmasq for dhcp/dns.
>>>
>>>
>>> Below is my global smb.conf part.
>>>
>>> [global]
>>>         server
>>>  string = Samba Server
>>>         interfaces = eth1, lo, wlan0
>>>         bind interfaces only = Yes
>>>         security = SHARE
>>>         log file = /var/log/samba/%m.log
>>>
>>         max log size = 50
>>>
>>>         announce as = NT Workstation
>>>         os level = 99
>>>         lm interval = 10
>>>         preferred master = Yes
>>>         domain master = Yes
>>>         wins proxy = Yes
>>>         wins support = Yes
>>>         remote announce = 192.168.5.255/WORKGROUP
>>>  192.168.7.255/WORKGROUP
>>>         create mask = 0666
>>>         case sensitive = No
>>>         preserve case = No
>>>         short preserve
>> case = No
>>>
>>>         hide special files = Yes
>>>         map hidden = Yes
>>>         store dos attributes = Yes
>>> Thanks.
>>>
>>>
>>>
>> ---------------------------------------------------------------------------------------------------------------------------------- 
>>
>>>
>>>
>>>
>>> .  Microsoft broke the Volkswagen world record: Volkswagen only made 22
>>> million bugs!
>>>
>>>
>>> .  It is time for us to stand and cheer for the doer, the achiever, the
>>> one who recognizes the challenge and does something about it.
>>> -Vince Lombardi
>>>
>>>
>>> .  Everybody can learn how to make kids, but not everyone can raise 
>>> them
>>> right!
>>
>>
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>



More information about the samba mailing list