<?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=453" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2010-01-14T16:59:46+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=453</id>
<entry>
<author><name><![CDATA[Koneko]]></name></author>
<updated>2010-01-14T16:59:46+01:00</updated>
<published>2010-01-14T16:59:46+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1971#p1971</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1971#p1971"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1971#p1971"><![CDATA[
That worked =D <br /><br />I also had to <br /><br />chmod g+rw /etc/yubikey<br /><br />chmod g+s /sbin/yk_chkpwd<br /><br /><br />Thanks,<br />Koneko<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1000">Koneko</a> — Thu Jan 14, 2010 4:59 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2010-01-14T09:59:58+01:00</updated>
<published>2010-01-14T09:59:58+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1970#p1970</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1970#p1970"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1970#p1970"><![CDATA[
From the error message, it seems that the user name and YubiKey ID mapping is wrong in the mapping file. <br /><br />We would appreciate if you can make a correct user name and YubiKey ID mapping in the mapping file as follows and try again:<br /><br />&lt;user name&gt;:&lt;YubiKey ID (First 12 characters of the YubiKey OTP)&gt;<br /><br />We hope this helps!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Thu Jan 14, 2010 9:59 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Koneko]]></name></author>
<updated>2010-01-13T16:18:50+01:00</updated>
<published>2010-01-13T16:18:50+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1969#p1969</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1969#p1969"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1969#p1969"><![CDATA[
Great, that took care of the bad signature problem. Now I am reciving this message:<br /><br />[pam_yubico.c:pam_sm_authenticate(537)] ykclient return value (0): Success<br />[pam_yubico.c:check_user_token(117)] Authorization line: YKDB<br />[pam_yubico.c:pam_sm_authenticate(564)] Yubikey not authorized to login as user<br />[pam_yubico.c:pam_sm_authenticate(579)] done. [Authentication service cannot retrieve authentication info]<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1000">Koneko</a> — Wed Jan 13, 2010 4:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2010-01-13T11:33:59+01:00</updated>
<published>2010-01-13T11:33:59+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1965#p1965</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1965#p1965"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1965#p1965"><![CDATA[
The latest Yubico PAM module has made the use of the API Key mandatory. For more information about the API Key, please visit the following link:<br /><br /><!-- m --><a class="postlink" href="http://www.yubico.com/developers/api/">http://www.yubico.com/developers/api/</a><!-- m --><br /><br />As you did not mention the API Key parameter with the Yubico PAM module in the PAM configuration file, you were receiving the BAD_SIGNATURE error.<br /><br />We would appreciate if you can follow the steps listed below and try again:<br /><br /><ul>1) Create your own Client ID and API Key pair using the following link:<br /><br /><!-- m --><a class="postlink" href="https://api.yubico.com/get-api-key/">https://api.yubico.com/get-api-key/</a><!-- m --><br /><br />Enter your email address and YubiKey OTP and click on &quot;Generate API Key&quot;. This will generate a new client ID and API Key for you.<br /><br />2) In the PAM configuration file, mention the ID and the API Key with the Yubico PAM module as follows:<br /><br />auth sufficient pam_yubico.so id=&lt;Your Client id&gt; key=&lt;Your API Key&gt; authfile=/etc/yubikey debug<br /><br />For example:<br /><br />auth sufficient pam_yubico.so id=3476 key=WHvkp47s6INISPMIIzKNkYDip39I= authfile=/etc/yubikey debug<br /></ul> <br /><br />We hope this helps!<br /><br />Feel free to write back in case you face any problems or have further queries.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Wed Jan 13, 2010 11:33 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2010-01-12T15:20:15+01:00</updated>
<published>2010-01-12T15:20:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1961#p1961</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1961#p1961"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1961#p1961"><![CDATA[
Thank you for providing the valuable information!<br /><br />We are looking into this and we will update you soon.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Tue Jan 12, 2010 3:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Koneko]]></name></author>
<updated>2010-01-11T17:38:23+01:00</updated>
<published>2010-01-11T17:38:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1953#p1953</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1953#p1953"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1953#p1953"><![CDATA[
1. Centos / 2.6.18-164.10.1.el5.centos.plus <br />2. PAM version 2.2<br />3. Sudo version 1.6.9p17<br />4. <br /><br />#%PAM-1.0<br />auth       sufficient   /lib/security/pam_yubico.so id=(my id) authfile=/etc/yubikey debug<br />auth       include      system-auth<br />account    include      system-auth<br />password   include      system-auth<br />session    optional     pam_keyinit.so revoke<br />session    required     pam_limits.so<br /><br />5. I did not install a validation server.<br /><br />Thanks =)<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1000">Koneko</a> — Mon Jan 11, 2010 5:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2010-01-11T14:19:15+01:00</updated>
<published>2010-01-11T14:19:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1952#p1952</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1952#p1952"/>
<title type="html"><![CDATA[Re: PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1952#p1952"><![CDATA[
We would appreciate if you can provide us the following information:<br /><br /><ul>1) Details of Operating System (OS name, Kernel Version etc.) where you are configuring the Yubico PAM module  <br />2) Version of the Yubico PAM module you are trying to configure<br />3) The Application details (Version number etc) for which you are configuring the Yubico PAM module<br />4) The PAM configuration file of the application (situated in /etc/pam.d directory)<br />5) Did you install your own OTP validation server and using it for validating the YubiKey OTP or are you using the online Yubico OTP validation server?  <br /></ul><br />This information will help us debugging the issue you are facing.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Mon Jan 11, 2010 2:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Koneko]]></name></author>
<updated>2010-01-08T18:22:51+01:00</updated>
<published>2010-01-08T18:22:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=453&amp;p=1949#p1949</id>
<link href="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1949#p1949"/>
<title type="html"><![CDATA[PAM error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=453&amp;p=1949#p1949"><![CDATA[
I have configured the PAM module via this guide:<br /><br /><!-- l --><a class="postlink-local" href="http://forum.yubico.com/viewtopic.php?f=5&amp;t=174">viewtopic.php?f=5&amp;t=174</a><!-- l --><br /><br />and I am receiving the following error in the debug output:<br /><br />pam_yubico.c:pam_sm_authenticate(537)] ykclient return value (3): Request signature was invalid (BAD_SIGNATURE)<br />[pam_yubico.c:pam_sm_authenticate(579)] done. [Authentication service cannot retrieve authentication info]<br /><br />Does anyone know a fix for this?<br /><br />Thanks,<br />Koneko<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1000">Koneko</a> — Fri Jan 08, 2010 6:22 pm</p><hr />
]]></content>
</entry>
</feed>