Hi,
Just wondering if anyone has any ideas regarding why my admin user cannot login from time to time?
The scenario is as follows:
/usr/local/openvpn_as/bin/ovpn-init
Was run and a new user 'vpnadmin' created. A password was set with
passwd vpnadmin
This admin account was working fine via the gui and was used to edit the server config.
Nothing was changed password wise in either the admin panel or on the server itself but from time to time I cannot login with the same details that were working previously. I've got the other sysadmin to check from his machine with the same details. He has the same issue, sometimes he can log in, sometimes not. But he can never log in when I am also unable to login. So that's one commonality.
I've restarted the OpenVPN server
service openvpnas restart
I've rebooted the server.
So far I've ruled out:
Browser storing wrong password.
Copy paste issues with password.
Typing issues with password.
User vpnadmin having it's local system account locked out.
User vpnadmin account being expired
If I wait a while I can login, but it's never the 15 minutes that are specified in the documentation as being the default lock out period (if I was using the wrong credentials). It's usually longer, up to an hour before I am allowed in.
Checking the openvpnas.log on a failed login gives:
WEB OUT: "2015-04-01 16:16:56+0100 [UDSProxyQueryProtocol,client] Web login authentication failed: {'status': 1, 'reason': 'PAM auth failed: Authentication failure', 'user': 'vpnadmin'}"
OpenVPN AS version 2.0.12
Platform: RHEL 6.6
License: Two user trial
Hope someone can help.
Regards,
R.