Posts By: jonny

Unlocking Active Directory Accounts using LDAP

I am using PHP with LDAP to manage some aspects of user accounts within Active Directory. One of the things I needed to do was to reset the accounts of users who had incorrectly entered their password too many times. Initially I thought that the ‘useraccountcontrol’ field was what I needed as this is used… Read more »

LDAPS Active Directory Issues with php-5.3.3-27.el6_5.2.x86_64

I upgraded a CentOS server today updating PHP from

to

This stopped a PHP web application I had written from being able to communicate with Active Directory over LDAPS. Normal LDAP appears to continue working fine but when I change my connections back to ldaps they stop working. To deal with the problem… Read more »

SSH Socks Proxy for Web Browsing Private Network

We were configuring OpenStack on a private 192.168 network and needed to use a web browser to browse to the OpenStack dashboard. The quickest easiest way to do that is by:

From the ssh manpage: -D Specifies a local “dynamic” application-level port forwarding.  This works by allocating a socket to listen to port on… Read more »

SSH config for SSH Proxy Hopping

I regularly need to connect to SSH hosts behind a firewall via a single SSH host with SSH access enabled. Since I am connecting to many hosts through this proxy SSH host I can make my life a little easier by adding some entries to my ~/.ssh/config file: If I add the following:

I… Read more »

MySQL: Give a User Grant Permissions

I needed to create a new MySQL user that would be able to create new users itself and grant permissions to the accounts that it creates. To do so I used the following:

   

Linux Mint 64-bit and Steam

I had the following error message on Linux Mint when trying to play a new game:

Solved by installing the 32-bit libtxc as follows:

 

Linux GPS Logging Data

I took part in a swim this weekend – The Battle of Carlingford Lough. My friend Cormac gave his Panasonic Lumix camera to Mary in the kayak and set the camera to log GPS data. He sent me the GPS log file and I opened the log file with BT747 – a Java application that… Read more »

1and1 Overcharging for Backups

So back in November 2013 1and 1 contacted me to tell me they would be physically moving my server from one data centre to another: In the email on the 3rd November they advised signing up for 1and1 Professional Backup. They advised that the backup service would be free for two months and would automatically… Read more »