[Samba] Remote announce
I have a Samba server on debian acting as a WINS server as well. It is the master browser and all connected machines can see and browse the network of 192.168.1.X. When I connect to this network using a L2TP VPN connection from Vista I cannot browse the network. A new interface, ppp0, is created fro the VPN connection for the new ip 192.168.1.128. The problem seems to be that all packets sent from SAMBA is sent only to eth1 (the 192.168.1.x). I tried to add remote announce= 192.168.1.128 But I don't get all the information, only one host announcement at samba startup and then nothing. Is there anything else that I need to add or could debian be confgiured to send multicast traffic on mutiple interfaces so that a broadcast (192.168.1.255) get to both eth1 and ppp0. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Remote announce
Is there anything else that I need to add or could debian be confgiured to send multicast traffic on mutiple interfaces so that a broadcast (192.168.1.255) get to both eth1 and ppp0. 192.168.1.255 is the broadcast address on 192.168.1.0/255.255.255.0 network. Your ppp0 interface is a point-to-point address 192.168.1.128/255.255.255.255 in a completely different network (despite sharing its ip address with one in your existing network). Broadcasts for one network are not going to appear on another... Cheers Alex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] remote announce issues?
All, first off thanks for any advice on this issue. Last night, my fileserver crashed on me. When i came in this morning, here is what the syslog was filled up with: May 20 21:54:26 fileserver1 nmbd[15324]: [2004/05/20 21:54:26, 0] nmbd/nmbd_packets.c:process_browse_packet(1063) May 20 21:54:26 fileserver1 nmbd[15324]: process_browse_packet: Discarding datagram from IP 192.168.1.6. Source name FILESERVER100 is one of our names ! May 20 21:57:28 fileserver1 nmbd[15324]: [2004/05/20 21:57:28, 0] nmbd/nmbd_packets.c:process_browse_packet(1063) May 20 21:57:28 fileserver1 nmbd[15324]: process_browse_packet: Discarding datagram from IP 192.168.1.6. Source name FILESERVER100 is one of our names ! May 20 22:00:28 fileserver1 nmbd[15324]: [2004/05/20 22:00:28, 0] nmbd/nmbd_packets.c:process_browse_packet(1063) May 20 22:00:28 fileserver1 nmbd[15324]: process_browse_packet: Discarding datagram from IP 192.168.1.6. Source name FILESERVER100 is one of our names ! And here is the smb.conf file global section: workgroup = WORKGROUP netbios name = FILESERVER1 server string = Main file server security = SHARE encrypt passwords = true enhanced browsing = no log file = /var/log/smb.log #max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 128 domain master = Yes remote browse sync = 192.168.12.10 192.168.62.10 preferred master = Yes local master = Yes dns proxy = yes wins support = yes wins proxy = yes name resolve order = wins lmhosts hosts bcast interfaces = 192.168.1.255/255.255.255.0 192.168.12.255/255.255.255.0 192.168.13.255/255.255.255.0 192.168.62.255/255.255.255.0 192.168.1.6/255.255.255.0 remote announce = 192.168.1.255/WORKGROUP 192.168.12.10/WORKGROUP 192.168.1.6/WORKGROUP 192.168.13.9/WORKGROUP 192.168.62.10/WORKGROUP debug level = 2 Would that error message be related to the fact that it is remote announcing to itself? Also, this server is acting as a wins server in a workgroup environment, no pdc's, 2 subnets. If anyone needs more info, please ask!! Thank you. -chris -- 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
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
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
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
* 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
* 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
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