Re: [Samba] Netbios over VPN

2012-07-08 Thread L . P . H . van Belle
maybe because the name : john_laptop is not RFC. 
try changing it to : john-laptop and test again. 

read : http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names 

in short : While a hostname may not contain other characters, such as the 
underscore character (_), other DNS names may contain the underscore.[2] 

Systems such as DomainKeys and service records use the underscore as a 
means to assure that their special character is not confused with hostnames

Louis


>-Oorspronkelijk bericht-
>Van: andr...@aimsystems.ca 
>[mailto:samba-boun...@lists.samba.org] Namens Andrew Mark
>Verzonden: 2012-07-05 16:30
>Aan: samba@lists.samba.org
>Onderwerp: [Samba] Netbios over VPN
>
>I am attempting to utilize BackupPC on a Fedora 14 server to 
>backup a remote client.
>As I understand, it's primary mechanism for finding clients is 
>performing a nmblookup 
>This works fine for computers connected to the local network.
>My issue is extending ?Samba's? search to encompass our other 
>network - the point-to-point VPNs
>Using OpenVPN, we have a number of road warriors who connect 
>their VPN to gain access to the samba server.
>Each has a unique static IP address in the 10.30.251 range and 
>when connected, I can find them but not samba
>i.e.
>#> ping john_laptop
>--- john.inspirah.com ping statistics ---
>3 packets transmitted, 3 received, 0% packet loss, time 2001ms
>rtt min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms
>
>#> nmblookup john_laptop
>querying john_laptop on 127.255.255.255
>querying john_laptop on 10.30.7.255
>name_query failed to find name john_laptop
>
>How to I configure Samba or whatever Linux service is 
>necessary to query the 10.30.251.255 network as well
>
>-- 
>
>Cheers, 
>
>
>Andrew Mark | Development Analyst | www.aimsystems.ca 
>local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961 
>12-350 Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada 
>
>
>-- 
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>

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


Re: [Samba] Netbios over VPN

2012-07-08 Thread Daniel Müller
This is right. Openvpn does the job perfectly fine here connecting our far
away office in our network and Samba-Domain. 

---
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Ben Metcalfe
Gesendet: Montag, 9. Juli 2012 01:35
Cc: samba@lists.samba.org
Betreff: Re: [Samba] Netbios over VPN

Additionally on Sebastian's point:

http://openvpn.net/index.php/open-source/faq/75-general/293-what-is-the-prin
ciple-behind-openvpn-tunnels.html

