jelmer/openchange.git
6 years agoAdd dummy file to make sure bin/ directory exists. master
Jelmer Vernooij [Sun, 11 Nov 2012 13:14:54 +0000 (14:14 +0100)]
Add dummy file to make sure bin/ directory exists.

6 years agogitignore: Ignore .pyc files, and trial temp directories.
Jelmer Vernooij [Fri, 9 Nov 2012 14:08:07 +0000 (15:08 +0100)]
gitignore: Ignore .pyc files, and trial temp directories.

6 years agoForward declare 'struct tm'.
Jelmer Vernooij [Fri, 9 Nov 2012 14:05:40 +0000 (15:05 +0100)]
Forward declare 'struct tm'.

This fixes a compiler warning.

6 years agoForce the use of NDR_NOALIGN.
Milan Crha [Fri, 9 Nov 2012 02:40:09 +0000 (03:40 +0100)]
Force the use of NDR_NOALIGN.

This fixes the sending of non-small emails when using OpenChange with
newer versions of Samba 4.

Signed-off-by: Jelmer Vernooij <jelmer@openchange.org>
6 years agoAdd git ignore file.
Jelmer Vernooij [Wed, 17 Oct 2012 11:29:53 +0000 (13:29 +0200)]
Add git ignore file.

6 years agoMerge in latest rpcproxy changes
Julien Kerihuel [Wed, 6 Jun 2012 13:32:07 +0000 (13:32 +0000)]
Merge in latest rpcproxy changes

6 years agoFix from Alexander Bokovoy <ab@samba.org>:
Julien Kerihuel [Fri, 1 Jun 2012 13:23:32 +0000 (13:23 +0000)]
Fix from Alexander Bokovoy <ab@samba.org>:

- Fix OC_RULE_ADD behavior
- Provide the ability to compile client code only (Fedora requirement wrt --without-ad-dc)

6 years agoMerge in latest rpcproxy changes / refactoring from sogo branch
Julien Kerihuel [Fri, 1 Jun 2012 11:59:45 +0000 (11:59 +0000)]
Merge in latest rpcproxy changes / refactoring from sogo branch

6 years agoMerge in rpcproxy (wsgi based)
Julien Kerihuel [Thu, 31 May 2012 10:04:43 +0000 (10:04 +0000)]
Merge in rpcproxy (wsgi based)

7 years agoRemove unnecessary code
Julien Kerihuel [Tue, 15 May 2012 16:16:40 +0000 (16:16 +0000)]
Remove unnecessary code

7 years agoPreliminary rpc proxy (outlook anywhere implementation):
Julien Kerihuel [Tue, 15 May 2012 16:14:23 +0000 (16:14 +0000)]
Preliminary rpc proxy (outlook anywhere implementation):
- config parameters from ocsmanager.ini
- answer to rpc_in_data and rpc_out_data requests
- authenticate the user with basic auth vs samba4 AD

7 years agoMerge in sogo branch changes r3949-3962
Julien Kerihuel [Mon, 14 May 2012 13:11:50 +0000 (13:11 +0000)]
Merge in sogo branch changes r3949-3962

7 years agoMerge in latest SOGo branch changes (3923-3949) back into trunk.
Julien Kerihuel [Mon, 7 May 2012 13:09:26 +0000 (13:09 +0000)]
Merge in latest SOGo branch changes (3923-3949) back into trunk.

Noticeable changes:
- availability service basic implementation
- mapistore python bindings work

7 years agoFix Samba alpha to latest available
Julien Kerihuel [Fri, 4 May 2012 11:43:46 +0000 (11:43 +0000)]
Fix Samba alpha to latest available
Fix provision script missing import

7 years agoAdd missing attributes
Matthieu Patou [Sun, 29 Apr 2012 05:45:14 +0000 (05:45 +0000)]
Add missing attributes

7 years agoFix uneeded imports
Matthieu Patou [Sun, 29 Apr 2012 05:45:02 +0000 (05:45 +0000)]
Fix uneeded imports

7 years agoMerge r3881,3893,3894,3895,3907,3908,3910,3911,3912,3913,3915,3916,3917,3919,3920...
Julien Kerihuel [Mon, 16 Apr 2012 12:01:23 +0000 (12:01 +0000)]
Merge r3881,3893,3894,3895,3907,3908,3910,3911,3912,3913,3915,3916,3917,3919,3920,3921,3922,3923 from sogo branch.

Most noticeable change: replacement of SPropValue with PropertyValue_r, SRowSet with PropertyRowSet_r
Custom handling of ExtendedException
New properties added
Improvement of provisioning code

7 years agoFree obj->private_data if not null
Matthieu Patou [Mon, 19 Mar 2012 19:11:08 +0000 (19:11 +0000)]
Free obj->private_data if not null

7 years agoUse the profile as a talloc context for credentials, allow ressources to be freed
Matthieu Patou [Mon, 19 Mar 2012 19:10:57 +0000 (19:10 +0000)]
Use the profile as a talloc context for credentials, allow ressources to be freed

7 years agoMove to talloced profile so that we can free ressources more easily
Matthieu Patou [Mon, 19 Mar 2012 19:10:46 +0000 (19:10 +0000)]
Move to talloced profile so that we can free ressources more easily

7 years agoCleanly initialize structures for mapi_response
Matthieu Patou [Mon, 19 Mar 2012 19:10:34 +0000 (19:10 +0000)]
Cleanly initialize structures for mapi_response

7 years agoFree the session in duplicateprofile
Matthieu Patou [Mon, 19 Mar 2012 19:10:22 +0000 (19:10 +0000)]
Free the session in duplicateprofile

7 years agoCreate setup/mapistore if not existing
Matthieu Patou [Mon, 19 Mar 2012 19:10:10 +0000 (19:10 +0000)]
Create setup/mapistore if not existing

7 years agoLink libmapiproxy against -ldl, as it uses some of its symbols.
Jelmer Vernooij [Mon, 19 Mar 2012 13:51:34 +0000 (13:51 +0000)]
Link libmapiproxy against -ldl, as it uses some of its symbols.

7 years agoFix manual symlink creation for libmapistore, libmapiproxy and libmapiserver.
Jelmer Vernooij [Mon, 19 Mar 2012 13:28:43 +0000 (13:28 +0000)]
Fix manual symlink creation for libmapistore, libmapiproxy and libmapiserver.

7 years agoPatch from Shaheed Haque <srhaque@theiet.org>:
Julien Kerihuel [Mon, 19 Mar 2012 12:27:40 +0000 (12:27 +0000)]
Patch from Shaheed Haque <srhaque@theiet.org>:

Fix incorrect enum size for OverrideFlags:
v1_enum was used while enum16bit was expected.

7 years agoMerge in r3875, 3877, 3878, 3879, 3880, 3881 from SOGo branch.
Julien Kerihuel [Mon, 19 Mar 2012 11:26:30 +0000 (11:26 +0000)]
Merge in r3875, 3877, 3878, 3879, 3880, 3881 from SOGo branch.

7 years agoUse popt.h rather than samba/popt.h, which is going away.
Jelmer Vernooij [Thu, 15 Mar 2012 17:04:23 +0000 (17:04 +0000)]
Use popt.h rather than samba/popt.h, which is going away.

7 years agoFix python-dev cflags and libs detection
Julien Kerihuel [Thu, 15 Mar 2012 13:50:43 +0000 (13:50 +0000)]
Fix python-dev cflags and libs detection
Make it an openchange build system requirement

7 years agoMerge r3870 from sogo branch:
Julien Kerihuel [Thu, 15 Mar 2012 12:49:19 +0000 (12:49 +0000)]
Merge r3870 from sogo branch:

Fixed setup_path to work both from source directory or from system installation

7 years agoRemove warning
Julien Kerihuel [Wed, 14 Mar 2012 16:51:27 +0000 (16:51 +0000)]
Remove warning

