Julien Kerihuel [Tue, 17 Apr 2012 14:45:36 +0000 (14:45 +0000)]
Merge in latest code changes from trunk
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
Jelmer Vernooij [Sat, 24 Mar 2012 12:42:41 +0000 (12:42 +0000)]
Update bzrignore.
Julien Kerihuel [Thu, 22 Mar 2012 13:59:03 +0000 (13:59 +0000)]
Add build for libmapiserver
Add more header checks for libmapiproxy
Julien Kerihuel [Thu, 22 Mar 2012 13:43:14 +0000 (13:43 +0000)]
Add build for libmapiproxy
Julien Kerihuel [Thu, 22 Mar 2012 12:29:32 +0000 (12:29 +0000)]
Add wscript for utils
Jelmer Vernooij [Wed, 21 Mar 2012 18:37:07 +0000 (18:37 +0000)]
Unpack waf.
Jelmer Vernooij [Wed, 21 Mar 2012 18:36:31 +0000 (18:36 +0000)]
Add script for updating our copy of waf.
Jelmer Vernooij [Wed, 21 Mar 2012 18:33:53 +0000 (18:33 +0000)]
Fix call to ctx.fatal().
Julien Kerihuel [Wed, 21 Mar 2012 17:12:48 +0000 (17:12 +0000)]
Add build rules for libocpf
Julien Kerihuel [Wed, 21 Mar 2012 17:07:19 +0000 (17:07 +0000)]
Ignore generated build directory and buildtools/.waf* dir along with .lock waf one.
Julien Kerihuel [Wed, 21 Mar 2012 17:04:04 +0000 (17:04 +0000)]
Add waf support for the following openchange components:
- libmapi
- libmapi++
- libmapiadmin
- exchange2ical binary
Julien Kerihuel [Wed, 21 Mar 2012 16:57:10 +0000 (16:57 +0000)]
Create the new waf branch
Matthieu Patou [Mon, 19 Mar 2012 19:11:08 +0000 (19:11 +0000)]
Free obj->private_data if not null
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
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
Matthieu Patou [Mon, 19 Mar 2012 19:10:34 +0000 (19:10 +0000)]
Cleanly initialize structures for mapi_response
Matthieu Patou [Mon, 19 Mar 2012 19:10:22 +0000 (19:10 +0000)]
Free the session in duplicateprofile
Matthieu Patou [Mon, 19 Mar 2012 19:10:10 +0000 (19:10 +0000)]
Create setup/mapistore if not existing
Jelmer Vernooij [Mon, 19 Mar 2012 13:51:34 +0000 (13:51 +0000)]
Link libmapiproxy against -ldl, as it uses some of its symbols.
Jelmer Vernooij [Mon, 19 Mar 2012 13:28:43 +0000 (13:28 +0000)]
Fix manual symlink creation for libmapistore, libmapiproxy and libmapiserver.
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.
Julien Kerihuel [Mon, 19 Mar 2012 11:26:30 +0000 (11:26 +0000)]
Merge in r3875, 3877, 3878, 3879, 3880, 3881 from SOGo branch.
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.
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
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
Julien Kerihuel [Wed, 14 Mar 2012 16:51:27 +0000 (16:51 +0000)]
Remove warning
Julien Kerihuel [Wed, 14 Mar 2012 16:51:19 +0000 (16:51 +0000)]
Fix 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
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
Julien Kerihuel [Wed, 14 Mar 2012 15:50:07 +0000 (15:50 +0000)]
Remove po generated files for mapistore management API
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
Julien Kerihuel [Wed, 14 Mar 2012 08:26:51 +0000 (08:26 +0000)]
Merge latest changes from sogo branch r3841:3858
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
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.
Julien Kerihuel [Tue, 13 Mar 2012 11:18:23 +0000 (11:18 +0000)]
Update howto.txt provisioning instructions
Julien Kerihuel [Tue, 13 Mar 2012 11:10:34 +0000 (11:10 +0000)]
Fix a merge error in server
Remove useless warning
Julien Kerihuel [Tue, 13 Mar 2012 10:53:59 +0000 (10:53 +0000)]
deprecated TODO
Julien Kerihuel [Tue, 13 Mar 2012 10:52:50 +0000 (10:52 +0000)]
Merge in sogo revs r3786-3829
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:39 +0000 (20:55 +0000)]
Link libmapipp against libmapi.
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:34 +0000 (20:55 +0000)]
Link against samba-credentials library.
Matthieu Patou [Thu, 8 Mar 2012 04:22:52 +0000 (04:22 +0000)]
Fix wrong property size
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
Julien Kerihuel [Wed, 7 Mar 2012 11:35:49 +0000 (11:35 +0000)]
Merge in r3786-3788,3794-3795 from sogo branch
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
Julien Kerihuel [Tue, 6 Mar 2012 10:01:47 +0000 (10:01 +0000)]
Merge in r3771:3778 from trunk
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.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:28 +0000 (18:49 +0000)]
Add mapiproxy/libmapistore/mapistore_nameid.h to bzr ignore list.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:19 +0000 (18:49 +0000)]
README: Remove references to pymapi.
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.
Julien Kerihuel [Mon, 5 Mar 2012 14:14:47 +0000 (14:14 +0000)]
Add debug statements to help backend implementors identify missing backend calls
Jelmer Vernooij [Fri, 2 Mar 2012 17:40:19 +0000 (17:40 +0000)]
Fix typo in $(DESTDIR).
Julien Kerihuel [Fri, 2 Mar 2012 15:30:00 +0000 (15:30 +0000)]
Add additional props not referenced by MS-OXCPROPS
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.
Julien Kerihuel [Fri, 2 Mar 2012 14:14:31 +0000 (14:14 +0000)]
Remove Makefile rules for mapistore fsocpf backend
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
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
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
Julien Kerihuel [Thu, 1 Mar 2012 13:34:45 +0000 (13:34 +0000)]
Add mapping for PidLidRemoteTransferSize
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.
Julien Kerihuel [Thu, 1 Mar 2012 11:16:23 +0000 (11:16 +0000)]
Fix compilation error: fix older than API update
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
Matthieu Patou [Wed, 29 Feb 2012 22:19:47 +0000 (22:19 +0000)]
Profile: initialize the profile's context
Matthieu Patou [Wed, 29 Feb 2012 22:18:43 +0000 (22:18 +0000)]
Profile: zero profile, it eases to spot initialized fields
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
Julien Kerihuel [Wed, 29 Feb 2012 12:43:30 +0000 (12:43 +0000)]
Fix for #387 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 17:09:32 +0000 (17:09 +0000)]
Fix talloc parent
Julien Kerihuel [Tue, 28 Feb 2012 16:15:03 +0000 (16:15 +0000)]
Fix typo err in AbortSubmit
Julien Kerihuel [Tue, 28 Feb 2012 16:14:23 +0000 (16:14 +0000)]
Fix typo err
Julien Kerihuel [Tue, 28 Feb 2012 15:20:48 +0000 (15:20 +0000)]
Remove talloc_autofree_context call from libmapiadmin
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.
Julien Kerihuel [Tue, 28 Feb 2012 14:15:09 +0000 (14:15 +0000)]
Fix issue #370. Patch from Aaron Small.
Julien Kerihuel [Tue, 28 Feb 2012 14:00:56 +0000 (14:00 +0000)]
Fix issue #373 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 13:57:16 +0000 (13:57 +0000)]
Fix issue #374 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 13:49:05 +0000 (13:49 +0000)]
Fix issue #379
Julien Kerihuel [Tue, 28 Feb 2012 13:32:56 +0000 (13:32 +0000)]
Fix issue #386 - base over patch from Milan Crha:
Julien Kerihuel [Tue, 28 Feb 2012 12:36:33 +0000 (12:36 +0000)]
Prepare for 1.0 BORG release
Julien Kerihuel [Tue, 28 Feb 2012 12:36:02 +0000 (12:36 +0000)]
Fix duplicate define for named properties
Julien Kerihuel [Tue, 28 Feb 2012 12:17:28 +0000 (12:17 +0000)]
Enable named properties back
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
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
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
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.
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
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.
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.
Brad Hards [Sat, 25 Feb 2012 05:05:51 +0000 (05:05 +0000)]
Don't try to install missing LDIF files.
Brad Hards [Sat, 25 Feb 2012 05:04:05 +0000 (05:04 +0000)]
Update configure test for G++ to work with new autoconf.
Brad Hards [Sat, 25 Feb 2012 02:33:00 +0000 (02:33 +0000)]
Trivial docs fix
Julien Kerihuel [Fri, 24 Feb 2012 13:52:28 +0000 (13:52 +0000)]
Fix compilation warnings for mapistore_mgmt_messages
Julien Kerihuel [Fri, 24 Feb 2012 13:44:27 +0000 (13:44 +0000)]
Fix libmapiadmin and exchange2mbox compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:44:09 +0000 (13:44 +0000)]
Fix server-side compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:32 +0000 (13:23 +0000)]
Fix warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:22 +0000 (13:23 +0000)]
Fix warnings
Julien Kerihuel [Fri, 24 Feb 2012 12:29:00 +0000 (12:29 +0000)]
Replace trunk with sogo-good branch
Julien Kerihuel [Fri, 24 Feb 2012 11:55:27 +0000 (11:55 +0000)]
Upgrade required version to samba4-alpha18
Julien Kerihuel [Fri, 24 Feb 2012 11:01:01 +0000 (11:01 +0000)]
remove duplicate msExch-Proxy-Gen-Options
Unsure why it wasn't catched earlier
Julien Kerihuel [Thu, 23 Feb 2012 17:04:41 +0000 (17:04 +0000)]
- Fix code generation \n for reintroduced get_property_type function
- Turn 0x in openchangedb_property into PidTag tiny names
- update generated code
Julien Kerihuel [Thu, 23 Feb 2012 16:12:40 +0000 (16:12 +0000)]
Prevent from symbol conflict with samba4 latest git where tdb_wrap sounds
available to openchange. Rename copied functions with mapistore prefix
Jelmer Vernooij [Thu, 23 Feb 2012 15:09:09 +0000 (15:09 +0000)]
Load modules from module directory.