Increasing security of openldap password hashing

I’ve been trying to figure out how to change the hashing method of openldap from SHA to something more secure (specifically SHA2). After spending hours trying to custom compile it with a special overlay I found out how to use the unix crypt command. Of course, the instructions were for slapd.conf, not for olc. It’s […]

Resizing root partions in VMWare

Just a quick script to resize a root partition in linux live so I can remember. I’ll be writing up a explanation of all the steps later this week. echo “1” > /sys/class/scsi_device/0\:0\:0\:0/device/rescan echo “1” > /sys/class/scsi_device/2\:0\:0\:0/device/rescan fdisk /dev/sda partx -l /dev/sda partx -v -a /dev/sda vgextend /dev/vg_00 /dev/sda3 lvextend -l +100%FREE -r /dev/vg_00/lv_root

Data Science Tools/Tips

I was recently talking data science with a friend who wanted some good links and ideas on how to train non programmers on how to do data analysis. First thing is to determine what type of analysis is needed, visualization, correlation, causation, classification. Then you just start exploring. A few links came to mind, […]

Piwik and Load Balancers

Ran into an issue with Piwik not seeming to deal with load balancers and the X-Forwarded-For header. The documentation for setting up this relativly common thing is a little lacking in the official documentation, and I found it’s a bit prickly. I finally found the instructions here but it neglects to mention that it needs […]

Logstash and WSO2 Carbon Logs, dealing with Java Stack Traces

So, now that I’ve got my WSO2 Cluster setup, I get to diagnose issues. The biggest problem is that when trying to work through a cause I’ve got to look at half a dozen log files spread across half a dozen machines. Centralized logging is the solution of course. I prefer logstash and kibana because […]