Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 22:18, Craig White wrote:
 On Thu, 2004-02-26 at 21:54, Beast wrote:
  * Andrew Bartlett [EMAIL PROTECTED] nulis:
  
  
   The broadcast address is what you want, I think.  But really, you want
   a shared wins server, and a samba server on each subnet (which will
   ensure that browsing works well)
  
  One shared wins server is not possible, because if link is down then client can't 
  register to wins.
  
 
 he's telling you that you want a shared wins server because samba
 doesn't support exchange of data between wins servers - whether with
 Windows based wins servers or with samba based wins servers. Thus the
 remote announce which should be targeted at the broadcast address of
 remote subnets. The next problem then is your routers which may be
 blocking broadcasts from remote subnets - I think if you think about
 this, you can see why some might want to prevent this. Check the methods
 used in running the tunnels between the subnets and see if you can
 selective 'unblock' broadcasts.
---
actually, now that I've thought about this, I don't recall remote
announce being effective with samba based wins at remote subnets. I
think what I have done in the past for this is to put a list of wins
servers - 1 for each subnet in each windows client and this can be done
fairly simply with dhcp.

Of course, you could skip wins and just use ddns to register the dhcp
leases and resolve everything with dns and forget about wins but that is
more work.

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Andrew Bartlett
On Fri, Feb 27, 2004 at 11:32:34AM +0700, Beast wrote:
 
 
 Hi all,
 
 Which samba server should have these parameters : 
  remote announce =  
  remote browse sync = 
 
 PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should 
 be in the remote side? I'm trying to put broadcast address of remote network but did 
 not work. 

Good routers might block this, as it is a very good way to do an
amplification DOS with a spoofed source.

The broadcast address is what you want, I think.  But really, you want
a shared wins server, and a samba server on each subnet (which will
ensure that browsing works well)

Andrew Bartlett
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 21:54, Beast wrote:
 * Andrew Bartlett [EMAIL PROTECTED] nulis:
 
 
  The broadcast address is what you want, I think.  But really, you want
  a shared wins server, and a samba server on each subnet (which will
  ensure that browsing works well)
 
 One shared wins server is not possible, because if link is down then client can't 
 register to wins.
 

he's telling you that you want a shared wins server because samba
doesn't support exchange of data between wins servers - whether with
Windows based wins servers or with samba based wins servers. Thus the
remote announce which should be targeted at the broadcast address of
remote subnets. The next problem then is your routers which may be
blocking broadcasts from remote subnets - I think if you think about
this, you can see why some might want to prevent this. Check the methods
used in running the tunnels between the subnets and see if you can
selective 'unblock' broadcasts.

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast
* Andrew Bartlett [EMAIL PROTECTED] nulis:


 The broadcast address is what you want, I think.  But really, you want
 a shared wins server, and a samba server on each subnet (which will
 ensure that browsing works well)

One shared wins server is not possible, because if link is down then client can't 
register to wins.

 Andrew Bartlett
 


--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast
* Andrew Bartlett [EMAIL PROTECTED] nulis:

 On Fri, Feb 27, 2004 at 11:32:34AM +0700, Beast wrote:
  
  
  Hi all,
  
  Which samba server should have these parameters : 
   remote announce =  
   remote browse sync = 
  
  PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should 
  be in the remote side? I'm trying to put broadcast address of remote network but 
  did not work. 
 
 Good routers might block this, as it is a very good way to do an
 amplification DOS with a spoofed source.
 
 The broadcast address is what you want, I think.  But really, you want
 a shared wins server, and a samba server on each subnet (which will
 ensure that browsing works well)

I have 4 sites across WAN, each has its own NT/Samba domain and each has its own wins 
server.
1. If I put PDC as the remote target, it works for samba (will it works on NT pdc too?
2. If wins is installed on same machine as BDC, so it doesn't serve as MDB. Can I use 
this as remote target?

3. Broadcast address did not works (I already wait for 48 but never appears, with 
remote PDC it appears within less than 1 hour).

4. Can I use above parameter on many server in local site?

Second is how do I tell samba to find the DC for other site? Im trying to create trust 
but always get same error, even the PDC of remote target are already in dns and lmhost.

[EMAIL PROTECTED] root]# net rpc trustdom establish irscpk
[2004/02/27 11:44:13, 0] utils/net_rpc.c:rpc_trustdom_establish(1976)
  Couldn't find domain controller for domain IRSCPK



 Andrew Bartlett
 


Thanks.
--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast


Hi all,

Which samba server should have these parameters : 
 remote announce =  
 remote browse sync = 

PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should be 
in the remote side? I'm trying to put broadcast address of remote network but did not 
work. 


--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba