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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-04-01T20:41:44+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=29&amp;t=1007</id>
<entry>
<author><name><![CDATA[rickyboone]]></name></author>
<updated>2013-04-01T20:41:44+01:00</updated>
<published>2013-04-01T20:41:44+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3830#p3830</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3830#p3830"/>
<title type="html"><![CDATA[Re: [BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3830#p3830"><![CDATA[
Okay... I have a &quot;working&quot; solution, at least for me.  Pretty simple; just forced the string from the original LDAP search to lowercase.  Here are my patches <span style="color: #FF0000">(files located under <strong>/usr/share/webmin/yubico-RoP/</strong>)</span>:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">--- save_user_import_conf.cgi.bak       2013-04-01 19:29:54.000000000 +0000<br />+++ save_user_import_conf.cgi   2013-04-01 19:30:08.000000000 +0000<br />@@ -396,7 +396,7 @@<br />           &amp;webmin_debug_log(&quot;import_users_from_ldap&quot;, &quot;found user with dn=&quot; . $user-&gt;dn);<br /><br />           $user_name = $user-&gt;get_value( 'cn' );<br />-          $login_name = $user-&gt;get_value( $identifier );<br />+          $login_name = lc($user-&gt;get_value( $identifier ));<br />           if($global_id eq 'objectGUID'){<br />             $global_name_bin = encode_base64($user-&gt;get_value( $global_id ));<br />             $global_name = trim($global_name_bin);</div><br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">--- ykrop2_ldap_user_import.pl.bak      2013-04-01 18:18:05.000000000 +0000<br />+++ ykrop2_ldap_user_import.pl  2013-04-01 19:25:53.000000000 +0000<br />@@ -200,7 +200,7 @@<br />           #&amp;webmin_debug_log(&quot;import_users_from_ldap&quot;, &quot;found user with dn=&quot; . $user-&gt;dn);<br /><br />           $user_name = $user-&gt;get_value( 'cn' );<br />-          $login_name = $user-&gt;get_value( $identifier );<br />+          $login_name = lc($user-&gt;get_value( $identifier ));<br />           if($global_id eq 'objectGUID'){<br />             $global_name_bin = encode_base64($user-&gt;get_value( $global_id ));<br />             $global_name = trim($global_name_bin);</div><br /><br />I was able to fix what was already in the pgsql database by running the following:<br /><br /><span style="color: #FF0000">In the <strong>ykrop2</strong> database:</span><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">update users set login_name=lower(login_name);</div><br /><br /><span style="color: #FF0000">In the <strong>ykmap</strong> database:</span><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">update ykmaps set value=lower(value);</div><br /><br />I'm not suggesting this is a valid fix for everyone, but so far it seems to have done the trick for me.  I'm still working on applying the fix to the other sync'ed servers.<br /><br />(edited to include better details about the fix)<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2384">rickyboone</a> — Mon Apr 01, 2013 8:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rickyboone]]></name></author>
<updated>2013-04-01T20:18:25+01:00</updated>
<published>2013-04-01T20:18:25+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3829#p3829</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3829#p3829"/>
<title type="html"><![CDATA[Re: [BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3829#p3829"><![CDATA[
I'm also seeing this behavior.  I'm looking into the LDAP import process to see if either the SQL query or other variable handling part of the process can force the username to lowercase.  It'd be nice to know if Yubico has acknowledged this bug and if there is a fix planned.  <img src="https://forum.yubico.com/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2384">rickyboone</a> — Mon Apr 01, 2013 8:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[angelfire]]></name></author>
<updated>2013-03-25T12:29:52+01:00</updated>
<published>2013-03-25T12:29:52+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3798#p3798</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3798#p3798"/>
<title type="html"><![CDATA[Re: [BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3798#p3798"><![CDATA[
Hi again,<br /><br />Confirmed, the Bug is not happening if the login and the domain are lowercase  <img src="https://forum.yubico.com/images/smilies/icon_e_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2362">angelfire</a> — Mon Mar 25, 2013 12:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[angelfire]]></name></author>
<updated>2013-03-21T18:17:56+01:00</updated>
<published>2013-03-21T18:17:56+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3791#p3791</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3791#p3791"/>
<title type="html"><![CDATA[Re: [BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3791#p3791"><![CDATA[
Hi Samir,<br /><br />I'm looking at the logs and it could be a case-sensitive problem?<br /><br />Mar 21 18:00:15 yrva361 ykmap[24727]: LOG_DEBUG:ykmap-synclib:dsi:db:[127.0.0.1] [vjjtbfkfrtit] DB query is: SELECT * FROM ykmaps WHERE keyword = 'username' and value = '<strong>USER@AUTH.LOCAL</strong>'<br /><br /><br />But the ykmap is using lowercase:<br /><br />Mar 21 18:00:16 yrva361 ykmap[11046]: LOG_DEBUG:ykmap-query:dsi:db:DB query is: SELECT * FROM ykmaps WHERE keyword = 'username' and value = '<strong>user@auth.local</strong>'<br />Mar 21 18:00:16 yrva361 ykmap[11046]: LOG_DEBUG:ykmap-common:SIGN: status=<strong><span style="color: #BF0040">NO_RECORDS_FOUND</span></strong>&amp;0=&amp;t=2013-03-21T18:00:16Z0368 H=yxYLd4z6TztXwU8R/xSuslqNTjM=<br /><br />P.S.: I'm sending you the logs.<br /><br />Thanks<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2362">angelfire</a> — Thu Mar 21, 2013 6:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[samir]]></name></author>
<updated>2013-03-21T07:03:11+01:00</updated>
<published>2013-03-21T07:03:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3785#p3785</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3785#p3785"/>
<title type="html"><![CDATA[Re: [BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3785#p3785"><![CDATA[
Hello,<br /><br />Please send the following Log files at &quot;support@yubico.com&quot; .<br /><br />1. Please configure the log files with the following settings from the webmin console:<br />1. Login to webmin<br />2. Go to &quot;System&quot; &gt;&gt; &quot;System Logs&quot;<br />3. Click on log file (ykropval.log ,etc. mentioned below)<br />4. Select &quot;all&quot; option in &quot;priorities&quot; field of &quot;Message types to log&quot; section<br />5. Please click on &quot;save&quot; button to save the changes.<br />6. Please repeat step 3, 4 and 5 for other log files mentioned below.<br />7. Please click on &quot;Apply Changes&quot; button on System Logs page<br />8. Go to &quot;Servers&quot; &gt;&gt; &quot;YubiRADIUS Virtual Appliance&quot;<br />9. Navigate 'Global Configuration' &gt;&gt; 'FreeRADIUS' menu, please enable FreeRADIUS Logging<br />10. Could you please ssh to the YRVA instance and restart the rsyslog process by executing the following command:<br />    /etc/init.d/rsyslog restart<br />11. Please try to add the user and test the user with YubiKey credentials.<br /><br />Please send us the following log files:<br />/var/log/syslog<br />/var/log/messages<br />/var/log/ykval.log<br />/var/log/ykropval.log<br />/var/log/ykmap.log<br />/var/log/freeradius/radius.log<br />/var/log/postgresql/postgresql-8.4-main.log<br />/var/log/apache2/error.log<br />/var/log/apache2/access.log<br />/var/log/debug<br /><br />2. If you have already configure the webmin logs, please send &quot;webmin.debug&quot; file available at /var/webmin/webmin.debug<br /><br />If not please configure the log file with the following settings from the webmin console: <br />1. Login to webmin<br />2. Go to &quot;Webmin&quot; &gt;&gt; &quot;Webmin Configuration&quot;<br />3. Please Click on &quot;Debugging Log File&quot;<br />4. Please Click on &quot;yes&quot; option of &quot;Debug log enabled?&quot; <br />5. Please click on &quot;save&quot; button to save the changes.<br />6. Please once again Import Users.<br /><br />Please find the &quot;webmin.debug&quot; file at /var/webmin/webmin.debug<br /><br />3. Please brief on any other observations and please send the screen shots, error messages observed.<br /><br />Thanks and best regards,<br />Samir.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1076">samir</a> — Thu Mar 21, 2013 7:03 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[angelfire]]></name></author>
<updated>2013-03-19T15:42:32+01:00</updated>
<published>2013-03-19T15:42:32+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3774#p3774</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3774#p3774"/>
<title type="html"><![CDATA[[BUG] YubiRADIUS 3.6.1 - YubiKey status]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1007&amp;p=3774#p3774"><![CDATA[
Hi,<br /><br />After asigning a yubikey to a user, the yubikey status is <span style="color: #00BF40">green</span> (OK) in the &quot;List Yubikeys&quot; tab.<br /><br />But in the users/groups tab under Domain, the status for the same user is a <span style="color: #BF0000">red</span> cross (KO).<br /><br />Thanks!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2362">angelfire</a> — Tue Mar 19, 2013 3:42 pm</p><hr />
]]></content>
</entry>
</feed>