[Samba] Master Browser for VPN
michael.kunze at gmx.de
Tue Oct 14 13:07:08 GMT 2003
I'm trying to get SAMBA working with a VPN setup. Let my explain what i
have and what i need:
On a server i've got PoPtoP (www.poptop.org) running. As soon as someone
connects to that vpn i get a new network interface on the server like
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.100.1 P-t-P:192.168.100.100
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7089 (6.9 Kb) TX bytes:1625 (1.5 Kb)
Obviously the vpn server ip is 192.168.100.1 and the client got the .100
the next client gets a second interface with the .101 ip and so on.
Now i need to get a simple SAMBA server running. (at least this is what
all the how-to's are telling)
This is my smb.conf:
workgroup = LOCAL
wins support = yes
preferred master = yes
domain master = yes
local master = yes
hosts allow = 192.168.100.0/255.255.255.0 127.
interfaces = lo ppp*
As you can see this conf-file suggests that SAMBA should keep the
browslist for all vpn interfaces.
If i start the samba server i get the following error message:
Oct 13 18:56:46 [nmbd] [2003/10/13 18:56:46, 0]
Oct 13 18:56:46 [nmbd] collect_all_workgroup_names_from_wins_server:_
Oct 13 18:56:46 [nmbd] Cannot find my workgroup LOCAL on subnet
Now i know i think it's because samba won't listen to non broadcast able
interfaces. So this is problem number 1.
The second problem is that the nmbd shuts itself down when all vpn
clients disconnect because there are no more interfaces to listen to:
Oct 13 19:37:14 [nmbd] reload_interfaces: No subnets to listen to.
All How-To's say it's easy to setup but i think i searched at least half
the internet or i'm just using the wrong searchwords for google.
Are there any guys with a simular setup who are willing to tip me into
the right direction?
More information about the samba