On 03/25/2016 07:22 AM, Andrey Cherepanov (c...@altlinux.org) wrote:
25.03.2016 14:43, Rowland Penny (rpenny241...@gmail.com) пишет:
On 25/03/16 10:44, Andrey Cherepanov (c...@altlinux.org) wrote:
Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij <jel...@jelmer.uk>
Date:   Mon Jan 4 00:56:10 2016 +0000

    libcli: Make headers for private libraries private.

    Signed-off-by: Jelmer Vernooij <jel...@jelmer.uk>
    Reviewed-By: Andrew Bartlett <abart...@samba.org>
    Reviewed-By: Stefan Metzmacher <me...@samba.org>

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such
file or directory

OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include <ldap_ndr.h>
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include <ldap_ndr.h>

I try to subscribe de...@lists.openchange.org and create issue on
https://github.com/zentyal/openchange but without any result.


As far as I am aware, you can only compile Openchange with Samba 4.1.18
and the 4.1.x series went EOL last Tuesday and I don't think the Samba
4.1.x series *will get any further updates*

The problem was that Openchange relied on Samba internal headers that
should never have been public (because they can and do change). You will
need to take this up with Openchange, but development of this seems to
have stalled.
Thanks for explanations. I simply revert this commit from Jelmer Vernooij
and rebuild Samba. :)


I've taken to building Sogo without OC at this point, but rather than rebuild your Samba package, the patches at
https://aur.archlinux.org/cgit/aur.git/tree/?h=openchange
might still work with 4.4.

HTH

--DJ

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to