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 ‘>’ and other weird stuff.
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.