Archive for May, 2008

A couple people at work pointed out that would not load when browsed through the squid proxy cache.  However, it would work if you could browse directly to the site with no proxy between.  Some web searching turning up the following information that somehow managed to break itself when browsing through squid.  To correct the issue, add the following lines to your squid.conf:

# Fix broken sites by removing Accept-Encoding header
acl broken dstdomain
header_access Accept-Encoding deny broken

Restart squid with squid-k reconfigure and should be working again.

On a somewhat related note, Windows XP service pack 3 was loooong overdue.  I found a Microsoft hotfix today for Windows XP going back to 2006 that fixes kernel problems when over 1Gb of RAM is installed.  Unfortunately this fix never made it in to the automatic update channel but it has been included in SP3 – which was only release 3 weeks ago.  I guess when XP came out in 2001, not a lot of Microsoft engineers thought it would still be used quite heavily 7 years later.  Vista?  Pth…try again, Microsoft.  Mac OS X 10.5 seems to be the most modern operating system right now.  It may not be perfect (is anything truly perfect though?) but it’s still much better than Vista.

Comments Comments Off

I noticed something a bit odd on the Active Directory integrated Linux systems I run at work. When listing all of the running processes with “ps auxw”, the output would display the following:

root      3964  0.0  0.0   3060   688 tty6     Ss+  May07   0:00 /sbin/mingetty tty6
10010     5091  0.0  0.0   9980  2344 pts/0    Ss   08:26   0:00 -bash
bmartin   5592  0.0  0.0  35768  2524 ?        S    09:39   0:00 pure-ftpd (IDLE)
wwwrun   30349  0.0  0.1 176992  6508 ?        S    May12   0:00 /usr/sbin/httpd2-prefork

Looks pretty normal except for that second line where the user-id number is displayed instead of my proper user-name (lgoldenstein). I figured this might be caused by problems between Linux and the Active Directory user mappings. However, other Active Directory accounts display correctly in the ps output.

Some Google searching found the solution:
ps will only display the username if the username is eight characters or less. Otherwise, the user-id will be displayed.

Comments Comments Off