PHP Active Directory Integration: get userAccountControl attributes

While trying to integrate an Active Directory based login in my PHP application, I came across the problem of checking which user accounts were not disabled. After going through some forums I did the following to see accounts which were not disabled: $result = ldap_search($ad, "OU=Users,OU=Office1…

Some of the tools I use

I  was going to write about Notepad2 but just didn't get around doing it. So here I am just listing out a few tools I use : Notepad2 (Windows notepad is dead, this one has truly replaced all my windows systems) WinMerge (diff tool) Softerra LDAP Administrator (amazing ldap manager) Easy…

TAR to the rescue

Recently I had to automate a few very VERY redundant tasks on Mac. We have been using PowerGlot - an application used to localize nib and string resources. The following were the steps which are used to localize any application: Choose the English Resource Folder (which contains nib and string…

We are sinking!!!

Its been a while since I wrote anything, have been pretty busy over the last few days. I came across a funny ad so sharing it here. :) [flashvideo filename="misc/wearesinking.swf" width="420" height="240" /]…

Essay: The Cow - a must primer to learn the English Language!

The following essay has been around since I was a kid, which wasn't a very long time ago, and it sure has passed the test of time. I know it has been on many websites but I must share this for it formed the very base of my learning path…

Spider Pig - Good Music

I have been listening to Spider Pig by Hans Zimmer most of today. Nice haunting music :) from The Simpsons. Most of Hans Zimmer music is really good, specially the tracks from the movie Black Hawk Down. For those who appreciate the sense in the nonsense here is the Spider Pig…