<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog"/>

<title>!NULL but NAN either 5f4dcc3b5aa765d61d8327deb882cf99 </title>
<modified>2012-04-13T19:05:03Z</modified>
<tagline>nzr.</tagline>
<author><name>Kelly</name><email>info@penguinpackets.com</email></author>
<entry>
<title>More Roundcube?  2 blog entries about PHP in 1 day?</title>
<issued>2012-04-13T19:05:03Z</issued>
<modified>2012-04-13T19:05:03Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01334343903</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01334343903"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Instead of debugging your Roundcube, look for history!
&lt;hr&gt;
&lt;br&gt;Say you have an install of Roundcube.
&lt;br&gt;Say you log in as a user, log out, and re-login (that or any other user).
&lt;br&gt;Say you expect it to work.
&lt;br&gt;It will, but not on the first try.
&lt;hr&gt;
line This gem from 2005 sums it up. &lt;a href=&quot;http://roundcubeinbox.wordpress.com/2009/08/&quot;&gt;http://roundcubeinbox.wordpress.com/2009/08/&lt;/a&gt;
&lt;hr&gt;
&lt;br&gt;&lt;b&gt;* After I log out, the first login after that always fails. Second one succeeds.&lt;/b&gt;
&lt;hr&gt;
&lt;br&gt;And Split Enz says, &amp;quot;History Never Repeats&amp;quot;.  I have to disagree.</content>
</entry>
<entry>
<title>Roundcube, beware the IMAP user....</title>
<issued>2012-04-13T16:04:34Z</issued>
<modified>2012-04-13T16:04:34Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01334333074</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01334333074"/>
<content type="text/html" mode="escaped">
&lt;br&gt;If you are having login issues in Roundcube using remote host IMAP...
&lt;br&gt;Verify that the user name in the Roundcube matches the one in your IMAP back end (including case).
&lt;br&gt;
&lt;br&gt;If you change your back end user name upper / lower case, Rouncube will still have the other version of that user name, and fail the login
&lt;br&gt;(but probably succeed on the IMAP back end (if the back end is set to ignore case).
&lt;br&gt;Roundcube keeps the version from the first log in, and won't create a new one.
&lt;br&gt;
&lt;br&gt;I could imagine where Roundcube would treat this as just another case of a &amp;quot;new user&amp;quot; and chuck in a new user with the changed case, but it does not.
&lt;br&gt;Best just to not change your back end user name once they have logged in using Roundcube.
&lt;br&gt;Or set Roundcube to ignore case....
&lt;br&gt;But that rope has been pissed up already :-):
&lt;br&gt;&lt;a href=&quot;http://trac.roundcube.net/ticket/1487681&quot;&gt;http://trac.roundcube.net/ticket/1487681&lt;/a&gt;
&lt;hr&gt;
&lt;pre&gt;
I have a user who used a login with uppercase characters at his first time login in roundcube some time ago with a older version of roundcube.
In the database in the table users his username also has this uppercase characters. After upgrading to version 0.5 of roundcube he was not able
to login anymore because the login seems now to be case-sensitive. Changing $rcmail_config['login_lc'] to true does not help at this point
because the username string in database will not be converted to lowercase character. I use e-mail addresses as login and a mysql database.

Steps to reproduce:

change a character of your username to uppercase in database in table users
set $rcmail_config['login_lc'] to true in the config
try to login
Workaround: Convert all usernames in your database in table users to lowercase.

Change History

comment:1 Changed 15 months ago by alec

Milestone changed from later to 0.6-beta
I think we'll not fix this. Use your workaround and forget.

comment:2 Changed 14 months ago by charly

Let me understand:

If a new user logs into the new RC, there will be no error.
The error occurs if an older user, from an older version of RC, has typed his username with wrong case, then
after upgrading RC to the latest version there are case problems.
If i understand correctly, to &amp;quot;fix&amp;quot; this bug we need to write some lines documenting this behavior into
KnownIssues and Upgrade wiki pages and into the TXTs distributed with RC.

I don't agree to change any line of code; may be provide a sample sql command or somethin in the Documentation.

comment:3 Changed 11 months ago by alec

