Bug #7002
closedOpenVPN unable to use authentication server with ampersand in descriptive name
100%
Description
Add LDAP server in System/User Manager/Authentication Servers, include an ampersand in the Descriptive Name. Test against LDAP server in Diagnostics/Authentication, success. Configure OpenVPN server to authenticate against the LDAP server, attempt to connect with client. Server logs will show
Dec 10 23:11:15 openvpn 28595 customer_ip:1194 Peer Connection Initiated with [AF_INET]70.184.186.68:1194
Dec 10 23:11:15 openvpn 28595 customer_ip:1194 TLS Auth Error: Auth Username/Password verification failed for peer
Dec 10 23:11:15 openvpn 28595 customer_ip:1194 WARNING: Failed running command (--auth-user-pass-verify): external program exited with error status: 1
Dec 10 23:11:15 openvpn user 'test' could not authenticate.
Recreate LDAP server without ampersand in the Descriptive Name, configure OpenVPN to use new LDAP server. Attempt to connect from client, success.