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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-07-01T21:32:37+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=31&amp;t=1416</id>
<entry>
<author><name><![CDATA[Mitazake]]></name></author>
<updated>2014-07-01T19:19:05+01:00</updated>
<published>2014-07-01T19:19:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5373#p5373</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5373#p5373"/>
<title type="html"><![CDATA[Re: Auth-Type Perl rejecting authenitcation]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5373#p5373"><![CDATA[
Also when using this command: sudo freeradius -X &gt; test.txt <br />The console outputs this line:<br />Use of uninitialized value $RAD_REQUEST{&quot;Yubikey-OTP&quot;} in string ne at /usr/share/yubix/rlm_yubiauth.pl line 80<br /><br />Any idea what isn't enabled?<br /><br />EDIT: It seems that this is caused by not appending the OTP during testing- oops!<br /><br />Also, my issues have been narrowed down to the local server using a proxy to access Yubico's validation servers...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2942">Mitazake</a> — Tue Jul 01, 2014 7:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Mitazake]]></name></author>
<updated>2014-07-01T21:32:37+01:00</updated>
<published>2014-07-01T19:13:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5372#p5372</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5372#p5372"/>
<title type="html"><![CDATA[Auth-Type Perl rejecting authenitcation]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1416&amp;p=5372#p5372"><![CDATA[
I have YubiX running, somewhat. I am stuck on testing localhost authentication. The user has been added via Manage Users in YubiAuth, a YubiKey has been assigned. Any help/advice is greatly appreciated!<br />See log file below:<br /><br />FreeRADIUS Version 2.1.12, for host i686-pc-linux-gnu, built on Feb 24 2014 at 15:00:10<br />Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. <br />There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A <br />PARTICULAR PURPOSE. <br />You may redistribute copies of FreeRADIUS under the terms of the <br />GNU General Public License v2. <br />Starting - reading configuration files ...<br /><br />(Remove for length)<br /><br /> ... adding new socket proxy address * port 34059<br />Listening on authentication address * port 1812<br />Listening on accounting address * port 1813<br />Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel<br />Listening on proxy address * port 1814<br />Ready to process requests.<br />rad_recv: Access-Request packet from host 127.0.0.1 port 33562, id=43, length=78<br />User-Name = &quot;podojilc&quot;<br />User-Password = &quot;password&quot;<br />NAS-IP-Address = 127.0.1.1<br />NAS-Port = 0<br />Message-Authenticator = 0x776f49438a2073525a02d66125b7f8de<br /># Executing section authorize from file /etc/freeradius/sites-enabled/yubico-default<br />+- entering group authorize {...}<br />++[preprocess] returns ok<br />rlm_perl: Added pair User-Name = podojilc<br />rlm_perl: Added pair User-Password = password<br />rlm_perl: Added pair NAS-Port = 0<br />rlm_perl: Added pair Message-Authenticator = 0x776f49438a2073525a02d66125b7f8de<br />rlm_perl: Added pair NAS-IP-Address = 127.0.1.1<br />rlm_perl: Added pair Auth-Type = Perl<br />++[perl] returns updated<br />++[chap] returns noop<br />++[mschap] returns noop<br />++[digest] returns noop<br />[suffix] No '@' in User-Name = &quot;podojilc&quot;, looking up realm NULL<br />[suffix] No such realm &quot;NULL&quot;<br />++[suffix] returns noop<br />[eap] No EAP-Message, not doing EAP<br />++[eap] returns noop<br />++[files] returns noop<br />++[expiration] returns noop<br />++[logintime] returns noop<br />[pap] WARNING! No &quot;known good&quot; password found for the user.  Authentication may fail because of this.<br />++[pap] returns noop<br />Found Auth-Type = Perl<br /># Executing group from file /etc/freeradius/sites-enabled/yubico-default<br /><span style="color: #008000">+- entering group Perl {...}<br />rlm_perl: Added pair User-Name = podojilc<br />rlm_perl: Added pair User-Password = password<br />rlm_perl: Added pair NAS-Port = 0<br />rlm_perl: Added pair NAS-IP-Address = 127.0.1.1<br />rlm_perl: Added pair Message-Authenticator = 0x776f49438a2073525a02d66125b7f8de<br />rlm_perl: Added pair Reply-Message = false<br />rlm_perl: Added pair Auth-Type = Perl<br />++[perl] returns reject<br />Failed to authenticate the user.<br />Using Post-Auth-Type Reject</span><br /># Executing group from file /etc/freeradius/sites-enabled/yubico-default<br />+- entering group REJECT {...}<br />[attr_filter.access_reject] expand: %{User-Name} -&gt; podojilc<br />attr_filter: Matched entry DEFAULT at line 11<br />++[attr_filter.access_reject] returns updated<br />Sending Access-Reject of id 43 to 127.0.0.1 port 33562<br />Reply-Message = &quot;false&quot;<br />Finished request 0.<br />Going to the next request<br /><br />UPDATE:<br />After removing the assigned YuibKey, local authentication works successfully...It seems that when appending the OTP when testing a login it doesn't know what to do. If the password is typed incorrectly it rejects, but if the password is typed and then the OTP is added, it times out. Possible scripting error??<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2942">Mitazake</a> — Tue Jul 01, 2014 7:13 pm</p><hr />
]]></content>
</entry>
</feed>