<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: cipe-l,AT,inka,DOT,de
Subject: Samba through cipe tunnel
From: Sven Broeckling <sven,AT,broeckling,DOT,de>
Date: Tue, 15 Jul 2003 12:02:13 +0200

Hi,

during the past weeks i tried to set up a network through a cipe tunnel, building a vpn to some road warriers. With few words, the tunnel is etablished, and at the tcp/ip level everything works fine.

NET A : 192.168.0.0/26
NET B : 192.168.102.0/26
trans-net : 192.168.101.0/26

in ascii-art, it looks like this:

eth0:192.168.0.5
    +-----------+ cipcb0:192.168.101.1             +----------+ eth0:
    | router A  | ------>>--------------->>------- | router B | 192.168.
    +-----------+             cipcb0:192.168.101.2 +----------+    102.1

router B holds a Samba Domain, and theres another smb pdc at 192.168.0.1. Both are DMB for their Domains. The Clients log on to their Domains.

This is the point where my problem begins. Due to i don't want to pass broadcasts through the tunnel, the lookup of Names doesn't really seem to work. I tried the following :

PDC A (192.168.0.1)
  remote announce = 192.168.102.1
  remote browse sync = 192.168.102.1

PDC B (192.168.102.1)
  remote browse sync = 192.168.0.1
  remote announce = 192.168.0.1

but all i get is this : (log.nmbd)

[2003/07/11 17:15:01, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(158)
sync_with_dmb:
Initiating sync with domain master browser DEEPSPACE1<20> at IP 192.168.102.1 for workgroup DOMAINB
[2003/07/11 17:30:10, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(119)
[2003/07/11 17:30:10, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(158)
sync_with_dmb:
Initiating sync with domain master browser DEEPSPACE1<20> at IP 192.168.102.1 for workgroup DOMAINB
[2003/07/11 17:45:15, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(119)
[2003/07/11 17:45:15, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(158)
sync_with_dmb:
Initiating sync with domain master browser DEEPSPACE1<20> at IP 192.168.102.1 for workgroup DOMAINB


So it seems that samba announces to the wrong pdc. My workaround is to let samba lookup Names against dns (which works correct) :

dns proxy = yes

May it be that i missunderstood the samba documentation? My entries for remote announce seem correct...
Any Hints? Maybe a complete different solution?


TIA
  Sven

--
Sven Broeckling                    /"\
sven,AT,broeckling,DOT,de                 \ /  ASCII Ribbon Campaign
http://www.broeckling.de            x   Say NO to HTML in email and news
+49 173 9723208                    / \  Please don't send .doc files


<< | Thread Index | >> ]    [ << | Date Index | >> ]