Re: [Samba] join domain from different subnet (VPN)

2012-09-02 Thread Scott Swaim
Just a thought.  Does the firewall on the OpenVPN routers allow for the 
samba traffic?  open ports and all.  I have the same configuration.  
multiple site-to-site VPN using openVPN.  I do not have a problem 
joining to a domain that is on a remote site.  Does the smb.conf have an 
interfaces option that is limiting which networks it listens on?


Hope this helps


Scott Swaim
I.T. Specialist
TotalCare
On 8/30/2012 8:21 AM, real-men-dont-cl...@gmx.net wrote:

Hi,

I already tried that, no success.

The VPN connects two subnets via OpenVPN with dedicated routers on each side.


thx

Carsten



-Original message-
To: samba@lists.samba.org;
From:   Gaiseric Vandal gaiseric.van...@gmail.com
Sent:   Thu 30-08-2012 14:58
Subject:Re: [Samba] join domain from different subnet (VPN)

Did you try a packet capture on the samba server?

Try adding a entry for the XP machine in the server's /etc/hosts file.

I am guessing there is some sort of weird name resolution issue going on
with the server.I don't think there is any reason the server should
need to resolve the name of the client machine but I have had weird
issues with VPN connections before.

This is a site-to-site VPN?

On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:

Hello everybody,

we have a problem joining a domain from a remote location.

The remote location is connected via VPN. Everything is working as exspected

but joining the samba domain from the remote location does not work.

- Server Samba Version is 3.5.10
- Windows Client is XP SP3
- Joining the domain locally works without problems
- ping does work in both directions
- WINS is running on the local PDC and resolves across VPN (I tested with a

Linux client using nbmlookup)

- the WINS server is configured on the client
- NetBIOS over TCP/IP is enabled on the client
- Windows on the client firewall is OFF
- even adding entries to the client's lmhosts file didn't solve the problem


Any suggestions?


thx

Carsten


--
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


[Samba] join domain from different subnet (VPN)

2012-08-30 Thread real-men-dont-click
Hello everybody,

we have a problem joining a domain from a remote location.

The remote location is connected via VPN. Everything is working as exspected 
but joining the samba domain from the remote location does not work.

- Server Samba Version is 3.5.10
- Windows Client is XP SP3
- Joining the domain locally works without problems
- ping does work in both directions
- WINS is running on the local PDC and resolves across VPN (I tested with a 
Linux client using nbmlookup)
- the WINS server is configured on the client
- NetBIOS over TCP/IP is enabled on the client
- Windows on the client firewall is OFF
- even adding entries to the client's lmhosts file didn't solve the problem


Any suggestions?


thx

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


Re: [Samba] join domain from different subnet (VPN)

2012-08-30 Thread Gaiseric Vandal
Did you try a packet capture on the samba server? 

Try adding a entry for the XP machine in the server's /etc/hosts file. 

I am guessing there is some sort of weird name resolution issue going on
with the server.I don't think there is any reason the server should
need to resolve the name of the client machine but I have had weird
issues with VPN connections before. 

This is a site-to-site VPN?  

On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
 Hello everybody,

 we have a problem joining a domain from a remote location.

 The remote location is connected via VPN. Everything is working as exspected 
 but joining the samba domain from the remote location does not work.

 - Server Samba Version is 3.5.10
 - Windows Client is XP SP3
 - Joining the domain locally works without problems
 - ping does work in both directions
 - WINS is running on the local PDC and resolves across VPN (I tested with a 
 Linux client using nbmlookup)
 - the WINS server is configured on the client
 - NetBIOS over TCP/IP is enabled on the client
 - Windows on the client firewall is OFF
 - even adding entries to the client's lmhosts file didn't solve the problem


 Any suggestions?


 thx

 Carsten


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


Re: [Samba] join domain from different subnet (VPN)

2012-08-30 Thread real-men-dont-click
Hi,

I already tried that, no success.

The VPN connects two subnets via OpenVPN with dedicated routers on each side.


thx

Carsten



-Original message-
To: samba@lists.samba.org; 
From:   Gaiseric Vandal gaiseric.van...@gmail.com
Sent:   Thu 30-08-2012 14:58
Subject:Re: [Samba] join domain from different subnet (VPN)
 Did you try a packet capture on the samba server? 
 
 Try adding a entry for the XP machine in the server's /etc/hosts file. 
 
 I am guessing there is some sort of weird name resolution issue going on
 with the server.I don't think there is any reason the server should
 need to resolve the name of the client machine but I have had weird
 issues with VPN connections before. 
 
 This is a site-to-site VPN?  
 
 On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
  Hello everybody,
 
  we have a problem joining a domain from a remote location.
 
  The remote location is connected via VPN. Everything is working as 
  exspected 
 but joining the samba domain from the remote location does not work.
 
  - Server Samba Version is 3.5.10
  - Windows Client is XP SP3
  - Joining the domain locally works without problems
  - ping does work in both directions
  - WINS is running on the local PDC and resolves across VPN (I tested with a 
 Linux client using nbmlookup)
  - the WINS server is configured on the client
  - NetBIOS over TCP/IP is enabled on the client
  - Windows on the client firewall is OFF
  - even adding entries to the client's lmhosts file didn't solve the problem
 
 
  Any suggestions?
 
 
  thx
 
  Carsten
 
 
 -- 
 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] join domain from different subnet (VPN)

2012-08-30 Thread Angel Bosch
we had lot of problems with Wins and remote sites. 

be sure Wins traffic is passing. 

abosch 


- Original Message -
From: real-men-dont-cl...@gmx.net 
To: samba@lists.samba.org, gaiseric vandal gaiseric.van...@gmail.com 
Sent: Thursday, August 30, 2012 3:21:06 PM 
Subject: Re: [Samba] join domain from different subnet (VPN) 

Hi, 

I already tried that, no success. 

The VPN connects two subnets via OpenVPN with dedicated routers on each side. 


thx 

Carsten 



-Original message- 
To: samba@lists.samba.org; 
From: Gaiseric Vandal gaiseric.van...@gmail.com 
Sent: Thu 30-08-2012 14:58 
Subject: Re: [Samba] join domain from different subnet (VPN) 
 Did you try a packet capture on the samba server? 
 
 Try adding a entry for the XP machine in the server's /etc/hosts file. 
 
 I am guessing there is some sort of weird name resolution issue going on 
 with the server. I don't think there is any reason the server should 
 need to resolve the name of the client machine but I have had weird 
 issues with VPN connections before. 
 
 This is a site-to-site VPN? 
 
 On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote: 
  Hello everybody, 
  
  we have a problem joining a domain from a remote location. 
  
  The remote location is connected via VPN. Everything is working as 
  exspected 
 but joining the samba domain from the remote location does not work. 
  
  - Server Samba Version is 3.5.10 
  - Windows Client is XP SP3 
  - Joining the domain locally works without problems 
  - ping does work in both directions 
  - WINS is running on the local PDC and resolves across VPN (I tested with a 
 Linux client using nbmlookup) 
  - the WINS server is configured on the client 
  - NetBIOS over TCP/IP is enabled on the client 
  - Windows on the client firewall is OFF 
  - even adding entries to the client's lmhosts file didn't solve the problem 
  
  
  Any suggestions? 
  
  
  thx 
  
  Carsten 
 
 
 -- 
 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


[Samba] join domain from different subnet (VPN)

2012-08-30 Thread real-men-dont-click
Hi abosch,

I checked with nblookup.exe from the cleint side. WINS resolution works without 
any problems. The DC as well as the client and the domain are resolved via WINS.

