Lovin' Me Some SOGo (#noapple)

I really want to thank “jm k” for sending me a note awhile back on the SOGo project.

One of my big complaints about Android has always been that one must rely too much on hosting your data at Google to get the most benefit out of it. I have a nonnegotiable requirement to be able to synchronize my contacts and calendars across devices, and for the moment Apple doesn’t force me to use iCloud. However, I want to move away from iOS, so some sort of sync solution is required.

Any solution must be multi-platform. Most of the guys in the office have iPhones and MacBooks. Jeff has an Android phone and runs Fedora on his laptop. I run Ubuntu on my work desktop and, for the moment, OS X on my Macbook Air and the desktop at home.

Enter SOGo. SOGo is an open source “groupware” (how I hate that term) solution that enables one to manage calendars and contacts through a webUI, as well as desktop and mobile devices. The webUI also includes an IMAP connector that lets you access an IMAP server (a lá Squirrelmail – although one of the gotchas that hit me was that I couldn’t send mail unless the “To:” address was in my contacts).

For those that think open source can’t be beautiful, the webUI is very clean and attractive. It’s also all AJAX-y so you can manage your information as if you were using a native app (i.e. right click on a contact to bring up a menu that lets you update, delete, etc.).

But the real power lies in its sync capabilities. It implements both CalDAV and CardDAV protocols, which are becoming more widespread, and it is now possible for me to sync up most of my worlds.

Getting started isn’t super easy, however. Jeff did most of the work getting it installed on one of our Debian Squeeze servers (they supply packages) and while it is easy to get the software on the machine, getting it configured is another matter. It is pretty important to use LDAP for user management, and since we don’t have tons of LDAP experience there was a learning curve.

Being the boss has its benefits, so I pretty much sat back and complained a lot. However, I was able to help in getting the Apple stuff to sync, and especially in the case of the OS X Address Book the procedure borders on ritualistic.

In the hope that someone else will find this useful, here’s how I got the Address Book to sync.

Launch the Address Book, go to Preferences -> Accounts and add a new CardDAV account. Put in your server name, username and password and hit “Next”. This will cause the application to verify its connection to SOGo.

In our case, it failed. My belief is that it is due to the fact that the path the the SOGo DAV share doesn’t start at root.

After a lot of trial and error, I found a solution. After you create the account, look in the

~/Library/Application Support/AddressBook/Sources

directory and you should see a code for the account profile, something like this:

12B84577-CE41-4AB8-9CD6-91E2796E3A99

Descend into that directory and you’ll see a file called “Configuration.plist”. You’ll have to edit that file and make three changes:


        <key>haveWriteAccess</key>
        <integer>1</integer>
        <key>isSharedABAccount</key>
        <integer>0</integer>
...
        <key>servername</key>
        <string>https://sogo.example.com:443/SOGo/dav/tarus</string>
        <key>username</key>
        <string>tarus</string>

Make sure “haveWriteAccess” is set to 1 (true), “isSharedABAccount” is set to zero (false), and the “servername” string should be the fully qualified path to your user’s DAV share on the SOGo server (the port must be explicitly stated, even though one would assume the “https” tag would default to that).

And please use SSL for the connection – this is a lot of personal data you’ll be putting up there.

Anyway, hats off to the SOGo team as well as to Jeff for getting this running. Check out their demo if you are interested (username and password both “sogo1”). Now all that we have left is to set up a Firefox sync server for bookmarks and passwords and we should have synchronization covered.

Terror and the Cloud

I’m finally finding time to write a little, and I’ve had this post queued up for a some time. It has no OpenNMS specific content, so please skip this one if that’s why you read this blog.

I spent a couple of weeks in Europe at the beginning of the month. Part of it was for the third annual OpenNMS Users Conference – Europe, and part of it was for a holiday.

After the conference, we left Frankfurt for Dresden, where we spent several days with some good friends. Many years ago, one of my friends hosted a foreign exchange student for a year. She was from Dresden, and we got to know her and her family. They treated us like royalty, and I enjoyed lots of dark beer as well as Eierschecke, a wonderful three-layer cake that is a specialty of Saxony.

From there we took a train to Prague. Prague is an extremely beautiful city, but I found it a bit crowded with tourists and the people I met a little cold (even when I struggled with my Czech – I studied Russian for a year and there are some similarities, but obviously not enough). I’m not judging the whole Czech people by this experience, I probably just didn’t make it to where the nice people lived and worked, but it wasn’t the experience I was expecting.

From Prague we went on to Budapest. My grandfather was born there, so perhaps that it why I found it so enjoyable. If you ever get the chance to go, stop by any convenience store and buy a bar of Túró Rudi. This is a chocolate and cheese confection that is simply wonderful, but alas it is not available outside of Hungary.

While in Budapest we visited the House of Terror museum. Despite its kitschy name, it is an amazing place: one part museum, one part art installation, and one part memorial.

This building was home to the secret police under the Nazi occupation (part of the Arrow Cross Party) as well as the secret police under the Soviets. It has three levels, and chronicles the various methods the government used to control the populace. One room that stuck with me contained three tables representing a farmer, a member of the middle class and a member of the bourgeoisie.

The farmer’s table was plain with a single electric bulb above it. On the table was a dissident’s pamphlet that was very simple, with just a few words. The table of the middle class was nicer, with a better light fixture above it, and a more complex pamphlet. The wealthy table was very fine, with a chandelier above it and a tightly worded, nicely written pamphlet.

Members of all three classes were imprisoned, tortured and killed.

The basement housed the cells and execution rooms. One cell was so narrow that the person could only stand. Another was low so they had to crouch. Still another could be partially filled with water in which the prisoner was forced to stand for days.