7 years agoFix warning
Julien Kerihuel [Wed, 14 Mar 2012 16:51:19 +0000 (16:51 +0000)]
Fix warning

7 years agoFix pymapistore.c warning
Julien Kerihuel [Wed, 14 Mar 2012 16:39:27 +0000 (16:39 +0000)]
Fix pymapistore.c warning
Remove strict-aliasing requirement for python bindings

7 years agofix implicit declaration for tevent nested loop
Julien Kerihuel [Wed, 14 Mar 2012 16:31:24 +0000 (16:31 +0000)]
fix implicit declaration for tevent nested loop
fix small mgmt printf warning with ssize_t/int diff

7 years agoRemove po generated files for mapistore management API
Julien Kerihuel [Wed, 14 Mar 2012 15:50:07 +0000 (15:50 +0000)]
Remove po generated files for mapistore management API

7 years agoAdd a samba4 patch when running make samba for alpha18 on Fedora operating system
Julien Kerihuel [Wed, 14 Mar 2012 13:42:49 +0000 (13:42 +0000)]
Add a samba4 patch when running make samba for alpha18 on Fedora operating system

7 years agoMerge latest changes from sogo branch r3841:3858
Julien Kerihuel [Wed, 14 Mar 2012 08:26:51 +0000 (08:26 +0000)]
Merge latest changes from sogo branch r3841:3858

7 years agoMerge in r3852 from mapistore_python branch:
Julien Kerihuel [Tue, 13 Mar 2012 16:58:28 +0000 (16:58 +0000)]
Merge in r3852 from mapistore_python branch:
Remove useless lp_ctx parameter in some emsmdb function

7 years agobuild ldb and samba4 with ccan as builtin-library to prevent problems with symbols.
Jelmer Vernooij [Tue, 13 Mar 2012 14:15:36 +0000 (14:15 +0000)]
build ldb and samba4 with ccan as builtin-library to prevent problems with symbols.

7 years agoUpdate howto.txt provisioning instructions
Julien Kerihuel [Tue, 13 Mar 2012 11:18:23 +0000 (11:18 +0000)]
Update howto.txt provisioning instructions

7 years agoFix a merge error in server
Julien Kerihuel [Tue, 13 Mar 2012 11:10:34 +0000 (11:10 +0000)]
Fix a merge error in server
Remove useless warning

7 years agodeprecated TODO
Julien Kerihuel [Tue, 13 Mar 2012 10:53:59 +0000 (10:53 +0000)]
deprecated TODO

7 years agoMerge in sogo revs r3786-3829
Julien Kerihuel [Tue, 13 Mar 2012 10:52:50 +0000 (10:52 +0000)]
Merge in sogo revs r3786-3829

7 years agoLink libmapipp against libmapi.
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:39 +0000 (20:55 +0000)]
Link libmapipp against libmapi.

7 years agoLink against samba-credentials library.
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:34 +0000 (20:55 +0000)]
Link against samba-credentials library.

7 years agoFix wrong property size
Matthieu Patou [Thu, 8 Mar 2012 04:22:52 +0000 (04:22 +0000)]
Fix wrong property size

7 years agoPatch from Milan Crha <mcrha@redhat.com>:
Julien Kerihuel [Wed, 7 Mar 2012 11:52:09 +0000 (11:52 +0000)]
Patch from Milan Crha <mcrha@redhat.com>:

Add PT_MV_CLSID support in cast_mapi_SPropValue

7 years agoMerge in r3786-3788,3794-3795 from sogo branch
Julien Kerihuel [Wed, 7 Mar 2012 11:35:49 +0000 (11:35 +0000)]
Merge in r3786-3788,3794-3795 from sogo branch

7 years agoPatch from Shaheed Haque <srhaque@theiet.org>:
Julien Kerihuel [Tue, 6 Mar 2012 11:58:22 +0000 (11:58 +0000)]
Patch from Shaheed Haque <srhaque@theiet.org>:
nspi_SeekEntries does not update the stored value

