[Samba] Samba network shares over VPN

Daniel Müller mueller at tropenklinik.de
Thu Feb 23 01:59:39 MST 2012


This is a windows7 bug and not a openvpn.
I solve this by just connecting with openvpn and then running a script to
map the drives with interact username and password.
If you use openvpn in brige mode you do not need the scripts.



-----------------------------------------------
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: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Fernando Lozano
Gesendet: Mittwoch, 22. Februar 2012 14:47
An: samba at lists.samba.org
Betreff: [Samba] Samba network shares over VPN

Hi there,

I have two computers, one Windows XP other Windows 7 (actually a dozen
each) which are members of a Samba domain. Users have no problem login in to
the domain, running the login script to map network drives and accesssing
files on them, for both computers.

I want to give users remote access using a VPN (OpenVPN to be exact).
The idea is to login on a disconnected computer using a domain account
cached profie, then connnect to the VPN, then map network drives.
OpenVPN allows running a batch file on connection sucessfull and I use this
to run the user login script from the PDC netlogon share.

The Windows XP computer does this fine. Happy remote users.

But the Windows 7 doesn't. It asks for user login and password for each
server (network drives are on different samba member servers)

Someone told me the problem should to be related to the fact the TAP adapter
(the VPN virtual network adapter) is considered by windows as an "unknown
network" and classified as a "public network". But I could not find a way to
turn this into a home / work or domain network location.

I already tried customising and disabling windows firewall, no changes.

Any ideas on how to transparently access network shares from domain member
servers over a vpn using windows 7?


[]s, Fernnado Lozano
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list