Archive for the ‘Open Source’ Category

Ubuntu Jaunty Jackalope Caters to Web Applications and the Cloud

Tuesday, September 9th, 2008

I’ll admit, I am a fan of Ubuntu. I run it on all my personal and home computers with the exception of one (8 in total) and have nothing to complain about. Now the new version, expected to be released in April 2009,  is expected to see improvements in booting and operational speeds. That is always a good thing, but what I don’t understand are the claims that the new OS version, code named “Jaunty Jackalope” will cater to Web Applications and the Cloud (cloud computing). I have not heard of any other company making such claims, and I wonder exactly how they plan to “cater”.  As far as I can see, no other details have been discussed. It’s unclear if Canonical will make OS or code changes somehow to improve support for web applications, or just make them more available through the UI.

Change of Plans - As I was writing the above, Something occurred to me.

Some points of interest

  • Google uses a custom version of Ubuntu for internal operations.
  • Google has generated a lot of Buzz recently about entering the office application market opposite Microsoft.
  • Canonical/Ubuntu has made impressive progress bringing an alternative desktop operating system to market and is regarded by some as an acceptable replacement to Microsoft.
  • Following the Quote from Mark Shuttleworth himself, it does sound like Canonical and Google have been at least talking about ways to “finalize Jaunty plans”.
    "We will be gathering forces in Mountain View on 8th - 12th December to
    survey the upstream landscape and finalize Jaunty plans, enjoying the
    excellent hospitality of Google and Silicon Valley's abundance of talent
    and innovation." - Mark Shuttleworth

Warning - Pure Speculation Follows:

Is it possible that Canonical’s intention to cater to web apps means teaming up or forming some sort of partnership with Google to use or push Google’s suite of web applications (Google Apps) while providing a competitive operating system to rival Microsoft?

References:
http://bits.blogs.nytimes.com
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html

How-to: Active Directory Authentication with WordPress

Tuesday, July 15th, 2008

Why Use Active Directory with WordPress?

I recently set up a WordPress Blog internally for our company to use over our intranet to help improve communication, collaborate, share and develop ideas, and stay informed about company announcements or current events.. etc.

One of the requirements I had was to allow authentication against our Active Directory. Yes, we operate a Windows network primarily, but you can also authenticate against other LDAP directories as well. This was important from an IT position as well as the participants of the blog. I felt people would be more likely to participate if they didn’t have to manage separate user accounts for each service on the intranet. I also set up a Wiki that is Active Directory enabled. I’ll post about that at a later time. The point is, it makes little sense to create different credentials for each user with each new service. It not only becomes a hassle for IT to track and manage the accounts, it’s also a drag for participants to keep track of and manage their username and password pairs for each service. The result would most likely lead to lack of use and that is not what we want.

Integrating the existing Active Directory accounts means that each participant can access these services using the same credentials they use to access or log into their network accounts and desktops. When time comes to change passwords, you need only to update the Active Directory account and your done. Simple! What could be better?

Starting Point

The first thing we needed to do was find out how to include AD Authentication with WordPress 2.5. There are a small number of plugins that claim to allow AD Authentication, but from what I came across, most of them were older and no longer actively maintained. But…there were two in particular that still showed signs of being actively maintained and had promise.

The first was was aptly called “Active Directory Authentication

The other plugin and the ultimately the one I managed to successfully include is wpDirAuth.

The Trials

Although I was able to get wpDirAuth to work with WordPress 2.5, there was a catch. The current “Official” release of wpDirAuth as of this writing is version 1.2 which is not compatible with WordPress 2.5 so there was some work involved to make this happen. I visited the wpDirAuth plugin page to look at the install directions. They seemed easy enough. It wasn’t until I actually installed and activated the plugin that I realized it wouldn’t work. My next stop was the support channel that the author set up to help troubleshoot install and authentication issues. It was here that I learned there was a patch already available and provided by a generous wpDirAuth user - Adam Yearout. I applied the patch and then tried to login with my network credentials again, and … No luck! By now I was scratching my head. Searching and reading all the information I could find, I finally found myself on the wpDirAuth Developer Support Channel. This was another channel set up specifically for developers. It was here that I uncovered some clues as to what was happening and a small code tweak that was necessary to overcome the problem. Apparently, the author of the plugin assumed that the login name was also the name associated with the Active Directory Account Email, which in most cases is true, but not always. For example username: johndoe would by default have an email johndoe@domain.com. In my case, my email and name and login name were not the same, so the logic that the plugin author used would not work. The good news is that the fix is a fairly simple one if you know where to look and the dev channel contained all the clues needed to find the info.

