vagy
2013-Feb-24 11:34 UTC
[Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS
Hi, i am about to implement cross subnet browsing/sharing and I was wondering if the following configuration would do it, so i would like your opinion: 1. There are two subnets separated by a simple router (no firewalls) 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts. 3. Each subnet will have its own Samba3 LMB (but not DMB) and its own samba4WINS server. Each client host in each subnet will be DHCP configured with their respective WINS server. The LMB will also be configured to use the samba4WINS server. 4. The two samba3 LMB servers will "remote browse sync" with each other. Thats how the browse lists will be exchanged. 5. The two samba4WINS servers will replicate with each other. Thats how the host names will be exchanged. Do you think that will turn out to be a working configuration? Cheers, - vagy
TAKAHASHI Motonobu
2013-Feb-24 15:36 UTC
[Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS
From: vagy <vagy at freemail.gr> Date: Sun, 24 Feb 2013 13:34:37 +0200> i am about to implement cross subnet browsing/sharing > and I was wondering if the following configuration > would do it, so i would like your opinion: > > 1. There are two subnets separated by a simple router (no firewalls) > > 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts. > > 3. Each subnet will have its own Samba3 LMB (but not DMB) > and its own samba4WINS server. Each client host in each subnet > will be DHCP configured with their respective WINS server. > The LMB will also be configured to use the samba4WINS server. > > 4. The two samba3 LMB servers will "remote browse sync" with each other. > Thats how the browse lists will be exchanged. > > 5. The two samba4WINS servers will replicate with each other. > Thats how the host names will be exchanged. > > Do you think that will turn out to be a working configuration?As far as I examined, "remote browse sync" did not work as I expected. Sample smb.conf that I examined the behavior is: ----- [global] workgroup = SAMBAxx domain master = yes wins support = yes remote browse sync = x.x.x.x ----- Samba has to be WINS server and DMB. --- TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo facebook.com/takahashi.motonobu
Daniel Müller
2013-Feb-25 07:06 UTC
[Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS
NO, you do not need remote browse sync if you have samba4wins working. And you need only following to make it work in your LMB smb.conf wins server = your.samba4wins.host If your smaba4wins is on the same host as your LMB, put this is your samba4wins Samba4wins.conf: bind interfaces only=yes interfaces=your.samba4wins.ip (suggestion use a virt ip not used by samba) ntpd:disable_broadcast=yes wins server=your.samba4wins.ip In your windows clients network configuration set wins1 your first samba4wins and wins2 the second samba4wins. ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von TAKAHASHI Motonobu Gesendet: Sonntag, 24. Februar 2013 16:37 An: vagy at freemail.gr Cc: samba at lists.samba.org Betreff: Re: [Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS From: vagy <vagy at freemail.gr> Date: Sun, 24 Feb 2013 13:34:37 +0200> i am about to implement cross subnet browsing/sharing and I was > wondering if the following configuration would do it, so i would like > your opinion: > > 1. There are two subnets separated by a simple router (no firewalls) > > 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts. > > 3. Each subnet will have its own Samba3 LMB (but not DMB) and its own > samba4WINS server. Each client host in each subnet will be DHCP > configured with their respective WINS server. > The LMB will also be configured to use the samba4WINS server. > > 4. The two samba3 LMB servers will "remote browse sync" with each other. > Thats how the browse lists will be exchanged. > > 5. The two samba4WINS servers will replicate with each other. > Thats how the host names will be exchanged. > > Do you think that will turn out to be a working configuration?As far as I examined, "remote browse sync" did not work as I expected. Sample smb.conf that I examined the behavior is: ----- [global] workgroup = SAMBAxx domain master = yes wins support = yes remote browse sync = x.x.x.x ----- Samba has to be WINS server and DMB. --- TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo facebook.com/takahashi.motonobu -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
vagy
2013-Feb-25 21:20 UTC
[Samba] Cross-subnet browsing with LMBs + remote browse sync + samba4WINS
On Mon, 25 Feb 2013 09:06:50 +0200, Daniel M?ller <mueller at tropenklinik.de> wrote:> NO, you do not need remote browse sync if you have samba4wins working. > And you need only following to make it work in your LMB smb.conf > wins server = your.samba4wins.host > If your smaba4wins is on the same host as your LMB, put this is your > samba4wins > Samba4wins.conf: > bind interfaces only=yes > interfaces=your.samba4wins.ip (suggestion use a virt ip not used by > samba) > ntpd:disable_broadcast=yes > wins server=your.samba4wins.ip > > In your windows clients network configuration set wins1 your first > samba4wins and wins2 the second samba4wins. > > > ----------------------------------------------- > EDV Daniel M?ller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 T?bingen > > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: mueller at tropenklinik.de > Internet: www.tropenklinik.de > ----------------------------------------------- > -----Urspr?ngliche Nachricht----- > Von: samba-bounces at lists.samba.org > [mailto:samba-bounces at lists.samba.org] Im > Auftrag von TAKAHASHI Motonobu > Gesendet: Sonntag, 24. Februar 2013 16:37 > An: vagy at freemail.gr > Cc: samba at lists.samba.org > Betreff: Re: [Samba] Cross-subnet browsing with LMBs + remote browse > sync + > samba4WINS > > From: vagy <vagy at freemail.gr> > Date: Sun, 24 Feb 2013 13:34:37 +0200 > >> i am about to implement cross subnet browsing/sharing and I was >> wondering if the following configuration would do it, so i would like >> your opinion: >> >> 1. There are two subnets separated by a simple router (no firewalls) >> >> 2. Each subnet will have a mixture of Win7/WinXP and Linux hosts. >> >> 3. Each subnet will have its own Samba3 LMB (but not DMB) and its own >> samba4WINS server. Each client host in each subnet will be DHCP >> configured with their respective WINS server. >> The LMB will also be configured to use the samba4WINS server. >> >> 4. The two samba3 LMB servers will "remote browse sync" with each other. >> Thats how the browse lists will be exchanged. >> >> 5. The two samba4WINS servers will replicate with each other. >> Thats how the host names will be exchanged. >> >> Do you think that will turn out to be a working configuration? > > As far as I examined, "remote browse sync" did not work as I expected. > Sample smb.conf that I examined the behavior is: > > ----- > [global] > workgroup = SAMBAxx > domain master = yes > wins support = yes > remote browse sync = x.x.x.x > ----- > > Samba has to be WINS server and DMB. > > --- > TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo > facebook.com/takahashi.motonobu > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Hi Daniel, do you mean that since there is gonna be a samba4WINS in each subnet, the browse lists from each subnet will get exchanged between the two samba4WINS, so there is no need for the two LMBs (my 4. point) to "remote browse sync" between them? I had the impression that WINS servers just map NETBIOS names to IP addresses and that WINS clients just resolve names through them, at least according to http://technet.microsoft.com/en-us/library/cc775524(v=ws.10).aspx , there is no mention there about the browse lists. Can you please elaborate? Cheers, - vagy