Installing Samba4 / SOGo / OpenChange on Ubuntu 14.04


I finally have a working install of Samba4, SOGo, and OpenChange.  It’s still in the testing stages, but I can access mail and calendar from Outlook, Caldav/IMAP, and the web page.  All data stays in sync, and it all looks stable.

I installed the darn thing so many times, I decided to script it.  The following is the script I use to install a complete Samba Active Directory domain, SOGo, and Openchange server.  This script comes with no warranty.  It’s license is GPLv2.  If you improve the script in any way, let me know.  I’ll try to make this one the ‘golden’ script.

The script prompts for data before it does anything.  However, it still asks for an Administrator password just after it installs Samba4.  The prompt will appear at the bottom of the screen.  The admin password is the same one you typed in during the scripts execution.

There’s still work to be done… clean up, maybe moving to bind9 instead of Samba4 DNS.  Let me know what you’d like to see, and I’ll try to do it.

The script below changes ‘>’ to ‘&gt’ and other weird stuff.

Update 2015-11-13

I had a perfectly working install, based off of a slightly modified version of this script. My intent was to grab the latest script and make it available for download here. Unfortunately, I deleted the VM before I did so. This is the best version of the script I have. It’s not too far off from what I had.

I’ve given up on SOGo due to lack of management tools. Adding users via Windows tools created incomplete users, and creating/maintaining distribution groups was something that never worked for me. I’ve moved to Kolab. I’d have gone to Zentyal, but couldn’t quite get that working either. I now use Kolab and Caldav/Carddav connectors with Outlook.

Read more here…

  • 0

    Why I left XenServer


    XenServer has been very good for us.  We have several clients using XenServer, and they are having no issues.  However, we have one specific client that was using XenServer and its snapshot functionality quite extensively, and XenServer has a critical bug with snapshots, especially over iSCSI.  The bug has been in place since at lease […]

  • 7

    GlusterFS 3.2.6 for XenServer 6.0


    I’ve been wanting to test GlusterFS running natively under XenServer for quite some time. In order to do so, I needed to compile GlusterFS specifically for XenServer 6.0.  I wouldn’t do this on a production server. Here’s how I did it, and the resulting RPM’s. Compiling GlusterFS Fuse is already included in XenServer 6.0, so […]

  • 4

    Using GlusterFS as a psuedo DropBox clone


    Well,  that didn’t last long.  Gluster worked fine for awhile, then suddenly I couldn’t log in to XFCE on my laptop.  I mounted the drive under Gluster as /home (removing the Gluster mount), and it all worked well again.  I’m not sure what happened yet, but /home disliked being under Gluster.  I’m looking for another […]

  • 4

    XenServer, iSCSI, and GlusterFS(NFS)


    I’ve been running XenServer on iSCSI for quite some time.  Performance and reliability have not always been the best, and sometimes it seems as though XenServer gets confused with snapshots and it’s LVM management. I decided I needed to either a) switch to NFS or b) change to a different iSCSI provider. Before I decided […]