;-(


thx


Carsten




-Original message-
To: real-men-dont-cl...@gmx.net; 
CC: samba@lists.samba.org; gaiseric vandal gaiseric.van...@gmail.com; 
From:   Angel Bosch abo...@cilma.net
Sent:   Thu 30-08-2012 15:27
Subject:Re: [Samba] join domain from different subnet (VPN)
 we had lot of problems with Wins and remote sites.
 
 be sure Wins traffic is passing.
 
 abosch
 
 
 
 From: real-men-dont-cl...@gmx.net
 To: samba@lists.samba.org, gaiseric vandal gaiseric.van...@gmail.com
 Sent: Thursday, August 30, 2012 3:21:06 PM
 Subject: Re: [Samba] join domain from different subnet (VPN)
 
 Hi,
 
 I already tried that, no success.
 
 The VPN connects two subnets via OpenVPN with dedicated routers on each side.
 
 
 thx
 
 Carsten
 
 
 
 -Original message-
 To:samba@lists.samba.org; 
 From:Gaiseric Vandal gaiseric.van...@gmail.com
 Sent:Thu 30-08-2012 14:58
 Subject:Re: [Samba] join domain from different subnet (VPN)
  Did you try a packet capture on the samba server? 
  
  Try adding a entry for the XP machine in the server's /etc/hosts file. 
  
  I am guessing there is some sort of weird name resolution issue going on
  with the server.    I don't think there is any reason the server should
  need to resolve the name of the client machine but I have had weird
  issues with VPN connections before. 
  
  This is a site-to-site VPN?  
  
  On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
   Hello everybody,
  
   we have a problem joining a domain from a remote location.
  
   The remote location is connected via VPN. Everything is working as 
 exspected 
  but joining the samba domain from the remote location does not work.
  
   - Server Samba Version is 3.5.10
   - Windows Client is XP SP3
   - Joining the domain locally works without problems
   - ping does work in both directions
   - WINS is running on the local PDC and resolves across VPN (I tested with 
   a 
  Linux client using nbmlookup)
   - the WINS server is configured on the client
   - NetBIOS over TCP/IP is enabled on the client
   - Windows on the client firewall is OFF
   - even adding entries to the client's lmhosts file didn't solve the 
   problem
  
  
   Any suggestions?
  
  
   thx
  
   Carsten
  
  
  -- 
  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

[Samba] join domain from different subnet (VPN)

2012-08-30 Thread real-men-dont-click
Hi,

I already tried that, no success.

The VPN connects two subnets via OpenVPN with dedicated routers on each side.


thx

Carsten



-Original message-
To: samba@lists.samba.org; 
From:   Gaiseric Vandal gaiseric.van...@gmail.com
Sent:   Thu 30-08-2012 14:58
Subject:Re: [Samba] join domain from different subnet (VPN)
 Did you try a packet capture on the samba server? 
 
 Try adding a entry for the XP machine in the server's /etc/hosts file. 
 
 I am guessing there is some sort of weird name resolution issue going on
 with the server.I don't think there is any reason the server should
 need to resolve the name of the client machine but I have had weird
 issues with VPN connections before. 
 
 This is a site-to-site VPN?  
 
 On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
  Hello everybody,
 
  we have a problem joining a domain from a remote location.
 
  The remote location is connected via VPN. Everything is working as 
  exspected 
 but joining the samba domain from the remote location does not work.
 
  - Server Samba Version is 3.5.10
  - Windows Client is XP SP3
  - Joining the domain locally works without problems
  - ping does work in both directions
  - WINS is running on the local PDC and resolves across VPN (I tested with a 
 Linux client using nbmlookup)
  - the WINS server is configured on the client
  - NetBIOS over TCP/IP is enabled on the client
  - Windows on the client firewall is OFF
  - even adding entries to the client's lmhosts file didn't solve the problem
 
 
  Any suggestions?
 
 
  thx
 
  Carsten
 
 
 -- 
 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] join domain from different subnet (VPN)

2012-08-30 Thread Gaiseric Vandal
Do the routers block any ports or netbios traffic?