One of the most profound parts of the exhibition was a video where women who were interned in a prison camp were brought face to face with the woman who watched over them. While the women had recounted many horrible experiences at the hand of this supervisor, she, to this day, believes she did nothing wrong. One of the issues still debated in Hungary is the fact that many of the Hungarians involved with the persecution of dissidents are still alive and have never answered for their actions.

The whole museum deeply affected me.

They display lists of the members of the secret police, judges in the show trials, and their supporters, and I was happy to see the name “Balogh” was absent from them. It was a little more sobering to see Laszlo Balogh as one of the victims who died there.

So, what does this have to do with open source software?

When I returned from my vacation and caught up on the news, there were two main stories that caught my attention. The first was the story of (ex) Representative Anthony Weiner, who was involved in a scandal involving explicit pictures and Twitter (Seriously? Weiner? You can’t make stuff like that up).

The second was the announcement by Apple of the creation of iCloud. While almost all of the reviews were positive, I found the whole idea extremely frightening. Putting all of your mail, contacts, documents, music, etc. into one central repository where you have no control over who has access to it chills me to the bone.

Throughout the House of Terror are little alcoves containing antique telephones. If you pick one up and dial, you’ll hear actual phone conversations recorded by the secret police, some of which were used to detain citizens. One exhibit featured the equipment used to record those conversations. When you see what could be done just by tapping phones, I can’t imagine the potential for misuse that a service like iCloud represents.

Yes, I am writing this on a Macbook. Yes, I own an iPhone. I haven’t switched to Android because I can’t find a way to sync my information without going through Google, which is just as bad. I doubt I’ll end up using any Apple technology that requires iCloud, but there is a good chance I won’t be able to get away from it.

I’ve always viewed the Internet as the great equalizer – a tool for democracy in its purest form. It is very frustrating to see that perverted; to see people freely give up their privacy to places like Facebook and Twitter. When I see people go through the TSA lines at the airport with nary an outcry at this abuse of the fourth amendment, I see a populace that has already been conditioned not to question authority in the name of convenience, and it is only going to get worse.

So what should we do about it? I think that the Open Source Way imposes a moral obligation to fight this. As more information moves from personal computers to handheld devices, it will be harder and harder to control it, especially since there doesn’t really exist a truly free handheld operating system.

We should keep pressure on Google to open up more and more of Android to outside control. I would love to see open source alternatives to iCloud – the technology is cool, especially if you can control or firmly trust the servers on which it runs.

And please, please someone point me to a project that will enable us to sync contacts and calendars from our desktops to an Android phone without involving Google.

As the Weiner debacle demonstrates, we can’t expect our government to understand the technology behind the Internet. We can’t expect them to understand enough about our online privacy to want to protect it. It is up to us.

Alexis de Tocqueville is credited with saying “In every democracy, the people get the government they deserve.” I think we deserve the best, and it is up to us to create it.

Open Source for Sale

I have been asked to submit a monthly column to opensource.com on running an open source business, based on the other two columns I have written for them.

The current column was published today, and it addresses setting prices for open source services. The next four I have queued up in my head are the open source sales process, business tools, when customers don’t pay and copyright assignment.

I hope folks find them useful.

Just a Quick Update

I have just returned from visiting the gang over at the Indiana Linux Fest in preparation for tomorrow’s conference. It looks like it’s going to be a great time, and I am humbled that they asked me to be the keynote speaker. I hope I don’t disappoint.

In other news, I finally have time to comment on a 451 Group post by Matt Aslett this week called “When commercial open source goes bad“.

To me, their new report on proprietary companies going open source (and in some cases failing) echoes some of my sentiment that “fauxpen source” as a business model is dead.

Specifically, I liked this paragraph:

Meanwhile one of the prominent “open source” systems management vendors appears to have removed all mention of its Community Edition software from its website, while the Community Edition itself has not been updated for 15 months. While the project is not officially “dead” it is, to say the least, “pining for the fjords” and the company in question could be said to be open source in name only.

Although they don’t call out Groundwork Open Source by name, some of my three readers may remember my post from last year about Groundwork deciding to stop publishing their “community” or open source version. According to Sourceforge it hasn’t been updated since December of 2009 (so much for release early, release often). Back then, when I asked Tara Spalding, Groundwork’s Chief Marketing Officer, about the rumor that the open source version was dead, she replied:

That is untrue, and the rumor mill is pretty lame.

I’ve noticed that Tara is no longer with Groundwork, and the rumor mill seems to have been validated.

But still, this morning, Roberto Galoppini posted on his blog about “open source webinars” and included Groundwork, when it is obvious that Groundwork can no longer be considered open source in any real fashion. I asked him about it, but my comment is still waiting moderation as I write this so I’m not sure if he’s seen my question.

I think that most proprietary companies will adopt some form of open source in the next few years, but it is one thing to use open source and/or provide some open source code and another to advertise yourself as an open source company. As an end user, you have to ask yourself if you want to use a product by a company whose marketing is that misleading.

I’m betting you won’t.

gov.eg

I am writing this from the Air France lounge in the Lisbon airport. In a few hours I should be back in England in preparation for our training next week. I took the time to catch up on the news.

I’ve been following the unrest in Egypt closely. While I have never visited Egypt, I have been to the Middle East a couple of times and I’ve found the people there to be some of the most friendly on the planet. And don’t get me started on the delicious food.

We have commercial customers in Egypt, including the government. I sent out the following note out to them today. I’m not sure if they will receive it, so I wanted to post it here:

Hello.

Working in open source brings together people of all nations and beliefs.

I just wanted to send to you this note that we are all wishing you safety and health during Egypt’s troubles. We sincerely hope that the issues are resolved soon and in a way that provides freedom and prosperity for all.

We are thinking of you in our prayers.