Status changed from new to closed
Resolution set to wontfix
Added comment in config file and wiki.
&lt;/pre&gt;
&lt;hr&gt;
&lt;br&gt;Update! The lower case option should be set from the get-go:
&lt;br&gt;&lt;a href=&quot;http://trac.roundcube.net/wiki/Howto_KnownIssues&quot;&gt;http://trac.roundcube.net/wiki/Howto_KnownIssues&lt;/a&gt;
&lt;br&gt;If you set it correctly from the get-go, all will be okey dokey!  See section below from the link above (if you are lazy and don't want to click).
&lt;hr&gt;
mono
Login case-sensitive

&lt;p&gt;User logins are case-sensitive in Roundcube. However, you can use 'login_lc' option to make them case-insensitive. Exactly it forces all logins to be lowercase before logging in and registering a user. After enabling this option, user records needs to be updated, e.g. with query &amp;quot;UPDATE users SET username = LOWER(username);&amp;quot;.

&lt;p&gt;</content>
</entry>
<entry>
<title>OS X tricks</title>
<issued>2012-04-11T19:58:33Z</issued>
<modified>2012-04-11T19:58:33Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01334174313</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01334174313"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Want to change the hostname and have it stick?
&lt;br&gt;Even though we have the hostname command, you need more:
&lt;br&gt;scutil --set HostName name-of-host
&lt;br&gt;man hostname for that one.</content>
</entry>
<entry>
<title>Limiting your password-less ssh login via command</title>
<issued>2012-03-29T18:06:42Z</issued>
<modified>2012-03-29T18:06:42Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01333044402</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01333044402"/>
<content type="text/html" mode="escaped">
&lt;br&gt;If you have a ssh limited login shell that runs only one command via the authorized_keys file,
&lt;br&gt;but you want to extend it, try this:
&lt;pre&gt;
In your authorized_keys for the login, extend the &amp;quot;command=&amp;quot; bit:

command=&amp;quot;/bin/limitedcommand; ${SSH_ORIGINAL_COMMAND}&amp;quot;

&lt;/pre&gt;
&lt;br&gt;You have just opened it up for other commands to be passed in.
&lt;br&gt;Not useful if you want to limit for security reasons, but could be
&lt;br&gt;useful if you want to extend some login say for check_mk
&lt;br&gt;to allow for event handler to restart  a service.</content>
</entry>
<entry>
<title>Asterisk - stuff for later:</title>
<issued>2012-03-23T17:06:32Z</issued>
<modified>2012-03-23T17:06:32Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01332522392</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01332522392"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Here are some quick ones for later:
&lt;hr&gt;
&lt;br&gt;What are the state of sip registrations:
&lt;hr&gt;
&lt;pre&gt;
asterisk -rx &amp;quot;sip show peers&amp;quot;
&lt;/pre&gt;
&lt;hr&gt;
&lt;br&gt;Have stuck channels - i.e. call won't hang up?
&lt;hr&gt;
&lt;pre&gt;
asterisk -r
pbx*CLI&amp;gt; core show channels
Channel              Location             State   Application(Data)
SIP/EXT-blahhhhhh    couch                Up      Dial...

channel request hangup SIP/EXT-blaaaah
&lt;/pre&gt;</content>
</entry>
<entry>
<title>Handy Python:</title>
<issued>2012-03-20T18:33:12Z</issued>
<modified>2012-03-20T18:33:12Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01332268392</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01332268392"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Ever go crazy converting dmesg ticks to real date time?
&lt;br&gt;Thanks to Saghul and his insightful bit of Python you don't need to be poor anymore!:
&lt;br&gt;Here is the link:&lt;a href=&quot;http://code.saghul.net/pydmesg-dmesg-with-human-readable-timestamps&quot;&gt;http://code.saghul.net/pydmesg-dmesg-with-human-readable-timestamps&lt;/a&gt;
&lt;br&gt;Since Saghul says it is under public domain, I have a copy here for you as well:
&lt;br&gt;See comment on this rev for license: &lt;a href=&quot;https://gist.github.com/542780&quot;&gt;https://gist.github.com/542780&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.penguinpackets.com/~kelly/kblog-files/blog/01332268392/pydmesg&quot;&gt;pydmesg&lt;/a&gt;</content>
</entry>
<entry>
<title>There is light at the end of the tunnel!</title>
<issued>2012-03-15T14:31:39Z</issued>
<modified>2012-03-15T14:31:39Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01331821899</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01331821899"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Fear it might be a train.  I suppose if I run, I might catch it!</content>
</entry>
<entry>
<title>PyCon videos for 2012</title>
<issued>2012-03-13T16:56:06Z</issued>
<modified>2012-03-13T16:56:06Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01331657766</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01331657766"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Even though I can't go, I can still enjoy what transpired.
&lt;br&gt;Thinking in a future life that I may attend a PyCon or two.
&lt;br&gt;Oh, suppose I should provide a link &lt;a href=&quot;http://pyvideo.org/category/17/pycon-us-2012&quot;&gt;http://pyvideo.org/category/17/pycon-us-2012&lt;/a&gt;</content>
</entry>
<entry>
<title>Does Ultratax require oplocks to be turned off?</title>
<issued>2012-02-22T20:21:45Z</issued>
<modified>2012-02-22T20:21:45Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01329942105</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01329942105"/>
<content type="text/html" mode="escaped">
&lt;br&gt;
&lt;pre&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRxSmb\Parameters -&amp;gt; New &amp;gt; DWORD Value -&amp;gt; 1 = off.
&lt;/pre&gt;
&lt;br&gt;
&lt;pre&gt;
server side:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -&amp;gt; New &amp;gt; DWORD Value (hex 0 for off?) - strange.
&lt;/pre&gt;
&lt;br&gt;If using SMB2, not so easy: &lt;a href=&quot;http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html&quot;&gt;http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html&lt;/a&gt;</content>
</entry>
<entry>
<title>Super WTF - Microsoft Server 2008 R2 no longer supports running programs from a mapped drive in a TS environment?</title>
<issued>2012-02-22T16:37:18Z</issued>
<modified>2012-02-22T16:37:18Z</modified>
<id>http://www.penguinpackets.com/~kelly/kblog/blog/01329928638</id>
<link rel="alternate" type="text/html" href="http://www.penguinpackets.com/~kelly/kblog/blog/01329928638"/>
<content type="text/html" mode="escaped">
&lt;br&gt;You have got to be kidding me.  They suggest you install all programs locally, or use Webdav? :&lt;a href=&quot;http://support.microsoft.com/kb/2536487&quot;&gt;http://support.microsoft.com/kb/2536487&lt;/a&gt;

&lt;p&gt;&lt;a href=&quot;http://www.penguinpackets.com/~kelly/kblog/More here: http:/www.bearnakedcode.com/2011_06_01_archive.html&quot;&gt;More here: &lt;a href=&quot;http://www.bearnakedcode.com/2011_06_01_archive.html&quot;&gt;http://www.bearnakedcode.com/2011_06_01_archive.html&lt;/a&gt;&lt;/a&gt;</content>
</entry>
</feed>

