Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: ATT1 on May 02, 2017, 05:24:11 pm

Title: Samba working on VPN-ip 10.9.0.x : Is this possible? Current: Error 0x80004005
Post by: ATT1 on May 02, 2017, 05:24:11 pm
Hello,
I am running Zentyal 4.1 and 4.2, 64bit, and I wonder if a little tricky configuration is possible.
So far, I have installed Zentyal. But now the requirement arose that the Zentyal server is reachable via VPN.
So I admit I did a very ugly VPN-hack, I added a boot-script that automatically connects to an outside VPN-server on starting.
Thus, the Zentyal gets a 10.9.0.101 IP (static) and thus is reachable via client-to-client communication for all VPN-users in the 10.9.0.x area.
That is fine for Mail, Webserver, etc.etc. but not-so-fine for Samba: Trying to reach the shares via \\10.9.0.101\shares results in waiting a while, then a network error "0x80004005".
I checked the /etc/samba/smb.conf and I added tun0 to the interfaces:
 interfaces = lo,eth0,eth1,tun0

However, it still won't let me connect from a Windows client to the Samba share at \\10.9.0.101\shares

Any help is greatly appreciated.