Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 9:13 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue May 26, 2015 4:45 pm 
Offline

Joined: Tue May 26, 2015 4:28 pm
Posts: 1
Hello,

I configured slot 2 of my YubiKey NEO in OATH-HOTP mode in order to use it for a two-factor authentication. It works fine with SSH login, but with OpenVPN it fails with the following message:
Code:
openvpn[15059]: AUTH-PAM: BACKGROUND: USER: keiki
openvpn[15059]: AUTH-PAM: BACKGROUND: my_conv[0] query='Password: ' style=1
openvpn[15059]: AUTH-PAM: BACKGROUND: my_conv[0] query='One-time password (OATH) for `keiki': ' style=1
openvpn[15059]: AUTH-PAM: BACKGROUND: user 'keiki' failed to authenticate: Authentication failure

When I connect to my OpenVPN server, the server only asks for the "Auth Username", the "Auth Password" and the "Private Key Password". There comes no message asking me for a one-time password (OATH).

Maybe you can help me to find out, what is wrong in my PAM configuration /etc/pam.d/openvpn:
Code:
auth    required pam_unix.so shadow nodelay
account required pam_unix.so
auth    required pam_oath.so usersfile=/etc/users.oath window=10 digits=8

Kind regards,

keiki


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group