Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More