Page 1 of 1

PAM authentication fails

Posted: Sat May 19, 2018 12:41 pm
by medharrak
Hi ,
I run openvpn 2.4.4 into ubuntu server 18.04, I added the authentication using the command :
plugin /usr/lib/x86_64-linux-gnu/openvpn/plugins/openvpn-plugin-auth-pam.so login

by trying to connect using VPN i get error message ,and the /var/log/openvpn/openvpn.log says

TLS Auth Error: Auth Username/Password verification failed for peer
plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/lib/x86_64-linux-gnu/openvpn/plugins/openvpn-plugin-auth-pam.so

any idea ?