<?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=23&amp;t=1180" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-12-16T11:18:05+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=23&amp;t=1180</id>
<entry>
<author><name><![CDATA[habanero]]></name></author>
<updated>2013-12-16T11:18:05+01:00</updated>
<published>2013-12-16T11:18:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4727#p4727</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4727#p4727"/>
<title type="html"><![CDATA[Re: [QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4727#p4727"><![CDATA[
Did you have any luck with getting this working?<br /><br />We have the same problem - we are trying to use a local yubi server so that we have offline access but we get the same errors:<br /><br />[pam_yubico.c:pam_sm_authenticate(969)] Extracted a probable system password entered before the OTP - setting item PAM_AUTHTOK<br />[pam_yubico.c:pam_sm_authenticate(985)] ykclient return value (107): Server response signature was invalid (BAD_SERVER_SIGNATURE)<br />[pam_yubico.c:pam_sm_authenticate(1038)] done. [Authentication service cannot retrieve authentication info]<br /><br />Thanks!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2739">habanero</a> — Mon Dec 16, 2013 11:18 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tleif]]></name></author>
<updated>2013-10-01T17:09:48+01:00</updated>
<published>2013-10-01T17:09:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4440#p4440</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4440#p4440"/>
<title type="html"><![CDATA[Re: [QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4440#p4440"><![CDATA[
Tom,<br /><br />Thanks, that took care of the printf error and I'm actually hitting the validation server with requests, but now I've run into another error.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&#91;pam_yubico.c:parse_cfg(736)&#93; called.<br />&#91;pam_yubico.c:parse_cfg(737)&#93; flags 1 argc 5<br />&#91;pam_yubico.c:parse_cfg(739)&#93; argv&#91;0&#93;=id=100<br />&#91;pam_yubico.c:parse_cfg(739)&#93; argv&#91;1&#93;=key=xxxxxx<br />&#91;pam_yubico.c:parse_cfg(739)&#93; argv&#91;2&#93;=url=http://&lt;server&gt;/wsapi/2.0/verify?id=%d&amp;otp=%s<br />&#91;pam_yubico.c:parse_cfg(739)&#93; argv&#91;3&#93;=authfile=/etc/yubikey_mappings<br />&#91;pam_yubico.c:parse_cfg(739)&#93; argv&#91;4&#93;=debug<br />&#91;pam_yubico.c:parse_cfg(740)&#93; id=100<br />&#91;pam_yubico.c:parse_cfg(741)&#93; key=xxxxxx<br />&#91;pam_yubico.c:parse_cfg(742)&#93; debug=1<br />&#91;pam_yubico.c:parse_cfg(743)&#93; alwaysok=0<br />&#91;pam_yubico.c:parse_cfg(744)&#93; verbose_otp=0<br />&#91;pam_yubico.c:parse_cfg(745)&#93; try_first_pass=0<br />&#91;pam_yubico.c:parse_cfg(746)&#93; use_first_pass=0<br />&#91;pam_yubico.c:parse_cfg(747)&#93; authfile=/etc/yubikey_mappings<br />&#91;pam_yubico.c:parse_cfg(748)&#93; ldapserver=(null)<br />&#91;pam_yubico.c:parse_cfg(749)&#93; ldap_uri=(null)<br />&#91;pam_yubico.c:parse_cfg(750)&#93; ldapdn=(null)<br />&#91;pam_yubico.c:parse_cfg(751)&#93; user_attr=(null)<br />&#91;pam_yubico.c:parse_cfg(752)&#93; yubi_attr=(null)<br />&#91;pam_yubico.c:parse_cfg(753)&#93; yubi_attr_prefix=(null)<br />&#91;pam_yubico.c:parse_cfg(754)&#93; url=http://&lt;server&gt;/wsapi/2.0/verify?id=%d&amp;otp=%s<br />&#91;pam_yubico.c:parse_cfg(755)&#93; capath=(null)<br />&#91;pam_yubico.c:parse_cfg(756)&#93; token_id_length=12<br />&#91;pam_yubico.c:parse_cfg(757)&#93; mode=client<br />&#91;pam_yubico.c:parse_cfg(758)&#93; chalresp_path=(null)<br />&#91;pam_yubico.c:pam_sm_authenticate(797)&#93; get user returned: xxxxxx<br />&#91;pam_yubico.c:pam_sm_authenticate(904)&#93; conv returned 44 bytes<br />&#91;pam_yubico.c:pam_sm_authenticate(922)&#93; Skipping first 0 bytes. Length is 44, token_id set to 12 and token OTP always 32.<br />&#91;pam_yubico.c:pam_sm_authenticate(929)&#93; OTP: xxxxxx ID: xxxxxx <br />&#91;pam_yubico.c:pam_sm_authenticate(960)&#93; ykclient return value (107): Server response signature was invalid (BAD_SERVER_SIGNATURE)<br />&#91;pam_yubico.c:pam_sm_authenticate(1000)&#93; done. &#91;Authentication service cannot retrieve authentication info&#93;<br /></div><br /><br />Searching through the forums, the only related posts seem to have to do with ARM implementations and PHP char escaping.  One mention not having the same API key on the server as on the client, but I've changed the API key twice and made sure they are the same on both with no change in error.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2605">tleif</a> — Tue Oct 01, 2013 5:09 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-10-01T07:54:21+01:00</updated>
<published>2013-10-01T07:54:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4437#p4437</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4437#p4437"/>
<title type="html"><![CDATA[Re: [QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4437#p4437"><![CDATA[
Change the url format in:<br /><br /><!-- m --><a class="postlink" href="http://api.yubico.com/wsapi/2.0/verify?id=">http://api.yubico.com/wsapi/2.0/verify?id=</a><!-- m -->%d&amp;otp=%s<br /><br />Please read the README from the pam module on <!-- m --><a class="postlink" href="http://opensource.yubico.com/yubico-pam/">http://opensource.yubico.com/yubico-pam/</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Tue Oct 01, 2013 7:54 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tleif]]></name></author>
<updated>2013-09-30T16:37:03+01:00</updated>
<published>2013-09-30T16:37:03+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4435#p4435</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4435#p4435"/>
<title type="html"><![CDATA[Re: [QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4435#p4435"><![CDATA[
I'm running an Ubuntu 12.04 install using libpam-yubico 2.13-1~ppa1~precise1.<br /><br />My pam-config for yubikey looks like:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Name: Yubico authentication with YubiKey<br />Default: no<br />Priority: 704<br />Auth-Type: Primary<br />Auth:<br />        required        pam_yubico.so   id=100 key=xxxxxx url=http://&lt;server&gt;/wsapi/2.0/verify? authfile=/etc/yubikey_mappings debug<br />Auth-Initial:<br />        required        pam_yubico.so   id=100 key=xxxxxx url=http://&lt;server&gt;/wsapi/2.0/verify? authfile=/etc/yubikey_mappings debug<br /></div><br /><br />and pam common-auth looks like:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"># here are the per-package modules (the &quot;Primary&quot; block)<br />auth    required        pam_yubico.so id=100 key=xxxxxx url=http://&lt;server&gt;/wsapi/2.0/verify? authfile=/etc/yubikey_mappings debug<br />auth    &#91;success=2 default=ignore&#93;      pam_krb5.so minimum_uid=1000 try_first_pass<br />auth    &#91;success=1 default=ignore&#93;      pam_unix.so nullok_secure try_first_pass<br /># here's the fallback if no module succeeds<br />auth    requisite                       pam_deny.so<br /># prime the stack with a positive return value if there isn't one already;<br /># this avoids us returning an error just because nothing sets a success code<br /># since the modules above will each just jump around<br />auth    required                        pam_permit.so<br /># and here are more per-package modules (the &quot;Additional&quot; block)<br />auth    optional                        pam_cap.so <br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2605">tleif</a> — Mon Sep 30, 2013 4:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-09-30T09:06:28+01:00</updated>
<published>2013-09-30T09:06:28+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4432#p4432</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4432#p4432"/>
<title type="html"><![CDATA[Re: [QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4432#p4432"><![CDATA[
Hello,<br /><br />Could you provide use more information:<br /><br />- System<br />- Version of pam_yubico<br />- Configuration files<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Mon Sep 30, 2013 9:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tleif]]></name></author>
<updated>2013-09-27T21:42:16+01:00</updated>
<published>2013-09-27T21:42:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4426#p4426</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4426#p4426"/>
<title type="html"><![CDATA[[QUESTION] Internal printf format error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1180&amp;p=4426#p4426"><![CDATA[
I'm trying to get Yubi key to work in conjunction with Krb5 auth on our servers.  Currently I'm getting the following error when I enter a Yubikey token at the prompt:<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />[pam_yubico.c:pam_sm_authenticate(797)] get user returned: xxxxxxx<br />[pam_yubico.c:pam_sm_authenticate(904)] conv returned 44 bytes<br />[pam_yubico.c:pam_sm_authenticate(922)] Skipping first 0 bytes. Length is 44, token_id set to 12 and token OTP always 32.<br />[pam_yubico.c:pam_sm_authenticate(929)] OTP: xxxxxxxx ID: xxxxxxxx <br />[pam_yubico.c:pam_sm_authenticate(960)] ykclient return value (102): Internal printf format error<br />[pam_yubico.c:pam_sm_authenticate(1000)] done. [Authentication service cannot retrieve authentication info]<br /></div><br />Anyone have any ideas?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2605">tleif</a> — Fri Sep 27, 2013 9:42 pm</p><hr />
]]></content>
</entry>
</feed>