Posts By: jonny

PHP LDAPS

When using SSL connections ot an ldap server (active directory) the ldap functions worked with non-SSL connections but not with ldaps connections. I believe this is because I was using the hostname of the LDAP server rather than the service name and thus the SSL certificate did not match the server name I was using…. Read more »

Grub 2 Windows 7

I had initially installed Windows 7 then Ubuntu 9.10 on a singe SATA disk. Later I added an IDE disk and plugged in the SATA DVD drive and can no longer boot into Windows 7, with the error: error: invalid signaturePress any key to continue.. Back in Ubuntu I could see that my inital SATA… Read more »

Ubuntu Panels Lock Down

My sister had an issue with somehow moving the panels to different sides of the screen so to lock them down: In a terminal type: gconf-editor Expand apps > panel > globaland tick the option for locked_down

Debian chkconfig

On Debian-based systems adding a script to runlevels is accomplished with the following (assuming you have the script in /etc/init.d): update-rc.d -f myservicename start 80 2 3 4 5 . stop 30 0 1 6 . The priority (80 for start and 30 forstop) is set and the runlevels (starting in 2 3 4 5… Read more »

Set MySQL to Read-Only

For a backup server which we may want to run as read-only for short maintenance periods the following may be useful.Method 1: Global read_onlyLogin to MySQL and set the read_only setting to true: mysql -u root -pset GLOBAL read_only = true; To unset this run: set GLOBAL read_only = false; Method 2: Read LockAnother method… Read more »

DVD-RAM on Ubuntu

Some small steps with DVD-RAM on Ubuntu 9.10. I inserted a blank DVD-RAM disk and it was not automatically mounted. I tried mounting but there was no filesystem, so I formatted it as a test with: mkfs.ext2 /dev/sr0 which took a while!Then mounted it with: sudo mount /dev/sr0 /home/me/tmp/dvdram -o rw Unmounted with: sudo umount… Read more »

Backupify Cloud Backups

As an extra precaution to protect data in the cloud I set up a free Backupify account which can be configured to make daily/weekly backups of Blogs, Gmail, Google Docs etc.  After making backups the individual files/emails can be browsed and downloaded. I imagine that the restore process will only get better. I would at… Read more »

Ophcrack Recover Passwords

Ophcrack LiveCD can be used to recover lost Windows passwords based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. It comes with a Graphical User Interface and runs on multiple platforms.

Exchange Offline Address Book Not Updating

Some users where complaining about the Offline Address Book being out-of-date. Checking the Event Viewer on the cluster node which creates the OAB showed the following error: OALGen detected that the file ‘…..lzx’ is corruptedor missing. This indicates data tampering or disk problems. Restorefiles in this folder from the recent backup or clean up folder… Read more »