Did you restrict the samba ports in smb.conf  -  samba I think  listens
by default on 137, 138, 139  + 445 .   445 is for SMB-over-ip, which
isn't actually used by samba 3.x/   XP machines will try to connect to
445 then redirect to 137-139 for classic smb-over-NBT.
Restricting the ports may cause more issues then it solves. 

I can't think of anything else that would cause issues with a routed
environment. 





On 08/30/12 11:09, real-men-dont-cl...@gmx.net wrote:
 Hi,

 I already tried that, no success.

 The VPN connects two subnets via OpenVPN with dedicated routers on each side.


 thx

 Carsten



 -Original message-
 To:   samba@lists.samba.org; 
 From: Gaiseric Vandal gaiseric.van...@gmail.com
 Sent: Thu 30-08-2012 14:58
 Subject:  Re: [Samba] join domain from different subnet (VPN)
 Did you try a packet capture on the samba server? 

 Try adding a entry for the XP machine in the server's /etc/hosts file. 

 I am guessing there is some sort of weird name resolution issue going on
 with the server.I don't think there is any reason the server should
 need to resolve the name of the client machine but I have had weird
 issues with VPN connections before. 

 This is a site-to-site VPN?  

 On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
 Hello everybody,

 we have a problem joining a domain from a remote location.

 The remote location is connected via VPN. Everything is working as 
 exspected 
 but joining the samba domain from the remote location does not work.
 - Server Samba Version is 3.5.10
 - Windows Client is XP SP3
 - Joining the domain locally works without problems
 - ping does work in both directions
 - WINS is running on the local PDC and resolves across VPN (I tested with a 
 Linux client using nbmlookup)
 - the WINS server is configured on the client
 - NetBIOS over TCP/IP is enabled on the client
 - Windows on the client firewall is OFF
 - even adding entries to the client's lmhosts file didn't solve the problem


 Any suggestions?


 thx

 Carsten

 -- 
 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] join domain from different subnet (VPN)

2012-08-30 Thread Bob Miller
A post went by on this list not too long about using openvpn.

https://lists.samba.org/archive/samba/2012-July/168209.html

In that post, a quote from

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

indicates that running openvpn as a bridge will pass layer 2 traffic.
Perhaps that will help in your situation...

On Thu, 2012-08-30 at 15:21 +0200, real-men-dont-cl...@gmx.net wrote:
 Hi,
 
 I already tried that, no success.
 
 The VPN connects two subnets via OpenVPN with dedicated routers on each side.
 
 
 thx
 
 Carsten
 
 
 
 -Original message-
 To:   samba@lists.samba.org; 
 From: Gaiseric Vandal gaiseric.van...@gmail.com
 Sent: Thu 30-08-2012 14:58
 Subject:  Re: [Samba] join domain from different subnet (VPN)
  Did you try a packet capture on the samba server? 
  
  Try adding a entry for the XP machine in the server's /etc/hosts file. 
  
  I am guessing there is some sort of weird name resolution issue going on
  with the server.I don't think there is any reason the server should
  need to resolve the name of the client machine but I have had weird
  issues with VPN connections before. 
  
  This is a site-to-site VPN?  
  
  On 08/30/12 05:34, real-men-dont-cl...@gmx.net wrote:
   Hello everybody,
  
   we have a problem joining a domain from a remote location.
  
   The remote location is connected via VPN. Everything is working as 
   exspected 
  but joining the samba domain from the remote location does not work.
  
   - Server Samba Version is 3.5.10
   - Windows Client is XP SP3
   - Joining the domain locally works without problems
   - ping does work in both directions
   - WINS is running on the local PDC and resolves across VPN (I tested with 
   a 
  Linux client using nbmlookup)
   - the WINS server is configured on the client
   - NetBIOS over TCP/IP is enabled on the client
   - Windows on the client firewall is OFF
   - even adding entries to the client's lmhosts file didn't solve the 
   problem
  
  
   Any suggestions?
  
  
   thx
  
   Carsten
  
  
  -- 
  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