Archive for January, 2010

OpenLDAP and md5crypt

Saturday, January 23rd, 2010

I’ve got some machines which authenticate their local users against OpenLDAP, and I wanted to reset some passwords from a Perl script.
First I tried just calling modify from Net::LDAP. That worked but just set the new password as plain text. My passwords appear to be “md5crypt”, and normally look like this:

{CRYPT}$1$fywXcrPC$Uakrx8POGBf1WM9l6mkG6/

I could come [...]

Linux software RAID hot swap disk replacement

Sunday, January 17th, 2010

One of BitFolk’s servers in the US has had first one and then two dead disks for quite some time. It has a 4 disk software RAID-10, so by pure luck it was still running. Obviously as soon as a disk breaks you really should replace it, preferably with a hot spare. [...]

THING!

Tuesday, January 5th, 2010

I always find it adorable when Jenny talks to me in her sleep, especially when my responses obviously provoke a reaction without waking her up.
Out of nowhere just now:

Her: Erm. Erm. If you’ve separated all the wood stuff how are you going to separate the rest?
Me: What wood stuff?
Her: From my bit.
(voice manages to convey [...]

Feltham Airparcs leisure centre FAIL

Monday, January 4th, 2010

Feltham Airparcs leisure centre has for the last 2 weeks — and ongoing — closed at 4pm, instead of 10pm, because the emergency lighting doesn’t work.
The actual lighting works fine, it’s just that if the lighting did fail then there’d be no emergency lights directing the shallow end of the gene pool to safety.
So the [...]