Ubuntu Clients do not Ask For Username
Posted: Fri Jan 21, 2022 2:23 pm
I recently enabled the openvpn-auth-pam plugin on my OpenVPN server and and got it working without any issue. Windows clients prompt for username and password as expected. But, Ubuntu clients (which are the majority of my clients) do not ask for the username and only prompts for the password.
Looking at the logs, the Ubuntu systems are sending the local Linux account name that user is logged in as. It is acting like username-as-common-name is turned by default in the Ubuntu client. I do not have it enabled.
Is there any way to get the Ubuntu clients to prompt for username and password?
Client side versions tried: Ubuntu distro's 2.4.7 and OpenVPN's 2.4.11. The server is running 2.4.11.
Client config
Thanks
Darrell
Looking at the logs, the Ubuntu systems are sending the local Linux account name that user is logged in as. It is acting like username-as-common-name is turned by default in the Ubuntu client. I do not have it enabled.
Is there any way to get the Ubuntu clients to prompt for username and password?
Client side versions tried: Ubuntu distro's 2.4.7 and OpenVPN's 2.4.11. The server is running 2.4.11.
Client config
Code: Select all
client
dev tun
proto udp
remote vpn20.mycompany.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca mycompany-ca.crt
cert danz.crt
key danz.key
comp-lzo
verb 3
cipher AES-256-CBC
auth-user-pass
Darrell