"People who are running applications that need the special features of
ethernet (which won't work on an IP-only network) will often bridge their
physical local ethernet with a tap device (using a utility such as brctl on
Linux), then VPN the tap device to another similar setup at the other end.
This allows OpenVPN to route ethernet broadcasts and non-IP protocols such
as Windows NetBios over the VPN..."

-Ben.

On 8 July 2012 23:27, Bob Miller  wrote:

> Hello,
>
> I believe you can use WINS to solve this problem.  It's been a while, 
> my neurons may be rusty, but I had a similar set up using openswan.  I 
> believe winbind will do what you want; configure samba to use winbind 
> and your road warriors with that as their wins server.  If I remember 
> correctly, the road warriors will register with the winbind server, 
> then everyone on the network configured to use the winbind server 
> should be able to find them...
>
> Check here for better information (or at least a place to start):
>
>
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrow
> sing.html#id2585378
>
>
> On Thu, 2012-07-05 at 10:30 -0400, Andrew Mark wrote:
> > I am attempting to utilize BackupPC on a Fedora 14 server to backup 
> > a
> remote client.
> > As I understand, it's primary mechanism for finding clients is
> performing a nmblookup 
> > This works fine for computers connected to the local network.
> > My issue is extending ?Samba's? search to encompass our other 
> > network -
> the point-to-point VPNs
> > Using OpenVPN, we have a number of road warriors who connect their 
> > VPN
> to gain access to the samba server.
> > Each has a unique static IP address in the 10.30.251 range and when
> connected, I can find them but not samba
> > i.e.
> > #> ping john_laptop
> > --- john.inspirah.com ping statistics ---
> > 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt 
> > min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms
> >
> > #> nmblookup john_laptop
> > querying john_laptop on 127.255.255.255 querying john_laptop on 
> > 10.30.7.255 name_query failed to find name john_laptop
> >
> > How to I configure Samba or whatever Linux service is necessary to 
> > query
> the 10.30.251.255 network as well
> >
> > --
> >
> > Cheers,
> >
> >
> > Andrew Mark | Development Analyst | www.aimsystems.ca
> > local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961 12-350 
> > Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada
> >
> >
>
> --
> Bob Miller
> 867-334-7117 / 867-633-3760
> http://computerisms.ca
> b...@computerisms.ca
> Network, Internet, Server,
> and Open Source Solutions
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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


Re: [Samba] Netbios over VPN

2012-07-08 Thread Ben Metcalfe
Additionally on Sebastian's point:

http://openvpn.net/index.php/open-source/faq/75-general/293-what-is-the-principle-behind-openvpn-tunnels.html

"People who are running applications that need the special features of
ethernet (which won't work on an IP-only network) will often bridge their
physical local ethernet with a tap device (using a utility such as brctl on
Linux), then VPN the tap device to another similar setup at the other end.
This allows OpenVPN to route ethernet broadcasts and non-IP protocols such
as Windows NetBios over the VPN..."

-Ben.

On 8 July 2012 23:27, Bob Miller  wrote:

> Hello,
>
> I believe you can use WINS to solve this problem.  It's been a while, my
> neurons may be rusty, but I had a similar set up using openswan.  I
> believe winbind will do what you want; configure samba to use winbind
> and your road warriors with that as their wins server.  If I remember
> correctly, the road warriors will register with the winbind server, then
> everyone on the network configured to use the winbind server should be
> able to find them...
>
> Check here for better information (or at least a place to start):
>
>
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2585378
>
>
> On Thu, 2012-07-05 at 10:30 -0400, Andrew Mark wrote:
> > I am attempting to utilize BackupPC on a Fedora 14 server to backup a
> remote client.
> > As I understand, it's primary mechanism for finding clients is
> performing a nmblookup 
> > This works fine for computers connected to the local network.
> > My issue is extending ?Samba's? search to encompass our other network -
> the point-to-point VPNs
> > Using OpenVPN, we have a number of road warriors who connect their VPN
> to gain access to the samba server.
> > Each has a unique static IP address in the 10.30.251 range and when
> connected, I can find them but not samba
> > i.e.
> > #> ping john_laptop
> > --- john.inspirah.com ping statistics ---
> > 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
> > rtt min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms
> >
> > #> nmblookup john_laptop
> > querying john_laptop on 127.255.255.255
> > querying john_laptop on 10.30.7.255
> > name_query failed to find name john_laptop
> >
> > How to I configure Samba or whatever Linux service is necessary to query
> the 10.30.251.255 network as well
> >
> > --
> >
> > Cheers,
> >
> >
> > Andrew Mark | Development Analyst | www.aimsystems.ca
> > local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961
> > 12-350 Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada
> >
> >
>
> --
> Bob Miller
> 867-334-7117 / 867-633-3760
> http://computerisms.ca
> b...@computerisms.ca
> Network, Internet, Server,
> and Open Source Solutions
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Netbios over VPN

2012-07-08 Thread Bob Miller
Hello,

I believe you can use WINS to solve this problem.  It's been a while, my
neurons may be rusty, but I had a similar set up using openswan.  I
believe winbind will do what you want; configure samba to use winbind
and your road warriors with that as their wins server.  If I remember
correctly, the road warriors will register with the winbind server, then
everyone on the network configured to use the winbind server should be
able to find them... 

Check here for better information (or at least a place to start):

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2585378


On Thu, 2012-07-05 at 10:30 -0400, Andrew Mark wrote:
> I am attempting to utilize BackupPC on a Fedora 14 server to backup a remote 
> client.
> As I understand, it's primary mechanism for finding clients is performing a 
> nmblookup 
> This works fine for computers connected to the local network.
> My issue is extending ?Samba's? search to encompass our other network - the 
> point-to-point VPNs
> Using OpenVPN, we have a number of road warriors who connect their VPN to 
> gain access to the samba server.
> Each has a unique static IP address in the 10.30.251 range and when 
> connected, I can find them but not samba
> i.e.
> #> ping john_laptop
> --- john.inspirah.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
> rtt min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms
> 
> #> nmblookup john_laptop
> querying john_laptop on 127.255.255.255
> querying john_laptop on 10.30.7.255
> name_query failed to find name john_laptop
> 
> How to I configure Samba or whatever Linux service is necessary to query the 
> 10.30.251.255 network as well
> 
> -- 
> 
> Cheers, 
> 
> 
> Andrew Mark | Development Analyst | www.aimsystems.ca 
> local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961 
> 12-350 Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada 
> 
> 

-- 
Bob Miller
867-334-7117 / 867-633-3760
http://computerisms.ca
b...@computerisms.ca
Network, Internet, Server,
and Open Source Solutions

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


Re: [Samba] Netbios over VPN

2012-07-08 Thread Sebastian Suchanek

Am 05.07.2012 16:30, schrieb Andrew Mark:

I am attempting to utilize BackupPC on a Fedora 14 server to backup a remote 
client.
As I understand, it's primary mechanism for finding clients is performing a nmblookup 

This works fine for computers connected to the local network.
My issue is extending ?Samba's? search to encompass our other network - the 
point-to-point VPNs
Using OpenVPN, we have a number of road warriors who connect their VPN to gain 
access to the samba server.
Each has a unique static IP address in the 10.30.251 range and when connected, 
I can find them but not samba
[...]


I presume, you're using one or more TUN device(s) on OpenVPN? If so, I 
recommend switching to TAP devices instead, if possible. Bridging should 
save you from a lot of trouble around NetBIOS/SMB.



Best Regards,

Sebastian


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


Re: [Samba] Netbios over VPN

2012-07-08 Thread kazabe
did you have the dns service enabled?




2012/7/5 Andrew Mark :
> I am attempting to utilize BackupPC on a Fedora 14 server to backup a remote 
> client.
> As I understand, it's primary mechanism for finding clients is performing a 
> nmblookup 
> This works fine for computers connected to the local network.
> My issue is extending ?Samba's? search to encompass our other network - the 
> point-to-point VPNs
> Using OpenVPN, we have a number of road warriors who connect their VPN to 
> gain access to the samba server.
> Each has a unique static IP address in the 10.30.251 range and when 
> connected, I can find them but not samba
> i.e.
> #> ping john_laptop
> --- john.inspirah.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
> rtt min/avg/max/mdev = 9.900/14.764/24.388/6.805 ms
>
> #> nmblookup john_laptop
> querying john_laptop on 127.255.255.255
> querying john_laptop on 10.30.7.255
> name_query failed to find name john_laptop
>
> How to I configure Samba or whatever Linux service is necessary to query the 
> 10.30.251.255 network as well
>
> --
>
> Cheers,
>
>
> Andrew Mark | Development Analyst | www.aimsystems.ca
> local: 519-837-1072 | fax: 519-837-4063 | int'l 800-465-2961
> 12-350 Speedvale Ave. W. | Guelph, ON | N1H 7M7 | Canada
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba