Re: [SOGo] Openchange + Samba 4.4.0

2016-04-13 Thread Andrey Cherepanov

12.04.2016 23:15, Rowland Penny (rpenny241...@gmail.com) пишет:

You don't need to remove that commit from samba, you can use something
like this
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa
and it will compile just fine
--
users@sogo.nu
https://inverse.ca/sogo/lists


OK, I can now tell you, do not use Samba 4.1.18 with Openchange unless
you can backport the badlock patches or if Openchange does so, Samba
will not backport these packages.

There are various problems covered by the patches, chiefly there is a
risk of 'man in the middle' attacks.
That's true. But sogo2/sogo3 with openchange support cannot built with 
Samba 4.4.2 because try to include private library dlinklist.h and it 
include file change expected definition:


As result:
MAPIStoreContext.m: In function '+[MAPIStoreContext 
listAllContextsForUser:withIndexing:inMemCtx:]':
MAPIStoreContext.m:126:46: error: macro "DLIST_CONCATENATE" passed 3 
arguments, but takes just 2

 DLIST_CONCATENATE(list, current, void);
MAPIStoreContext.m:126:9: error: 'DLIST_CONCATENATE' undeclared (first 
use in this function)



--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange + Samba 4.4.0

2016-04-12 Thread Rowland Penny

On 26/03/16 16:27, Jesús García Sáez (blax...@gmail.com) wrote:



On Fri, Mar 25, 2016 at 11:44 AM, Andrey Cherepanov > wrote:


Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij >
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij >
Reviewed-By: Andrew Bartlett >
Reviewed-By: Stefan Metzmacher >

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 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

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

-- 
Andrey Cherepanov

c...@altlinux.org 
-- 
users@sogo.nu 

https://inverse.ca/sogo/lists




You don't need to remove that commit from samba, you can use something 
like this 
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa 
and it will compile just fine

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


OK, I can now tell you, do not use Samba 4.1.18 with Openchange unless 
you can backport the badlock patches or if Openchange does so, Samba 
will not backport these packages.


There are various problems covered by the patches, chiefly there is a 
risk of 'man in the middle' attacks.


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

Re: [SOGo] Openchange + Samba 4.4.0

2016-03-26 Thread blax...@gmail.com
On Fri, Mar 25, 2016 at 11:44 AM, Andrey Cherepanov  wrote:

> Can anybody compile openchange with samba 4.4.0? Now samba contains
>
> commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
> Author: Jelmer Vernooij 
> Date:   Mon Jan 4 00:56:10 2016 +
>
> libcli: Make headers for private libraries private.
>
> Signed-off-by: Jelmer Vernooij 
> Reviewed-By: Andrew Bartlett 
> Reviewed-By: Stefan Metzmacher 
>
> 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 
> mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 
>
> I try to subscribe de...@lists.openchange.org and create issue on
> https://github.com/zentyal/openchange but without any result.
>
> --
> Andrey Cherepanov
> c...@altlinux.org
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>



You don't need to remove that commit from samba, you can use something like
this
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa
and it will compile just fine
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange + Samba 4.4.0

2016-03-26 Thread DJ Lucas



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 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

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 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

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


Re: [SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Andrey Cherepanov

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 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

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 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

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. :)


--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Rowland Penny

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 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

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 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

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.


Rowland

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


[SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Andrey Cherepanov

Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

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 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

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


--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists