MySQL and Percona PAM Authentication with Kerberos

•February 5, 2016 • Leave a Comment

In an ongoing project, I have an environment where users will be authenticating directly with the database.

I did not want to manage the users in the database, as there are too many and password management isn’t something I want to be responsible for.

Fortunately, I have a RHEL (Red Hat Enterprise Linux) 7 environment that relies on kerberos for authentication for user accounts. I thought integrating the Percona PAM plugin with it would be relatively easy… oh, how wrong I was.
Continue reading ‘MySQL and Percona PAM Authentication with Kerberos’

perl – Search and Replace: Output filename and line numbers

•May 23, 2013 • Leave a Comment

It’s a great idea to change your password often, but what do you do when they are hard coded in hundreds of files?
Yeah, yeah, I know the proper way to fix this is to do some heavy refactoring. Management loves this word, and the typical reaction is the demand for an immediate fix…. like NOW!
Continue reading ‘perl – Search and Replace: Output filename and line numbers’

PHP LDAP Self Signed Cert

•August 23, 2012 • Leave a Comment

On Ubuntu, and trying to authenticate with ldap with a self signed cert?
Continue reading ‘PHP LDAP Self Signed Cert’

PHP – Use of undefined constant OCI_COMMIT_ON_SUCCESS/OCI8 install

•June 28, 2012 • Leave a Comment

Often when I move to a new box to do development, I get all happy with coding before I realise that I don’t have PHP OCI8 installed… you just get used to it being there and then you encounter the wonderful error:

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS – assumed ‘OCI_COMMIT_ON_SUCCESS’

Continue reading ‘PHP – Use of undefined constant OCI_COMMIT_ON_SUCCESS/OCI8 install’

Exchange Web Services (EWS), NTLMv2 and Linux

•April 25, 2012 • 5 Comments

I recently undertook a project that involved the consumption of Exchange Web Services through PHP on Redhat Linux. After a few tests, I knew this wasn’t going to be easy as I kept getting a 401 error. After trying out a few libraries, I decided to start off with a simple test so I could get to the root of the problem.
Continue reading ‘Exchange Web Services (EWS), NTLMv2 and Linux’

Ubuntu find and delete files and directories/folders

•January 7, 2012 • Leave a Comment

There is often the time when you need to find some files in a certain directory/folder and delete them. One such example is cleaning out the .svn directories/folders from a copy (when you should’ve done an export).

First build your find command, for finding .svn directories/folders:
Continue reading ‘Ubuntu find and delete files and directories/folders’

What is power shifting?

•January 6, 2012 • Leave a Comment

Power shifting is a method of shifting commonly used in car racing, particularly drag racing.

So, what is power shifting?
Continue reading ‘What is power shifting?’

What is lift shifting?

•January 5, 2012 • Leave a Comment

Now that I’m a reborn racing enthusiast, there are probably going to be more and more car/racing posts.

With this said, a question that is often asked (especially in drag racing) is:

What is lift shifting?

Continue reading ‘What is lift shifting?’

Evo X – THSCC Carolina Motorsports Park Oct. 2011

•October 23, 2011 • 1 Comment

My first track event with my Evo, and it was the best thing I’ve done for myself in a long time.
The track at Carolina Motorsports Park is a twisty fun track (well maintained too). Even though this track is a little hard on the brakes and tires, it is worth it. The video I have is from Saturday Oct. 15th, and I was hoping for more footage on Sunday…. but it didn’t happen.

Thumbs up to Force-Fed for all their work!


Ubuntu – Oracle – oci8 install results in
oci.h: No such file or directory

•September 8, 2011 • Leave a Comment

Assuming you have the instant client installed, a symbolic link needs to be made for the header files in order for pecl to pick it up during the oci8 install… but where to link it to?
Continue reading ‘Ubuntu – Oracle – oci8 install results in
oci.h: No such file or directory’