Setting up wpDirAuth with WordPress 2.5

For this how-to, I am using wordpress 2.5 installed on an Ubuntu 8.04 LTS server With Apache2 and PHP5. There is no GUI and I am not running an ftp server on this server so all settings and changes are completed using putty over SSL. (more…)

Another example why Open Source is a good thing! (MySql + SharpDevelop)

Friday, November 16th, 2007

I have some new additions and apps that I wanted to integrate into our company web (the company I work for) but this required upgrading from ASP.Net 1.1 to ASP.Net 2.0. Seems simple enough, right? I wish..!!

The site uses the MySql .NET Connector (a native ADO connector for .Net) available from MySQL AB. This worked flawlessly under the .Net 1.1 framework. I set up the 2.0 framework on our dev server and started testing the site localy to make sure all existing features and functions would still work after the switch. I am happy to announce that everything was working as expected (on the dev server). Now it was time to request the upgrade through the host. After receiving the confirmation that the request was completed, I open a browser and hit the company web. Warning Warning Error Error Error. Oh no!! What happened?

With the release of .NET 2.0, Microsoft included a new security model using a greater level of restriction. The host that is hosting our web makes use of these restriction levels and as it turns out, the .Net connector that we were using violated some .Net security and triggered a Security Exception.

Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.

I have to give Props to Microsoft for making the problem easy to identify. Looks like all I need to do is allow partially trusted calls from the MySql connector.

Here is where the Beauty of Open Source Software comes in.
(more…)

Plutohome, Asterisk and a X100P FXO Card

Tuesday, October 23rd, 2007

So I have been working on setting up a fully integrated home automation system available from PlutoHome.com. If you are not aware, PlutoHome is home automation system available to the open source community with features to satisfy everyone from simple home controls, to advanced voip and media integration.

My latest venture into setting up a complete automation system is to integrate my voice network with the built-in Asterisk server installed with PlutoHome. The first step was to set up and configure two GrandStream Budget Tone 200 sip phones. Pluto’s plug and play detection picked up the phones as soon as I connected them to the network and installed the necessary software needed to work within the system. Some quick additional settings within each phone and I was able to make calls over my internal network from one phone to another.

The next step was to set up in and outbound calling from the PSTN.
I installed a X100P FXO card from x100p.com and this is where the trouble started.

After installing the card into an available PCI slot, my PlutoHome system did not seem to detect it even after rebooting. I tried some of the common commands from a terminal window, but had no success.

The solution it turns out was to compile and install the Zaptel drivers available from Digium. For what ever reason, PlutoHome does not include (at least as far as I could see) full zaptel support.

After installing and configuring zaptel, I was able set up inbound and outbound calling over the PSTN from my PlutoHome system.

In a later post, I will describe the process I used to install the zaptel drivers.

Installing LinuxMCE 1.1 Beta 2 - The Good, The Bad, and The (mostly) Ugly!

Monday, June 4th, 2007

I have been using PlutoHome as a home automation solution to control lighting, media (A/V), and my home phone network. LinuxMCE is a direct branch of PlutoHome originally ported to run on top of an Ubuntu Desktop. With the latest Beta of LinuxMCE, the desktop of choice is now Kubunu, the KDE version of Ubuntu. This change was made in order to overcome a limitation of Gnome’s X11 implementation that is not apparent in KDE.

To start things off, I downloaded 3 ISO files.

  1. Kubuntu install disk
  2. LinuxMCE Packages disk
  3. LinuxMCE Cache Disk

The LinuxMCE Packages and Cache disk are available as a single torrent file.

After downloading the ISO files, they were burned to CD using Nero.

Installing Kubuntu:
The first step to the actual install is make sure the target system is able to boot from a CD. This can be set by accessing the system BIOS, and setting the CDRom as the first boot device in the boot sequence. Refer to you Motherboard’s BIOS information for instructions on setting this up. (more…)