<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=870" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-10-14T15:51:06+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=870</id>
<entry>
<author><name><![CDATA[JulianLG]]></name></author>
<updated>2012-10-14T15:51:06+01:00</updated>
<published>2012-10-14T15:51:06+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=870&amp;p=3319#p3319</id>
<link href="https://forum.yubico.com/viewtopic.php?t=870&amp;p=3319#p3319"/>
<title type="html"><![CDATA[Re: PAM Authentication Error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=870&amp;p=3319#p3319"><![CDATA[
OK, I solved it by setting up my own validation server (which is what looks like the better way for me), which works <img src="https://forum.yubico.com/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br />Thanks anyways!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2179">JulianLG</a> — Sun Oct 14, 2012 3:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JulianLG]]></name></author>
<updated>2012-10-13T19:12:09+01:00</updated>
<published>2012-10-13T19:12:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=870&amp;p=3318#p3318</id>
<link href="https://forum.yubico.com/viewtopic.php?t=870&amp;p=3318#p3318"/>
<title type="html"><![CDATA[PAM Authentication Error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=870&amp;p=3318#p3318"><![CDATA[
Hi there,<br /><br />i set up PAM authentication with yubikey following this guide: <!-- m --><a class="postlink" href="http://code.google.com/p/yubico-pam/wiki/YubikeyAndSSHViaPAM">http://code.google.com/p/yubico-pam/wik ... dSSHViaPAM</a><!-- m --><br />It worked first, without setting a password for the specified client-ID (I think the guide is outdated in that point) but stopped working right now.<br /><br />In the debug Output I see the following error:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />[pam_yubico.c:parse_cfg(437)] called.<br />[pam_yubico.c:parse_cfg(438)] flags 1 argc 4<br />[pam_yubico.c:parse_cfg(440)] argv[0]=id=MYID<br />[pam_yubico.c:parse_cfg(440)] argv[1]=key=MYKEY<br />[pam_yubico.c:parse_cfg(440)] argv[2]=authfile=/etc/yk_mapping<br />[pam_yubico.c:parse_cfg(440)] argv[3]=debug<br />[pam_yubico.c:parse_cfg(441)] id=MYID<br />[pam_yubico.c:parse_cfg(442)] key=MYKEY<br />[pam_yubico.c:parse_cfg(443)] debug=1<br />[pam_yubico.c:parse_cfg(444)] alwaysok=0<br />[pam_yubico.c:parse_cfg(445)] verbose_otp=0<br />[pam_yubico.c:parse_cfg(446)] try_first_pass=0<br />[pam_yubico.c:parse_cfg(447)] use_first_pass=0<br />[pam_yubico.c:parse_cfg(448)] authfile=/etc/yk_mapping<br />[pam_yubico.c:parse_cfg(449)] ldapserver=(null)<br />[pam_yubico.c:parse_cfg(450)] ldap_uri=(null)<br />[pam_yubico.c:parse_cfg(451)] ldapdn=(null)<br />[pam_yubico.c:parse_cfg(452)] user_attr=(null)<br />[pam_yubico.c:parse_cfg(453)] yubi_attr=(null)<br />[pam_yubico.c:parse_cfg(454)] url=(null)<br />[pam_yubico.c:parse_cfg(455)] capath=(null)<br />[pam_yubico.c:parse_cfg(456)] token_id_length=12<br />[pam_yubico.c:pam_sm_authenticate(489)] get user returned: root<br />[pam_yubico.c:pam_sm_authenticate(582)] conv returned 53 bytes<br />[pam_yubico.c:pam_sm_authenticate(600)] Skipping first 9 bytes. Length is 53, token_id set to 12 and token OTP always 32.<br />[pam_yubico.c:pam_sm_authenticate(607)] OTP: vvukhfbhndnctgbvjvgnliuviejujjkbfjklnucjbulg ID: vvukhfbhndnc<br />[pam_yubico.c:pam_sm_authenticate(617)] Extracted a probable system password entered before the OTP - setting item PAM_AUTHTOK<br />[pam_yubico.c:pam_sm_authenticate(633)] ykclient return value (3): Request signature was invalid (BAD_SIGNATURE)<br />[pam_yubico.c:pam_sm_authenticate(675)] done. [Authentication service cannot retrieve authentication info]<br /></div><br /><br />Anyway, I correctly set up the pam config with a generated api id and key.<br /><br />Can't get it to work any more <img src="https://forum.yubico.com/images/smilies/icon_e_sad.gif" alt=":(" title="Sad" /><br /><br />Here are some infos:<br /><br />OS: OpenSUSE 11.4 (uname output: Linux 85-31-187-128 2.6.37.6-0.9-default #1 SMP 2011-10-19 22:33:27 +0200 x86_64 x86_64 x86_64 GNU/Linux)<br />Installed PAM module Version: 2.5.99_git201103140807<br /><br />pam config:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />auth required pam_yubico.so id=&lt;MYID&gt; key=&lt;MYKEY&gt; authfile=/etc/yk_mapping debug<br />#%PAM-1.0<br />auth     requisite      pam_nologin.so<br />auth     include        common-auth<br />account  requisite      pam_nologin.so<br />account  include        common-account<br />password include        common-password<br />session  required       pam_loginuid.so<br />session  include        common-session<br />session  optional       pam_lastlog.so   silent noupdate showfailed<br /></div><br /><br />I'm using the online yubico validation service.<br /><br />Hope you can help me!<br />Thanks in advance!<br /><br />All the best,<br />Julian<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2179">JulianLG</a> — Sat Oct 13, 2012 7:12 pm</p><hr />
]]></content>
</entry>
</feed>