Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Jul 01, 2014 4:16 pm 
Offline

Joined: Tue May 27, 2014 9:53 am
Posts: 1
Hi, i've got a weird problem which I can't seem to diagnose.

I have 2 near identical Centos 6.5 servers, one a standard install "Web Server" build and one a standard install "Database Server" build, not had a chance to mess with them in order to add anything non standard apart from for yubikey;

Code:
cat /etc/redhat-release;
CentOS release 6.5 (Final)

Code:
 uname -r;
2.6.32-431.el6.x86_64


pulled the latest rpm's from epel repo;
Code:
Installed: libyubikey-1.11-2.el6.x86_64
Installed: ykpers-1.6.2-1.el6.x86_64
Installed: ykclient-2.7-1.el6.x86_64
Installed: pam_yubico-2.13-1.el6.x86_64


/etc/pam.d/sshd has the following;
Code:
auth       required     pam_yubico.so id=[MYCODE] key=[MYKEY] debug authfile=/etc/yubikeys url=http://api.yubico.com/wsapi/2.0/verify?id=%d&otp=%s


/etc/yubikeys contains the correct key for the user

/etc/ssh/sshd_config has the following added/enabled;
Code:
PermitEmptyPasswords no
PasswordAuthentication yes
ChallengeResponseAuthentication yes
UsePAM yes


and on one server (the web version) it works perfectly and on the other (the db version) it doesn't!

only error message is in /var/log/secure;
Code:
Jul  1 15:41:14 localhost sshd[6134]: Postponed keyboard-interactive for USER from IPADDR port 55814 ssh2
Jul  1 15:41:19 localhost sshd[6134]: Postponed keyboard-interactive/pam for USER from IPADDR port 55814 ssh2
Jul  1 15:41:26 localhost sshd[6133]: error: PAM: Authentication service cannot retrieve authentication info for USER from IPADDR


the only thing that is noticeable is is a slight delay after the Yubikey is pressed and before the password is asked for on the working server and it there is no delay on the non-working server.

both network's look okay and can resolve the api address fine, i can't seem to see any explanation for this.

anyone any ideas?


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