Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: mauro on September 07, 2017, 11:25:59 AM

Title: Smb name resolution and openvpn
Post by: mauro on September 07, 2017, 11:25:59 AM
Hi everybody
I have smb name resolution enabled, so that 'ping <pc_name>' works.
However, I have a  problem when a user works from home (connected via openvpn) and then comes back to the office. In that case, pc_name still resolves to the old IP address assigned by openvpn.
The workaround is to stop nmbd, remove /var/lib/samba/wins.dat and restart nmbd; however this is something annoying to do every time.
Any suggestion?