App should try resolve the WINS server before writing to clients.conf
If you are using the Active Directory Connectoy, it puts an FQDN for the WINS server in the "wins server" field in /etc/samba/smb.conf e.g localdc.dc.njh.lan. This is then used to populate the WINS server field in the OpenVPN webconfig, but is deemed invalid as it is not an IP address. This generates an error and the WINS server gets populated with 192.169.1.1:
Oct 4 13:06:11 ad-dc-server events: samba_configuration - event occurred
Oct 4 13:06:11 ad-dc-server events: samba_configuration - triggered hook: openvpn
Oct 4 13:06:12 ad-dc-server engine: exception: error: /usr/clearos/apps/base/libraries/Validation_Exception.php (99): WINS server is invalid.
Oct 4 13:06:12 ad-dc-server engine: exception: debug backtrace: /usr/clearos/apps/openvpn/libraries/OpenVPN.php (575): is_valid
Oct 4 13:06:12 ad-dc-server engine: exception: debug backtrace: /usr/clearos/apps/openvpn/libraries/OpenVPN.php (207): set_wins_server
Oct 4 13:06:12 ad-dc-server engine: exception: debug backtrace: /var/clearos/events/samba_configuration/openvpn (59): auto_configure
The OpenVPN app needs to try to resolve the FQDN to an IP address then populate the field in clients.conf