Skip to contentSkip to conversation

pam auth is failing for future connections after a timeout

Openvpn-devel João Paulo Campello 1 participant 1 message Mar 3, 2009 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

I was searching for some posts regarding problems using "PAM authentication module" and I've found this thread:

* [Openvpn-users] pam auth is failing for future connections after a timeout

As I have found no answer in "openvpn-users" mailing lists, I'm cross-posting to openvpn-users and openvpn-devel. Sorry for any inconvenience.

The post is dated from 2005 and had only 2 replies, one of them which is from James Yonan asking for more details on the error log.

The original post and error log details (sent by the thread creator) are quoted below:

* ORIGINAL POST:

Quoted 3 lines

Hello,
Newbie here. I'm using the latest 2.0 version downloaded on June 12th. Everything works great except when a connection times out. The next

connection

Quoted 1 line

attempt (a few hours to a day later or so) does not allow the user to

login.

Quoted 1 line

The client side status appears to sit there and wait. The server side log

file

Quoted 1 line

shows a PAM fatal error and a return status of 0. I just restart the

openvpn

Quoted 1 line

server (application) and everything works great again. It's intermittent.

I can

Quoted 1 line

disconnect and reconnect several times without a problem. It only appears

to be

Quoted 2 lines

a problem when a session times out after a few hours. Many thanks for any help, DAVID.

* ERROR LOG details:

Quoted 10 lines

AUTH-PAM: BACKGROUND: user 'dgrimm01' failed to authenticate:
Critical error - immediate abort
Sun Jun 19 16:47:59 2005 166.82.5.53:32777 PLUGIN_CALL: POST /lib/security/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1
Sun Jun 19 16:47:59 2005 166.82.5.53:32777 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status
1: /lib/security/openvpn-auth-pam.so
Sun Jun 19 16:47:59 2005 166.82.5.53:32777 TLS Auth Error: Auth Username/Password verification failed for peer

I have exactly the same problem.

Did anybody have solved this issue? May you please tell me how to accomplish that?

Any help is very much appreciated.

Thanks in advance,

Joao Paulo.