7 years agoMerge in r3771:3778 from trunk
Julien Kerihuel [Tue, 6 Mar 2012 10:01:47 +0000 (10:01 +0000)]
Merge in r3771:3778 from trunk

7 years agomkversion.sh: Atomically write to libmapi/version.h to prevent gcc warnings when...
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:34 +0000 (18:49 +0000)]
mkversion.sh: Atomically write to libmapi/version.h to prevent gcc warnings when doing parallel builds.

7 years agoAdd mapiproxy/libmapistore/mapistore_nameid.h to bzr ignore list.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:28 +0000 (18:49 +0000)]
Add mapiproxy/libmapistore/mapistore_nameid.h to bzr ignore list.

7 years agoREADME: Remove references to pymapi.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:19 +0000 (18:49 +0000)]
README: Remove references to pymapi.

7 years agoRemove pymapi - it's no longer built and was never anywhere near complete.
Jelmer Vernooij [Mon, 5 Mar 2012 16:12:10 +0000 (16:12 +0000)]
Remove pymapi - it's no longer built and was never anywhere near complete.

7 years agoAdd debug statements to help backend implementors identify missing backend calls
Julien Kerihuel [Mon, 5 Mar 2012 14:14:47 +0000 (14:14 +0000)]
Add debug statements to help backend implementors identify missing backend calls

7 years agoFix typo in $(DESTDIR).
Jelmer Vernooij [Fri, 2 Mar 2012 17:40:19 +0000 (17:40 +0000)]
Fix typo in $(DESTDIR).

7 years agoAdd additional props not referenced by MS-OXCPROPS
Julien Kerihuel [Fri, 2 Mar 2012 15:30:00 +0000 (15:30 +0000)]
Add additional props not referenced by MS-OXCPROPS

7 years agoFix the case where properties in MS-OXCPROPS have the same propID but different prop...
Julien Kerihuel [Fri, 2 Mar 2012 15:22:49 +0000 (15:22 +0000)]
Fix the case where properties in MS-OXCPROPS have the same propID but different prop type.
This was for example preventing PidTagHtml from being generated.

7 years agoRemove Makefile rules for mapistore fsocpf backend
Julien Kerihuel [Fri, 2 Mar 2012 14:14:31 +0000 (14:14 +0000)]
Remove Makefile rules for mapistore fsocpf backend

7 years agoRemove deprecated mapistore fsocpf module.
Julien Kerihuel [Fri, 2 Mar 2012 14:13:55 +0000 (14:13 +0000)]
Remove deprecated mapistore fsocpf module.

Planned to be replaced with something new soon

