Hi,

Good news first: - it is definitely possible to build a working 
Samba4/Openchange installation on Ubuntu 12.04, have no experience with CentOS .

Bad news: - none of the guides out there seems to be complete and error-free so 
to get to working system you must combine information from various sources and 
understand what you are doing in each step. To get to working system I used 
both openchange cookbook and iabsis article with addition of sogo outlook setup 
PDF documentation.

I will write a complete tutorial based on iabsis packaged install guide on 
Ubuntu 12.04 LTS when I have a bit of time ….
… just quickly from memory, problematic parts which you should concentrate on 
were:

- IMAP server setup - dovecot 
- missing vmail user creation
- missing openchange_newuser step where user accounts are enabled

Hope this helps,
Martin.

On 27 Feb 2014, at 06:48, James Sefton <ja...@phase5.co.uk> wrote:

> Hi Folks,
>  
> I am trying to build openchange with the hopes of putting it into production 
> in the near future but I seem to keep running into problems with samba 
> crashing when I connect an Outlook client.
>  
> The outlook clients I have used so far are 2003 and 2007.  I have seen very 
> frequent crashing (of samba) on both, requiring me to restart samba in all 
> cases for any further connections.
>  
> I have made 4 attempts at setting this up so far.
> The first two were on Ubuntu 13.10, one from source using the guide on the 
> openchange website and the other using the packages provided by Inverse.
> I then noticed that your cookbook states that the guide is tested with Ubuntu 
> 12.04.1, so I repeated the process both from source and with the packages 
> again on 12.04.1 and still seem to have the same issues.
>  
> My current build is 12.04.1 from source, following the guide here: 
> http://www.openchange.org/cookbook/initializing.html
>  
> There are options given near the start of the tutorial for building either 
> samba or samba-git.
> I have been using samba as I assume that is the most recent stable release 
> and since I want to put this into production, I don't really want to use a 
> nightly/unstable build.
>  
> Before connecting outlook I used the sogo webmail interface to send an email 
> to myself.  This arrived in the sogo interface.
> When I connected the Outlook (2007) client it got as far as "All folders up 
> to date" but the email that was showing in the sogo webmail did not appear in 
> outlook.
> At this point I tried to send an email to myself using the sogo frontend and 
> samba crashed.
>  
> The samba log is huge, but the last few lines show this:
>  
> MAPI Rop: 0x77 (30)
> MAPI Rop: 0x78 (36)
> emsmdbp_object_open_folder: opening openchangedb folder
> emsmdbp_object_open_folder: opening base mapistore folder
> mapistore_add_context_ref_count: context_is to increment is 4
> /usr/local/samba/sbin/samba: Uncaught exception NSInvalidArgumentException, 
> reason: Tried to add nil to array
> dcesrv_exchange_nsp_unbind
> dcesrv_exchange_emsmdb_unbind
> dcesrv_exchange_nsp_unbind
> dcesrv_exchange_emsmdb_unbind
>  
> I also made a couple of previous attempts (on both 13.10 and 12.04.1) using a 
> guide I found on the web.
> https://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
>  
> I experienced similar problems with this too.
> Looking through the comments on this site I see that others are having the 
> same difficulty and there was a response saying that crashing was common on 
> Ubuntu, but running on CentOS is stable.
>  
>  
> Before I use up anyone's time trying to figure out what is wrong here - am I 
> using the wrong OS?
> If you guys develop and do your primary testing on CentOS then I am happy to 
> switch to that if it is going to make life easier.
> Is there a recommended or primary OS that this project works best on?
>  
> Would appreciate any suggestions as I have been trying for almost a month now 
> and have been unable to produce a stable solution.
>  
> Many Thanks,
>  
> James
> _______________________________________________
> devel mailing list
> devel@lists.openchange.org
> http://mailman.openchange.org/listinfo/devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to