7 years ago- Add sanity check when building named_properties.ldb from ldif file (ensure provisio...
Julien Kerihuel [Fri, 2 Mar 2012 13:30:21 +0000 (13:30 +0000)]
- Add sanity check when building named_properties.ldb from ldif file (ensure provisioning worked as expected)
- Reenable named_properties.ldif generation from mparse for now
- Reenable installation of named_properties.ldif file
- Remove mapi_nameid.h from libmapi.h to prevent duplicate issue in server when mapistore_nameid.h is included

7 years agoDisable init of sam.ldb as it causes init issues with ocsmanager
Julien Kerihuel [Thu, 1 Mar 2012 14:12:51 +0000 (14:12 +0000)]
Disable init of sam.ldb as it causes init issues with ocsmanager

7 years agoAdd mapping for PidLidRemoteTransferSize
Julien Kerihuel [Thu, 1 Mar 2012 13:34:45 +0000 (13:34 +0000)]
Add mapping for PidLidRemoteTransferSize

7 years agoRollback r3728 change as it breaks pull operation on server side
Julien Kerihuel [Thu, 1 Mar 2012 12:37:55 +0000 (12:37 +0000)]
Rollback r3728 change as it breaks pull operation on server side
for complex Outlook restrictions.

7 years agoFix compilation error: fix older than API update
Julien Kerihuel [Thu, 1 Mar 2012 11:16:23 +0000 (11:16 +0000)]
Fix compilation error: fix older than API update

7 years agoUse nspi_GetMatches in duplicateprofile for populating the UserEmail field, with...
Matthieu Patou [Wed, 29 Feb 2012 22:20:02 +0000 (22:20 +0000)]
Use nspi_GetMatches in duplicateprofile for populating the UserEmail field, with exchange 2010 the email has a couple of random chars at the end

7 years agoProfile: initialize the profile's context
Matthieu Patou [Wed, 29 Feb 2012 22:19:47 +0000 (22:19 +0000)]
Profile: initialize the profile's context

7 years agoProfile: zero profile, it eases to spot initialized fields
Matthieu Patou [Wed, 29 Feb 2012 22:18:43 +0000 (22:18 +0000)]
Profile: zero profile, it eases to spot initialized fields

7 years agoFix issue #387. Patch from Milan Crha:
Julien Kerihuel [Wed, 29 Feb 2012 15:05:32 +0000 (15:05 +0000)]
Fix issue #387. Patch from Milan Crha:

NULL terminated utf8 strings are expected

7 years agoFix for #387 - Patch from Milan Crha
Julien Kerihuel [Wed, 29 Feb 2012 12:43:30 +0000 (12:43 +0000)]
Fix for #387 - Patch from Milan Crha

7 years agoFix talloc parent
Julien Kerihuel [Tue, 28 Feb 2012 17:09:32 +0000 (17:09 +0000)]
Fix talloc parent

7 years agoFix typo err in AbortSubmit
Julien Kerihuel [Tue, 28 Feb 2012 16:15:03 +0000 (16:15 +0000)]
Fix typo err in AbortSubmit

7 years agoFix typo err
Julien Kerihuel [Tue, 28 Feb 2012 16:14:23 +0000 (16:14 +0000)]
Fix typo err

7 years agoRemove talloc_autofree_context call from libmapiadmin
Julien Kerihuel [Tue, 28 Feb 2012 15:20:48 +0000 (15:20 +0000)]
Remove talloc_autofree_context call from libmapiadmin

7 years agoRevert r2750. Calling GetIDsFromNames REQUIRES proptag
Julien Kerihuel [Tue, 28 Feb 2012 15:20:25 +0000 (15:20 +0000)]
Revert r2750. Calling GetIDsFromNames REQUIRES proptag
to be allocated with talloc. There's no need to reallocate there.

7 years agoFix issue #370. Patch from Aaron Small.
Julien Kerihuel [Tue, 28 Feb 2012 14:15:09 +0000 (14:15 +0000)]
Fix issue #370. Patch from Aaron Small.

7 years agoFix issue #373 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 14:00:56 +0000 (14:00 +0000)]
Fix issue #373 - Patch from Milan Crha

7 years agoFix issue #374 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 13:57:16 +0000 (13:57 +0000)]
Fix issue #374 - Patch from Milan Crha

7 years agoFix issue #379
Julien Kerihuel [Tue, 28 Feb 2012 13:49:05 +0000 (13:49 +0000)]
Fix issue #379

7 years agoFix issue #386 - base over patch from Milan Crha:
Julien Kerihuel [Tue, 28 Feb 2012 13:32:56 +0000 (13:32 +0000)]
Fix issue #386 - base over patch from Milan Crha:

7 years agoPrepare for 1.0 BORG release
Julien Kerihuel [Tue, 28 Feb 2012 12:36:33 +0000 (12:36 +0000)]
Prepare for 1.0 BORG release

7 years agoFix duplicate define for named properties
Julien Kerihuel [Tue, 28 Feb 2012 12:36:02 +0000 (12:36 +0000)]
Fix duplicate define for named properties

7 years agoEnable named properties back
Julien Kerihuel [Tue, 28 Feb 2012 12:17:28 +0000 (12:17 +0000)]
Enable named properties back

7 years agoFix issue #377 - Patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 15:50:57 +0000 (15:50 +0000)]
Fix issue #377 - Patch from Milan Crha:

Fix RES_NOT restriction on client side

7 years agoFix issue #375 - Patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 15:28:09 +0000 (15:28 +0000)]
Fix issue #375 - Patch from Milan Crha:

Pass TALLOC_CTX directly instead of mapi_context to mapi_id_array_init

7 years agoFix issue #376, patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 14:46:02 +0000 (14:46 +0000)]
Fix issue #376, patch from Milan Crha:

Decrease usage of NULL talloc contexts to minimum

7 years agoFix issue #372, Path from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 13:56:01 +0000 (13:56 +0000)]
Fix issue #372, Path from Milan Crha:

Proposing to return enum MAPISTATUS from RfrGetNewDSA,
because not doing so hides network errors, because when
the server is unreachable, then this function returns NULL,
which is later used to build_binding_string, which also returns NULL,
thus the provider_rpc_connection returns status INVALID_ARGUMENT,
thus instead of correct MAPI_E_NETWORK_ERROR as a result of Logon()
caller receives MAPI_E_LOGON_FAILED, thus it's hard to distinguish what to do next,
because this can mean also that password is incorrect.

With unreachable server is returned NT_STATUS_OBJECT_NAME_NOT_FOUND,
which I added to the list of known codes to map to MAPI_E_NETWORK_ERROR.

7 years agoFix issue #382
Julien Kerihuel [Mon, 27 Feb 2012 13:43:33 +0000 (13:43 +0000)]
Fix issue #382

Patch from Olly Betts:

Avoid needlessly lpProps allocation before calling GetProps

7 years agoFix issue #384, patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 13:31:57 +0000 (13:31 +0000)]
Fix issue #384, patch from Milan Crha:

The nspi_GetMatches currently hardcodes search result limit to 5000,
which results in [1], and MAPI_E_TABLE_TOO_BIG errors. It would be nice
to provide a new argument for the search result size limit, rather than
hard code it.

7 years agoCommit patch for issue #385:
Julien Kerihuel [Mon, 27 Feb 2012 13:27:17 +0000 (13:27 +0000)]
Commit patch for issue #385:

Akhil found an issue [1] in OpenChange's code, that dcerpc_EcRRegisterPushNotification_r
inside emsmdb_register_notification can succeed, but the retval can still be false.
In this case the emsmdb_register_notification returns success, but it should return failure,
because notifications aren't available. Evolution-mapi depends on this result code and Subscribe
to notifications only if this succeeded.

7 years agoDon't try to install missing LDIF files.
Brad Hards [Sat, 25 Feb 2012 05:05:51 +0000 (05:05 +0000)]
Don't try to install missing LDIF files.

7 years agoUpdate configure test for G++ to work with new autoconf.
Brad Hards [Sat, 25 Feb 2012 05:04:05 +0000 (05:04 +0000)]
Update configure test for G++ to work with new autoconf.

7 years agoTrivial docs fix
Brad Hards [Sat, 25 Feb 2012 02:33:00 +0000 (02:33 +0000)]
Trivial docs fix

7 years agoFix compilation warnings for mapistore_mgmt_messages
Julien Kerihuel [Fri, 24 Feb 2012 13:52:28 +0000 (13:52 +0000)]
Fix compilation warnings for mapistore_mgmt_messages

7 years agoFix libmapiadmin and exchange2mbox compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:44:27 +0000 (13:44 +0000)]
Fix libmapiadmin and exchange2mbox compilation warnings

7 years agoFix server-side compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:44:09 +0000 (13:44 +0000)]
Fix server-side compilation warnings

7 years agoFix warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:32 +0000 (13:23 +0000)]
Fix warnings

7 years agoFix warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:22 +0000 (13:23 +0000)]
Fix warnings

7 years agoReplace trunk with sogo-good branch
Julien Kerihuel [Fri, 24 Feb 2012 12:29:00 +0000 (12:29 +0000)]
Replace trunk with sogo-good branch

7 years agoUpgrade required version to samba4-alpha18 sogo-good
Julien Kerihuel [Fri, 24 Feb 2012 11:55:27 +0000 (11:55 +0000)]
Upgrade required version to samba4-alpha18