4 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
5 In such situation, mapi_response is not allocated but has a destructor
6 associated. This fix removes the destructor whenever the error code is
7 different from MAPI_E_SUCCESS.
9 Also add a minor (probably useless) check on mapi_response pointer validity
10 before attempting any other child's free.
15 Rename libmapi into openchange in our release script.
16 Makes more sense given the scope of our releases.
18 Fix format string warnings.
20 New ModifyRecipients IDL and implementation.
22 This patch improves the logic within the RecipientFlags bitmask
23 calculation function and make use of different MAPI properties for
26 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
29 Minor API documentation fix.
33 Fix some exchange2ical memory leaks / "still reachable" memory.
35 Fix property tag array count, so we get the language in Summary
36 lines in the ical output.
38 Add protection against null CN values.
42 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
44 Handle all day events for UTC+ timezones.
46 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
47 the problem, and providing a patch. In the end I heavily modified the
48 patch, and implemented a much simpler version while we sort out the
49 timezone identifier problems.
54 Minor documentation update to reflect GSoC exchange2ical merge.
56 temporary fix for building on FreeBSD 7.2.
58 Remove this file - converted it to trac tasks.
62 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
64 Changed MonitorNotification to be non-blocking.
65 Also checks whether to process notifications using a callback.
67 Open Profile Store using global_mapi_ctx for the memory context. This
68 fix removes 20 context errors when running valgrind on mapitest.
70 - Fix important memory leaks in OpenChange NSPI stack. The memory
71 context modifications applied to the EMSMDB stack have been
72 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
73 temporary context passed in parameter to the nspi_* functions from
76 - Changes propagated to torture, mapitest, IProfAdmin interface and
77 ResolveNames function to match the internal API.
79 - Add missing MAPIFreeBuffer call in mapitest modules
83 Minor changes to match our coding convention more closely
85 Return (const void *) instead of (void *) where missing
87 - Fix important memory leaks within the OpenChange stack. Most of the
88 leaks came from the pipe memory context used in emsmdb_transaction
89 which was only released on MAPIUninitialize and sometimes leaded in
90 lost blocks. This fix makes extensive usage of the temporary memory
91 context used in top MAPI calls implementation. This context is
92 passed in argument to emsmdb_transaction and used for dcerpc_*
95 When we return from any libmapi call implementation, this context is
96 destroyed. This guarantee no extra memory within NDR layer is kept.
98 The only requirement for this patch to work is to make sure the data
99 we return from MAPI calls is either reparent to another memory
100 context or copied properly.
103 Add support for skipping tests that don't apply to some
106 Change the format of the server version, so it matches the Microsoft
107 way of doing versions.
112 Fix store version info assignment - Exchange version now works again
115 Clarify the developer's task when using GetPropList.
117 We were allocating the SPropTag proptag array with the session context
118 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
120 We are now using SPropTagArray pointer as parent context and clarify
121 that the developer must pass an allocated SPropTagArray pointer to the
124 Missing mapi_object_release leading in small leaks.
126 Sanitize RfrGetNewDSA function and memory usage.
128 The function was returning either a const char * passed in parameter
129 or the string returned by RfrGetNewDSA call. Furthermore we were using
130 the session pointer for the memory context. Finally the function description
131 was not matching its behavior.
133 What this patch does:
134 - use a named memory context for RfrGetNewDSA call
135 - return an allocated string on success otherwise NULL
136 - release RFR memory context properly
138 valgrind before patch (mapitest):
139 ==28876== LEAK SUMMARY:
140 ==28876== definitely lost: 0 bytes in 0 blocks
141 ==28876== indirectly lost: 0 bytes in 0 blocks
142 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
143 ==28876== still reachable: 345 bytes in 2 blocks
144 ==28876== suppressed: 0 bytes in 0 blocks
146 ==28876== For counts of detected and suppressed errors, rerun with: -v
147 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
149 valgrind after patch (mapitest):
150 ==29083== LEAK SUMMARY:
151 ==29083== definitely lost: 0 bytes in 0 blocks
152 ==29083== indirectly lost: 0 bytes in 0 blocks
153 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
154 ==29083== still reachable: 345 bytes in 2 blocks
155 ==29083== suppressed: 0 bytes in 0 blocks
157 ==29083== For counts of detected and suppressed errors, rerun with: -v
158 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
160 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
161 pull_emsmdb_property is using pointers and allocate memory to prevent from
162 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
163 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
164 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
166 valgrind before patch (mapitest):
167 ==26674== LEAK SUMMARY:
168 ==26674== definitely lost: 0 bytes in 0 blocks
169 ==26674== indirectly lost: 0 bytes in 0 blocks
170 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
171 ==26674== still reachable: 345 bytes in 2 blocks
172 ==26674== suppressed: 0 bytes in 0 blocks
174 ==26674== For counts of detected and suppressed errors, rerun with: -v
175 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
177 valgrind after patch (mapitest):
178 ==27270== LEAK SUMMARY:
179 ==27270== definitely lost: 0 bytes in 0 blocks
180 ==27270== indirectly lost: 0 bytes in 0 blocks
181 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
182 ==27270== still reachable: 345 bytes in 2 blocks
183 ==27270== suppressed: 0 bytes in 0 blocks
185 ==27270== For counts of detected and suppressed errors, rerun with: -v
186 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
189 Minor API documentation fixes.
194 - Add a macro to mparse.pl to free both mapi_response
195 and mem_ctx within OpenChange calls implementation.
196 For the moment it is only implemented in OpenUserMailbox call.
198 - Fix a memory leak in OpenUserMailbox: When the call failed
199 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
202 Minor indentation fix
205 Add some missing newlines to reduce compilation noise.
207 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
209 See the gsoc_exchange2ical branch history for commits.
211 I also made a change to address ticket #216, and
212 fixed a couple of typos.
217 Minor updates to provisioning instructions.
219 Thanks to Girish Venkatachalam for some suggestions.
224 Fix 'unused variable' warning on FreeBSD for exchange2mbox
227 Add documentation for the --freebusy option.
234 Fix segfaults in mapitest launched with exchange2010
236 Fix compilation warnings
239 Add missing -L directory specifier.
241 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
243 Patch by Brian Lu (Sun). Thanks again.
245 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
247 Fix a couple of typos that trash CFLAGS during build.
252 Automatically switch from connect to seal on the emsmdb pipe if
253 ecNotEncrypted is returned by EcDoConnect.
255 - Make OpenChange natively working with Exchange 2010
256 - Factorize binding string construction code within a single function
257 - the seal flag is mandatory to connect to Exchange 2010
258 - add seal boolean value to MAPI profile creation and mapi_profile
260 - add --encrypt option to mapiprofile to set the seal value
265 Add documentation for set_SPropTagArray().
267 Thanks to Brian Lu (Sun) for reporting.
272 This doesn't really fix ticket #149, but this should
273 at least prevent from triggering segmentation fault when
274 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
277 Trivial fix (newline) for warning on FreeBSD compiler.
279 Add support for manually creating the library symlinks for FreeBSD
281 This is a somewhat speculative commit.
283 Also fixes a couple of cosmetic whitespace issues.
288 Patch from Bryan Lu <brian.lu@sun.com>:
290 Create symbol link only on Solaris
292 This closes ticket #221 and makes it possible to compile openchange
295 Temporary bug fix in emsabp.c - If restrictions are NULL in
296 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
297 invalid res pointer leading in segmentation fault.
299 Initial fix proposed by Erik Hovland <erik@hovland.org>
301 Patch from Erik Hovland <erik@hovland.org>:
303 fid might be null. Check it before dereferencing in the
304 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
305 folder_lookup() function.
307 Patch from Erik Hovland <erik@hovland.org>:
309 NotificationData 'could' be null. Check it before handing it to
310 notification-callback(). This is important because eventually
311 NotificationData will be dereferenced in the code path.
313 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
315 Fix MAPI Warning error codes
317 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
319 bugfix: Bugs in abp_tdb layer fixed.
321 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
324 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
326 Implement NspiQueryRows() address list enumeration
328 We can now run openchangeclient --userlist on OpenChange NSPI server
329 and Outlook 2003 is able to query GAL.
331 Note: the initial patch was proposing:
332 "(&%s(showInAddressBook=*))", purportedSearch
334 I replaced it with "%s", purportedSearch only since we don't have yet
335 any showInAddressBook attribute in AD.
337 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
339 - Add server side implementation for NspiResolveNamesW
340 - Refactor and split emsabp_verify_user in two functions
342 A new function emsabp_get_account_info() implemented to fetch info
343 about given user name. emsabp_verify_user() uses the above function
344 check if authenticated account_name is valid mail account and if so,
345 account_name is cached in emsabp context for future use
347 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
349 NspiGetProps() reimplemented to match [MS-NSPI] specification more
352 As a side-effect, emsabp_fetch_attrs() was altered to return
353 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
354 the function returns more meaningful error codes - if requested MId is
355 not found this surely means InvalidBookmark rather than CorruptStore
360 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
362 Propagate dwFlags for incoming call to get EntryIDs correctly.
364 Actually we need to propagate dwFlags so that emsabp_query()
365 function to be able to determine whether EphemeralEntryID
366 or PermanentEntryID is requested to be built.
368 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
370 Implement PR_SEARCH_KEY attribute getter
372 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
374 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
376 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
378 - Extend NspiDNToMId() to search in Configuration and Domain
381 - NspiDNToMId() has been extended to cache returned data properly,
382 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
383 from Domain partition are cached in in-memory db ttdb_ctx.
385 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
387 emsabp_set_PermanentEntryID() implements MS specification more
388 closely. For reference: [MS-NSPI] and [MS-OXOABK]
390 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
392 - Change the way we initially fetched server GUID
394 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
395 initial patch and associated research:
397 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
398 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
400 Fix samdb_connect warning.
401 Add function prototype to nsp,emsmdb header files.
402 Change samdb_ctx from void * to ldb_context *
405 Update docs to match those in mapiproxy doxygen docs.
407 Roll to the latest Samba4 version.
409 This should have no noticeable difference over the
410 Samba4 alpha9 release, but its nice to use the latest
411 version, and it might make a difference on the server
416 Fix OpenChange server code and access to Samba4 databases.
417 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
418 All information can be accessed through a single access to SamDB and configuration records
419 accessed through ldb_get_config_basedn.
421 The following implementation has been tested and is working with:
422 - mapiprofile profile creation
423 - openchangeclient --mailbox
424 - Outlook 2003 account creation
425 - Outlook 2003 mailbox opening
430 Fix openchange user provisioning scripts
432 Forgot to commit this LDIF modifications for openchange provisioning
437 - Fix OpenChange server provisioning (exchange classes and attribute only)
438 - Remove deprecated provisioning steps
439 - OpenChange user provisioning is still broken at this point, but will be
440 fixed in further revisions.
445 Fix a cast warning at compilation time for libmapi++
447 - Update openchange libraries to 0.9: close trac ticket #165
448 - Propagate pkgconfig solution in trac ticket #94 to other libs
450 - Update openchange code to work with samba4-alpha9 release
451 - Apply minor fix to ldb_wrap_connect (number of parameters)
452 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
453 - Update samba4 version script to match alpha9 and related git commit
458 Ensure we get output if sqlite3 isn't found at configure time.
460 Now outputs "no" instead of a blank.
465 Fix attribution, per IRC discussion.
470 Ensure API documentation gets generated for utilities functions.
472 Some undocumented stuff in here to look at later.
474 Add additional mapidump functions for notifications
476 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
478 Maintains good test coverage for this file.
483 Avoid use-after-free for the number of rows in the SRowSet.
485 Resolves issue #212, which has the valgrind error.
490 Add test for get_proptag_value().
492 Minor cleanups for mapidump functions.
494 - Add support for dumping property tags using PT_SHORT.
495 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
496 - Minor format change for PT_BINARY (training colon)
497 - Ensure PT_SYSTIME respects the seperator value (API change)
498 - Add a conditional assert() using infrastructure introduced in r1553.
500 Implement mapitest support for all of libmapi/mapidump.c
502 Update openchangeclient for the API change.
504 Introduce a compile time definition that is set for SVN snapshot releases.
506 The intent is to use this to protect assert() calls that indicate incomplete code.
511 Improved Sun Studio compiler support.
513 Patch by Brian Lu (Sun) - thanks again.
515 Revert inadvertent part from previous commit (r1549)
517 Add coverage testing support.
519 ./configure now supports --enable-coverage, which builds with the right options
520 to support gcov. Also adds a new makefile target ("coverage") that runs the
521 required post-processing steps.
523 Also added a test script that does a range of openchange related (client side)
524 operations. This is useful for generating the test load for coverage checks.
526 So the basic recipe here is
527 1. Add the --enable-coverage option at configure time.
529 3. Install it, or otherwise ensure that coverage-enabled libs are used
530 4. generate the test load (e.g. run ./script/smoketest.sh)
532 6. Inspect the results in ./covresults
537 Add support for the SunStudio compiler.
539 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
540 ensure it all worked.
542 This approach is cleaner, allowing options to be build up separately for each compiler, and for
543 the C and C++ versions.
545 Tested on Linux with all three compilers.
550 Adding missing include.
554 Patch from Brian Lu (Sun). Thanks very much.
559 Additional portability fixes for SunOS.
561 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
563 I modified the patch to try to use autoconf where possible.
565 Resolves ticket #220.
567 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
568 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
570 Patch by Brian Lu (Sun) - thanks very much.
572 Partly resolves ticket #220 - still need to handle the first patch.
577 Fix build problem using Sun Studio compiler.
579 Reported by Brian Lu (Sun), including a patch (Ticket #219)
581 I slightly modified the patch, but nothing substantial.
586 Patches provided by raboof:
587 - Ticket #213 deprecated include directive removal
588 - Ticket #214 missing sanity check
589 - Ticket #215 fix some DEBUG macro level for sain ouput
599 Use mapi_profile_get_ldif_path to find ldif path when one is not given
604 Added libmapi++ wrapper function for CreateProfileStore
609 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
612 Should allow FreeBSD to be supported.
617 Alternative solution to ticket #179, provided by Alan Alvarez.
619 This alternative avoids the need for the user to clean up the string returned by what().
621 Also includes a test case, which I've used to validate that the original (prior to r1524) code
622 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
624 Resolves Ticket #179 (again).
629 Make sure that the string given by what() can be used.
631 Patch by Erik Hovland - thanks very much.
633 Resolves ticket #179.
635 Ensure that the libmapi++ messages example works even if there is no
636 PR_CONVERSATION_TOPIC (subject).
644 Modify mapi_object_set_logon_id() to be able to report errors.
646 Original patch by Erik Hovland, I made some changes.
651 Implement RopReloadCachedInformation (0x10).
653 Minor change to IDL (previously implemented), and adds
654 implementaiton and mapitest code.
656 Also editorial comment fix in some related mapitest stuff.
660 Implement GetValidAttachments ROP (0x52).
662 Includes IDL, implementation and mapitest.
664 mapitest also checks DeleteAttach behaviour, which I don't think we previously
667 Also includes a comment fix in the mapitest code.
674 Patch by Erik Hovland <erik at hovland.org>
679 Update the properties list.
681 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
686 Update API to use MAPITAGS enum.
688 Update to match API change.
690 Use appropriate enum here.
692 Use enum for OpenEmbeddedMessage call.
694 Use enums where appropriate.
696 Update users of FindRow to use enums.
698 We are supposed to be returning a MAPISTATUS, so switch to using
699 the OPENCHANGE_RETVAL_ERR macro here.
701 Use appropriate enums instead of int types.
703 Use enums instead of ints / hardcoded values.
705 Use enum types where appropriate.
707 Fixes warnings from Intel C compiler.
709 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
711 Fixes warning from Intel compiler.
716 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
717 not to CXXFLAGS as well.
721 Use enumerated type instead of integer.
723 Remove unreachable code.
725 Add "static" to avoid the need for additional declarations.
727 Avoids noise from the intel c compiler.
729 Namespace variable in macro, so we don't get noise about shadowing a
732 Help icc find comparison_fn_t.
734 Match up data types in argument and format string.
736 Remove unused variable, and change a name to avoid a "shadowed declaration"
742 Portability fixes for Intel C Compiler.
744 Set CFLAGS early, otherwise AC_PROG_CC will set
745 CFLAGS to "-O2 -g", which later has -O3 appended, which
748 Check if we're really icc, and if so, turn off some warnings.
749 Also turn off the "FORTIFY_SOURCE" define which causes problems
750 with missing builtins.
752 The warnings can (and should) be turned back on later, after we
753 fix the current issues.
758 Correct diagnostics messages.
763 Remove explicit -Wstrict-aliasing=3 from command line.
765 This is implied by gcc -Wall option, and icc produces nuisance warnings
766 with it enabled (related to the -W option, not the code being compiled).
768 Fix some memory leaks and a bug in mapiprofile.
770 I introduced the bug in r1467, there could be others that are similar.
775 Minor rewording of description
782 Move initialisation up, to make sure everything is valid in the failure paths
784 Patch by Erik Hovland. Thanks once again.
786 This closes out ticket #178.
788 Remove unreachable code.
790 Patch by Erik Hovland. Thanks again.
792 This is the second part of ticket #177. This completes the checkin of that ticket.
794 Remove unreachable code.
796 Patch by Erik Hovland. Thanks very much.
798 This is the first part of ticket #177.
803 Ensure that we check the result of the operation we just performed.
805 Patch by Erik Hovland. Thanks very much for continuing to provide these.
807 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
809 Make sure that return values are checked and report that given status if there is an error.
811 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
815 More cleanups of memory leaks for setting up database and an associated failure case.
817 fix leak in openchangeclient
819 (as seen with valgrind of "openchangeclient -m")
821 Fix memory leak in mapiprofile utility
826 Ensure that when we pass --profile to mapitest, that profile
827 gets used instead of the default.
829 Also fix a small memory leak when using --profile, and add some
832 Fix error handling case.
834 Patch from Erik Hovland - thanks very much.
836 Resolves ticket #175.
841 Remove unused enum values.
843 Remove unused code - no simple tests.
848 Update the script version of samba4 to alpha8.
853 Add tevent to dependencies.
858 Remove unused headers.
860 Patch by Erik Hovland - thanks very much,
862 Resolves ticket #164.
864 Apply patch from Erik Hovland, from ticket #162.
866 From the original patch:
867 "The problem is that when you do stat first w/ a file string anyone can
868 exploit the time in between to do whatever they want with the file that
869 the string is a name for. Instead, try to open straight away. Then fstat
870 w/ the file descriptor."
872 I think the patch is fine, although I didn't run the torture test.
877 Avoid duplicate call to mapi_object_get_logon_id
879 Based on a patch proposed by Erik Hovland, but adapted to follow the
880 pattern used in OpenStream().
884 Applied modified version of patch from Erik Hovland to address unused variables.
886 See http://trac.openchange.org/attachment/ticket/160/unused-values for
891 My version removes variables (rather than commenting them out) since we don't need
892 them now. I also updated the documentation for options that are no longer available
894 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
895 in r808 (to resolve #103), and looks like it might have been used for debugging - no
896 impact on the code. I pulled out the whole lot.
898 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
900 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
902 Fix potentially unused variable.
904 Tested with mapitest (even though nothing should have been affected) and
905 with libmapixx-test and libmapixx-attach under valgrind.
907 Patch is remaining part of http://trac.openchange.org/ticket/153
909 Thanks to Erik Hovland for the patch.
914 Remove dead / unused code.
916 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
918 Original patch by Erik Hovland - thanks again.
920 Update test case to reflect new behaviour
925 Link libmapistore against tdb.
927 Update copies of config.guess and config.sub.
929 Link libmapiproxy against tdb.
931 Declare a SOVERSION for libmapistore.
933 Use LDFLAGS when linking exchange2ical.
935 Create symlink for libmapistore.
937 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
939 Fix typo in variable name.
944 Fix typo in Python variable name.
946 Keep separate flags for libraries around in config.mk.
948 Link libmapiserver against all libraries.
953 Add some PidTag* mapping involved with Recipients and RecipientRow
958 Patch from Erik Hovland <erik@hovland.org>:
960 Initializes variables to make sure they aren't used uninitialized.
964 - Add sanity check on mapitest_common creation routines within
967 - Apply patch from Erik Hovland <erik@hovland.org>: check return
970 Patch From Erik Hovland <erik@hovland.org>
972 In torture_rpc_mapi_sendattach a call is made to the system function
973 read at line 199. The return value of read is assigned to read_size,
974 which happens to be of unsigned type. So if read returns -1 (which it
975 can) it will not be noticed. The patch changes the type to ssize_t
976 (signed) and checks for -1 as well as zero to break out of the loop.
980 Patch from Erik Hovland <erik@hovland.org>
982 1. In mapiproxy, the directory handle dir will be leaked after it is
984 2. exchange2mbox main() should use exit at line 785 just like all of
985 the other error paths so that we don't leak anything
989 Patch from Erik Hovland <erik@hovland.org>
991 Adds a #include config.h to suppress compiler warnings for vasprintf
993 Patch from Erik Hovland <erik@hovland.org>:
995 Make sure pointers are valid before dereferencing
996 1. lpProps 'might' be null
997 2. Add folder to variables checked before moving on.
998 4. Check nprop->guid before giving to strcmp, two times
999 6. Check definition before handing to strlen (which will dereference
1000 it) Reworked this one to include talloc_free
1001 7. Check MessageClass? before handing to strncasecmp
1002 8. Check backend, return if null.
1003 10. Don't print out anything if lpProp is null
1004 11. Check attach_size before dereferencing
1009 Fix pull structure for QueryRows reply when no RowData is available
1014 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
1018 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
1019 blob. However it doesn't yet support Chained calls.
1021 - Add AuxInfo/AUX_HEADER structures and IDL
1023 - Refactor mapi_request and mapi_response: move obfuscate_data calls
1024 up to the EcDoRpc layer
1029 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1031 call ProcessNotification() after each successful
1032 emsmdb_transaction() in all the libmapi calls.
1034 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1036 Mapi notifications can occurs inside any emsmdb_transaction; currently
1037 only the notification send by the server inside the
1038 emsmdb_transaction_null() in MonitorNotification() are
1039 parsed/processed/delivered to the appropriate callback.
1041 To be able to process all the received notifications, the notification
1042 structure must comprise the private data to be passed to the
1043 notification callback, since in the average mapi call this data is not
1044 available. This patch modifies the Subscribe() call and the
1045 mapi_notification structure, adding the private_data parameter (also the
1046 related Subscribe() calls are update) and add a libmapi call
1047 (DispatchNotifications) to force the notification dispatching in
1048 a [quite] non blocking way
1053 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1055 ProcessNotification() is ignoring the handle value contained into the
1056 processed notifications. This means that if many Subscribe() calls are
1057 performed on different folders but with the same flags, all the
1058 registered callback are [incorrectly] signaled with each received
1061 The attached patch match the handler contained into the notification
1062 message against the notification object handle to avoid such
1068 Make sure delayed authenication is not called when server mode is enabled
1071 Update property list to reflect current OAB props.
1073 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
1075 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
1077 Also remove duplicate close() of file descriptor.
1089 Implement RopTransportNewMail (0x51).
1091 Includes IDL, libmapi implementation, and basic mapitest coverage.
1093 Also fix a few doxygen / formatting things.
1098 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
1099 This commit fixes the ecWrongServer (0x478) error users encounter
1100 while running openchange based software in a clustered Exchange
1106 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
1108 Includes IDL, implementation and mapitest tests.
1113 Fix Search notifications.
1115 MS concurred that the docs are wrong.
1117 Patch by Paolo Abeni - thanks very much for the
1118 investigation and the patch.
1120 Update GetStoreState documentation.
1122 Implement RopSetPropertiesNoReplicate (0x79).
1124 IDL was already done. mapitest for DeletePropertiesNoReplicate was
1130 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
1132 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
1137 Implement RopHardDeleteMessages (0x91).
1139 Includes IDL, implementation and mapitest.
1142 Ignore generated property file.
1147 Add PT_ACTIONS to list of data types.
1149 Not fully/correctly handled yet.
1154 - Add dcerpc_mapiproxy:delegated_auth option
1155 This option delays mapiproxy-remote server authentication when
1156 the client sends the first request on a given pipe. This is
1157 mandatory in order to have delegated credentials to work.
1159 - Factor remote connection into mapiproxy_op_connect
1164 Add session state to the notification.
1165 Patch by Paolo Abeni - thanks for the investigation and fix.
1167 Also remove a stray debug message.
1169 Add a new mapitest suite for OXCNOTIF (Core Notifications).
1171 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
1176 Update IDL for ModifyRules (0x41) and add IDL for
1177 UpdateDeferredActionMessages (0x57).
1179 This is a checkpoint commit, pending further investigation
1180 into how we handle PtypRestriction and PtypRuleAction.
1185 Mapitest cleanups - remove GetLastError(), and other minor edits.
1187 Implement LockRegionStream and UnlockRegionStream ROPs.
1189 These appear to be a relatively recent addition to the
1190 documentation, possibly only used in Exchange 2007 / Outlook
1193 This is complete except for testing of whether the locking
1199 Use parent folder full replica ID: 2 bytes instead of 1 byte
1201 - Add Implementation for Logon redirect response buffer in OpenChange IDL
1202 - Update libmapiserver size calculation routine for Logon call to handle this case
1207 Add session and logon_id to the list of parameters to copy between objects.
1208 This patch fixes a problem in openchangeclient when using the --folder parameter.
1211 Remove code relating to free'ing the bookmark returned
1212 by SetCollapseState. Initial investigations with MS
1213 lead me to believe that you can't free that resource.
1215 May be more work in this area as investigation continues.
1220 Fix memory leaks for functions relying on pull_emsmdb_property
1225 Fix emsabp valgrind errors
1230 Make it possible to specify a version number for release different
1231 from major/minor from configure.ac
1236 Make it possible to open and control up to 255 mailboxes within a
1237 single MAPI session.
1239 It implements an internal management of a logon_id array at session
1240 level + enable transparent transport/copy of current logon_id value
1241 among MAPI calls + finally transparently free the logon_id value when
1242 the store object (PF or mailbox) is being released.
1244 - Retrieve recipients from OpenEmbeddedMessage reply
1245 - Test the implementation in mapitest
1246 - Avoid potential memory leak: steal context for returned ulPropTags.
1251 Be more tolerant with Logon request flags
1253 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
1254 This case still needs to be fixed though.
1256 Delete debug message
1258 Create a default GetProps reply on error
1263 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
1264 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
1265 Set errno to retval to work around this problem.
1268 NSPI-GETIDSFROMNAMES
1270 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
1271 has been worked-around by setting QueryFlags to NoStrings to limite the results
1272 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
1273 add additional tests to do full coverage.
1275 Fix GetNamesFromIDs IDL and implementation.
1277 Note: We should probably update the function prototype
1278 so it takes a mapi_SPropTagArray rather than a single property.
1281 Protect against bad results from GetGALTable().
1283 Resolves ticket #142
1288 Patch from Paolo Abeni: Add sanity check to Subscribe
1289 and prevent applications from crashing if notify context
1295 Ensure NSPI server functions have a valid dcesrv_handle
1297 Add quick/additional configuration information on how to setup openchange server
1299 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
1300 segfault when parent object is meant to come from GetContentsTable.
1302 - Fix NspiGetMatches server reply when specified username is invalid and
1304 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
1305 a talloc_free bug leading to segfault on failure.
1307 Prevent from registering same mapistore backend multiple times
1315 Add skeleton for GetRulesTable
1317 - return MAPI_E_SUCCESS when QueryRows reply count is 0
1318 - Move Reminders from IPM Subtree to Mailbox root
1320 - Add QueryPosition implementation
1321 - Move from offset to numerator/denominator couple for table objects
1323 Outlook now opens properly using openchange server and display the
1324 mailbox folder list with icons ;-)
1326 - Add skeletons for Restrict, SortTable, FindRow calls
1327 - Introduce emsmdb provider table object
1328 - Add preliminary table implementation for system/special folders
1329 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
1330 - Improve creation of GetProps reply blob for Mailbox folder
1331 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
1332 - Remove some usage of ldb_filter and use format string instead
1333 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
1334 so openchange server is able to return failed replies to MAPI clients
1335 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
1337 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
1339 Still preliminary but anyway worthwhile enough to be mentioned ...
1341 - Add a function to count subfolders of a container
1342 - Add a function to wrap MAPI tables over openchangedb
1343 - Factorize code used to fetch property values from LDB records
1345 - Add default properties to folder records while provisioning mailbox
1346 - Add few more mapping for PR_* to PidTag
1347 - Add a new MAPI property to the list
1349 Avoid openchangeclient --mailbox to segfault when run vs openchange server
1352 Remove some ldb_filters, and just use varargs into ldb_search
1354 warning fix for 64-bit arch.
1356 Revert previous commit.
1358 Experimental commit to fix build problems resulting
1359 from property changes.
1364 - Add PidTagDisplayName property to Mailbox object
1365 - Add PidTagParentFolderId to all system/special folders
1367 - handles array depends if a valid mapi_repl exists. This commit
1368 fixes the destructor semantics.
1369 - Fix a mapitest segfault encountered while run vs openchange server
1370 - Return 1 in SRowSet_propcpy if an error was encountered.
1372 Fix libmapi stack segfault when MAPI calls returns
1373 with error_code different from MAPI_E_SUCCESS.
1375 Do not process NSPI request if we can't find the handle
1377 Remove unnecessary ldb_filter parameter and replace it
1378 with ldb_search format string.
1383 - GetPropertyIdsFromNames skeleton added
1385 - Fix how Release replies are handled in mapi_repl[] array
1386 - Remove Release size calculation
1387 - Fix QueryRows size in libmapiserver
1388 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
1389 - GetHierarchyTable skeleton added
1390 - SetProperties skeleton added
1391 - CreateMessage skeleton added
1392 - SaveChangesMessage skeleton added
1398 Set mapi_response to NULL upon init ... just to get sure
1400 Fix MAPIUninitialize segfault
1408 - Add skeleton for GetContentsTable Rop
1409 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
1410 - Add libmapiserver size calculation functions for all the above
1411 - Ensure we only set objects parameter if it exists
1412 - Return when dcesrv handle is not available
1414 Merge s4-alpha7 branch back into trunk
1419 - Add several PidTag to openchange.ldb folders
1420 - Add provisioning convenient function which adds attribute/value pair
1421 to a given folder record
1422 - Replace existing special folders reference within Inbox with PidTagIpm* tags
1423 - Add new PidTag values to mapi-properties
1424 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
1425 - Add a function which builds special properties for openchangedb folders
1426 - Add PT_BOOLEAN case to openchangedb folder get property function
1427 - Keep a reference to the mailbox username within emsmdb provider context
1428 - Create and return a handle in RegisterNotification
1433 Wrong MessageClass size calculation fixed
1436 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
1438 Ignore new binary and trial output.
1443 - Fix systemfolder value for System/Special folders
1444 - Add GetProps support to System/Special folders
1446 Add auto-generated parser to the ignore list
1448 - Add auto-generated parser for MAPI property to PidTag mapping
1449 - Add some PidTag values
1450 - Add a lookup and get property functions on system folders
1452 - tuple SystemIdx in the dictionnary to workaround the ordering problem
1453 - Add ParentFolderId attribute to System Folders
1455 - Add creation of "Special folders" to mailbox provisioning
1456 - Rename fid attribute to PidTagFolderId
1457 - Rename name attribute to PidTagDisplayName
1458 - Rename ExplicitContainerClass to PidTagContainerClass
1460 Fix GlobalCount increment
1462 Fix mailbox provisioning
1465 Add test for FILETIME structure.
1467 Update docs for mapiproxy entry.
1470 Fix handling of fids.
1474 - Fix openchangedb mailbox hierarchy and introduces subfolders
1475 as described in [MS-OXOFOLDS] specifications.
1476 - Update openchangedb API to reflect this change.
1478 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
1479 to fit with MS-OXOFOLDS specifications.
1481 - Add provisioning code for GetReceiveFolder defaults
1482 - Check if mapistore content repository already exists for the user
1483 - Make mailbox creation verbose
1486 Fix parentfolder reference.
1490 Use recursive call to create folders.
1492 Simplify list iteration, PEP8, avoid using string exceptions.
1497 Fix 'dereferencing type-punned pointer' warnings
1499 - Add strict-aliasing compiler flags
1500 - Fix format string warnings on ubuntu buildbot
1502 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
1503 - Fix warnings introduced by -D_FORTIFY_SOURCE
1506 I might have been a bit hasty with that last commit...
1510 Try harder to find sqlite3.
1512 Seems to be in sqlite.pc on Ubuntu.
1514 Fix warning on 64-bit arch.
1518 - Add RopGetReceiveFolder (0x27) implementation
1519 The function respects should respect the semantics and behavior
1520 as described in MS-OXCSTOR specifications. However the python's
1521 code modification required: add ExplicitMessageClass attributes
1522 to folder records is not yet effective.
1524 - Add GetReceiveFolder size calculation function to libmapiserver
1525 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
1526 couple for a given SystemFolder within user's mailbox.
1528 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
1529 - Provision scripts: add default sqlite:// mapistore URI for system folders
1530 - Add mapistore context initialization when calling OpenFolder on SystemFolder
1531 - Add mapistore context release for folders in emsmdbp object destructor
1533 Factorize emsmdbp objects
1534 Add emsmdbp_object generic talloc destructor
1537 Add test for PT_MV_LONG.
1539 Add tests for PT_I8 and PT_BINARY
1541 Fix warning about no newline at end of file.
1543 Remove most recently added tests from "to be done" list.
1545 Add a couple more mapi_SPropValue tests.
1550 - Initialize mapistore within emsmdb provider context
1551 - Add destructors for MAPI handles and mapistore contexts
1552 - Remove emsmdbp_ctx memory context structure member and
1553 allocate directly with emsmdbp_ctx
1555 I don't see any good reason why we would pad MAPI replies with some bytes.
1556 I guess it comes from some prehistoric openchange code.
1558 Fix systemfolder assignment depending on IsSystemFolder value
1560 - Initialize OpenFolder server reply
1562 - Wrap TDB connections to mapistore (code from samba4) so
1563 multiple instances can open read/write to the same TDB database
1564 - Remove static id_mapping_context (replaced with tdb_wrap calls)
1565 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
1566 - Link mapistore with exchange_emsmdb
1568 Fix aclocal warning for AC_DEFINE comparison_fn_t
1570 Remove useless GetProfilePtr from IProfAdmin interface
1571 Closes trac ticket #131
1573 Add missing script - prevent configure from generating warning vs missing file.
1575 Remove stamp-h1 file during distclean and add it
1578 - Add server-side GetReceiveFolder (0x27) skeleton
1580 Work around the comparison_fn_t redefinition problem
1581 between libocpf and ndr.h
1583 FreeBSD doesn't have time.h daylight global variable
1586 start testing mapi_SPropValue_array.
1587 This also tests some underlying functions.
1592 Add comparison_fn_t support to ndr.h
1593 This was the latest change require to make openchange compiles under FreeBSD
1595 = samba4/openchange FreeBSD support completed =
1600 Remove duplicated post_install call
1602 Add a post_install operation on FreeBSD
1603 Make sure pidl is installed properly.
1605 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
1606 Note: this is a dirty hack which needs to be removed in the future
1608 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
1609 may not be adjusted properly.
1611 Avoid download samba4 release tarball if already available
1612 in current directory.
1614 - Add test for comparison_fn_t in configure.ac
1615 - libocpf auto-generated files include stdlib.h and prevent from
1616 having the proper comparison_fn_t typedef. This commit works around this
1617 problem and define comparison_fn_t within a private header.
1619 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
1620 Use fgetln instead when it is compiled on this OS.
1622 FreeBSD doesn't define sighandler_t but sig_t
1624 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
1626 - Add non-default search path /usr/local/{include,lib} to
1627 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
1628 - Make use of LDFLAGS while compiling openchange tools
1631 A few improvements for property handling.
1633 Also add unit tests to verify behaviour is correct.
1635 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
1637 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
1642 Check for Flex version < 2.5.35
1643 Make sure users can define the FLEX environment variable
1645 Add automake scripts for AC_CANONICAL_HOST support
1646 Needed for FreeBSD OS detection in configure.ac
1651 Fix warnings from lexer output.
1653 Fixes for warnings on 64-bit architectures.
1655 Fix warning on 64-bit architecture.
1658 Add some more tests for openchange.mailbox.
1660 Fix creation of new mailbox after provision.
1662 Always use the same URL when connecting to openchangedb.
1664 Fix arguments to openchangedb_provision.
1669 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
1672 Warning fix for 64-bit arch.
1677 Add doxygen definition for RopRelease
1679 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
1680 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
1681 - Fix size bug for serialized requests
1682 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
1683 - Make sure the GetProps reply blob is initialized whatever happen
1684 - Add a skeleton emsmdbp folder object init function
1689 Remove debug strings for GetPropertiesSpecific Rop
1691 Enable verbose output in server mode - useful during development
1693 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
1695 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
1696 - Fix GetProps size: subcontext is not added to the fixed size calculation
1698 - GetPropsSpecific size calculation function added to libmapiserver
1699 - Function to create a GetProps reply property blob added to libmapiserver
1702 Add tests for provisioning.
1704 Several cleanups in python code, add tests for schema use.
1706 Don't clear PYTHONPATH override.
1708 Remove unused imports, add extra tests.
1710 Use member variable for Ldb, rather than subclassing.
1712 Remove print statements to avoid cluttering test output.
1714 Add simple and incomplete testcase for OpenChangeDB.
1716 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
1718 Move adding a server to mailbox.py.
1720 Move ldif from oc_provision_openchange.ldif into Python.
1722 Stop providing setup_path to OpenChangeDB, as it's no longer used.
1724 Avoid using separate LDIF file when creating folder mailboxes.
1726 Avoid using separate LDIF file when creating mailboxes.
1728 Avoid passing full names object.
1730 Add check-python target.
1735 fix openchange_newuser.
1737 Use SamDB for actual SAM databases, Ldb otherwise.
1739 Remove unused parameters, don't make parameters optional if they are mandatory.
1741 remove unused parameters.
1743 make mailbox object-oriented, remove creds/lp parameters.
1745 Fix OpenChangeDB syntax.
1750 - Add a systemfolder member to the MAPI handle structure to make a difference
1751 between objects managed by mapistore and those stored within openchange.ldb
1752 (root mailbox folders).
1754 - Add opaque functions to set/get private_data and systemfolder to the MAPI
1757 Minor doxygen fix/improvement
1759 Add libmapistore object files to the ignore list
1761 - Add a very preliminary and light libmapistore implementation.
1762 mapistore only supplies init/release and add/del backend contexts.
1763 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
1764 - A temporary mapistore testing tool has been added locally for implementation checks.
1767 Use convenience function for connecting to openchange.ldb.
1769 Use standard LDB functions - openchange.ldb is not a SAM database.
1774 Implement support the SUMMARY language tag.
1776 Initial checking of libical based exchange2ical code.
1778 This has a long way to go, so think of this as more of a checkpoint
1781 See http://sourceforge.net/projects/freeassociation/ for the library, or
1782 see if your distro has a package.
1786 Add missing parameter to API documentation.
1788 Resolves ticket #130.
1790 API documentation fixes for OpenEmbeddedMessage()
1792 Implement OpenEmbeddedMessage ROP (0x46).
1796 Factor out message creation and message fill actions.
1798 Also remove GetLastError() where appropriate.
1800 Add some API documentation.
1805 Update openchangepfadmin description
1806 Fix tool relying on libmapiadmin
1813 Add more explanation for README
1815 Reimplement RTF decompression.
1817 Add unit tests from MS-OXRTFCP.
1819 Fix warnings in example code
1821 Add description for libmapiadmin
1823 Add description for libmapi / libmapi++
1825 Start on the directory descriptions.
1831 Add overview. Extracted from API docs.
1835 Outline of README file.
1837 (also using this to test buildbot without changing real code)
1841 Add Version field - avoid breaking pkg-config --list-all
1843 Fix warnings (gcc 4.2.4)
1846 Use variable for package version rather than hardcoding it.
1856 - Add an implementation of the MAPI handles management API. The API
1857 internally uses an in-memory TDB database to keep object hierarchy
1858 and a doubled chained list to associate private data to handles.
1860 The API currently provides add, search and delete facilities. Note
1861 that while untested, the delete operation is designed to recursively
1862 delete children of the 'meant to be deleted' handle.
1864 Finally the API doesn't remove TDB records but mark them as free so
1865 they can be reused across MAPI session and prevent from handle counter
1866 growing indefinitely.
1868 - Add a preliminary implementation of the Release call
1869 - Add Release size calculation to libmapiserver
1870 - Update EMSMDB provider to use MAPI handles API
1873 Minor api documentation fix.
1879 Minor API docs tweak.
1881 Token commit of tiny API docs fix.
1884 Look for GNU make harder (gmake on BSDs).
1889 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
1890 - Add common routines for OpenChange LDB context init and search
1892 - Add libmapiserver skeleton with size calculation routine for RopLogon
1893 - Change DSO linking dependencies for mapiproxy shared libraries
1894 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
1898 Remove .po and .o objects within libmapiproxy subdirectory
1900 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
1901 Fix make uninstall for AD and profiles directories
1905 Add python code and ldif files needed to create and populate the experimental
1906 openchange dispatcher database.
1908 Add 5-Minute configuration documentation for OpenChange server mode
1910 - Rebase ldif files into sub directories:
1911 * AD for OpenChange AD modifications
1912 * profiles for OpenChange IProfAdmin interface
1913 - Makes it easier figuring out LDIF files scope
1914 - Prepare setup folder for LDIF openchangedb files integration
1915 - Update install/uninstall Makefile rules for ldif files and
1916 make sure everything got removed
1921 Add support for short language names (e.g. en-AU) for lcid.
1926 Delete deprecated libmapi setup Perl script
1929 Add summary report for tests.
1931 Make mapitest return the number of failed tests.
1936 - Add pkg-config pc file for libmapiproxy
1937 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
1939 Free memory allocated by the fake subcontext in
1940 ndr_pull_mapi_response.
1942 This fix saves 300kb of memory and removes 700 loss records while
1943 valgrinding mapitest.
1945 Fix segfault - Add sanity check - when SPropTagArray is NULL in
1946 NspiQueryRows request
1948 Fix openchange_newuser name typo
1950 Fix server provisioning command line examples
1952 Fix several libmapi leaks.
1954 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
1955 and was not free'd when libmapi function released their
1956 context. Furthermore we need to release mapi_response->mapi_repl and
1957 mapi_response->handles which are now automatically free'd when
1958 mapi_response destructor is called.
1960 However note that this fix is not perfect: mapi_response memory is not
1961 free'd properly when calls exit with an error.
1963 This commit also make use of talloc_steal where necessary to keep
1964 returned fields allocated.
1968 Use named context rather than autofree
1970 Fix memory leak in emsmdb.c: Use a temporary memory context for
1971 request and length allocation in emsmdb_transaction.
1973 - This removes 827 loss records and approximatively saves 41kb of
1974 memory while valgrinding mapitest
1976 - Fix memory leak in GetDefaultProfile and GetProfileTable.
1977 - Save from 10 loss records while valgrinding mapitest
1978 - Developers are now responsible from freeing the GetDefaultProfile
1979 string the function allocates.
1980 - Apply changes to all openchange tools.
1982 Add blackbox subunit tests for mapiprofile tool
1985 One more trivial fix.
1989 (Yep, more trivial changes)
1991 Fix incorrect LCID for en-CA.
1993 (OK, its token, I admit).
1996 Don't define _GNU_SOURCE unconditionally.
2000 Prevent mapiproxy from multiple init and modules/server register
2001 when an smb client connect to the server (e.g. windows browser or smbclient)
2005 According to [MS-OXOCAL] Section 2.2.1.44.1
2006 "RecurrencePattern Structure", a monthly recurrence
2007 also has a Day specific parameter.
2012 Simply run autogen.sh rather than replicating it inside the Makefile.
2014 need to run aclocal before autoconf for the pkg-config macros.
2018 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
2019 Saves from 4 loss records while valgrind'ing mapitest.
2021 Use temporary memory context for EcDoConnect.
2022 Saves from 20 loss records when valgrind'ing mapitest.
2024 Free PropertyProblem structures returned by CopyTo.
2026 Replace deprecated talloc_init calls with talloc_named
2027 This commit removes some valgrind loss records talloc_init was responsible for
2030 Free everything when running mapitest --list-all.
2031 Valgrind however shows a loss record related to talloc_init ...
2034 Minor Intel C compiler warning fixes.
2036 Minor apidocs cleanups.
2040 Use double pointer for lp_ctx in GetLoadparmContext assessor
2042 Fix memory leak in utf8 lexer.
2044 - Remove custom iconv_convenience from pull_emsmdb_property and use
2045 lp_iconv_convenience on loadparm_context argument instead.
2047 - Change OpenChange libmapi API to reflect this change
2049 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
2050 (mostly for mapitest modules). libmapi/mapiproxy developers
2051 should never have to make use of it.
2053 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
2055 Free lpProps returned by GetProps, Fix context error in valgrind
2057 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
2058 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
2059 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
2062 Don't install mapiproxy if python wasn't found, since
2063 we wouldn't know where to install the provisioning scripts or be able
2068 Merge libmapi-0.8 branch r1015 to 1017 into trunk
2070 ** Start libmapi-0.9 COCHRANE development **
2072 Merge libmapi-0.8 branch changes into trunk
2076 Add python install/uninstall rules to provision rather than mapiproxy-servers
2078 - Remove server Makefile rules
2081 Note: server and providers have been merged within mapiproxy,
2082 so there is no reason keeping this deprecated code.
2086 Undoing change committed in r1004.
2088 Use .po files instead of .o files for openchange tools
2090 Add --version to openchange tools
2092 Add COPYING file with GPLv3 license
2096 - Add RenameProfile function to IProfAdmin API
2097 - Remove pointless CopyProfile from IProfAdmin API
2098 - Add --rename option to mapiprofile tool
2099 - Update man page to reflect this addition
2101 (close trac ticket #124)
2103 Fix libmapi from crashing when mapi_repl is NULL.
2105 Update Samba4 git rev to fix the charcnv segfault met in openchange
2109 Try to find the Samba python modules if they're not installed in the system
2114 - Fix Subscribe semantic bug and add WholeStore boolean parameter
2115 - propagate API change to tools/torture callers
2117 - Add assessor functions to set dumpdata and debug level in libmapi
2118 (SetMAPIDumpData and SetMAPIDebugLevel)
2119 - OpenChange tools modified to use these function rather than set these
2120 parameters on their own
2122 - Fix --debuglevel segfault in openchange tools
2123 - Enable logging to stdout in MAPIInitialize
2127 * OpenChange libmapi function now returns MAPI error instead of -1
2128 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
2129 - add doxygen documentation for some missing functions/files
2131 - Missed this event->tevent change in previous commit
2133 - Update openchange to use latest Samba4 master git rev (990491d)
2134 - Fix references to tevent_context structures
2135 - Fix iconv_convenience init in MAPIInitialize
2136 - Remove errorchecks mapitest module warning
2139 Use tevent_context_init.
2145 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
2146 using profile's mailbox string directly. This commit fixes the bug.
2148 - Add EcDoConnect and EcDoDisconnect preliminary support to
2149 dcesrv_exchange_emsmdb.c
2150 - Add internal session management mechanism to EMSMDB server
2151 - Add init and unbind modules function to EMSMDB server
2152 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
2155 Fix valgrind errors caused by using free'd memory.
2159 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
2160 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
2161 0xB (opnums using LZ based compression).
2163 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
2167 - Preliminary implementation of NspiGetProps NSPI server function
2168 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
2169 - Use correct ldb context (users or conf) depending on where MId is
2170 located (on-memory or on-disk)
2171 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
2173 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
2175 - Preliminary implementation of NspiDNToMId NSPI server function
2176 - Add emsabp_search_legacyExchangeDN to search for a record given its
2177 legacyExchangeDN attribute.
2179 - Preliminary implementation of NspiQueryRows NSPI server function added
2180 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
2181 rather assuming it is NULL terminated
2182 - Add support for "referenced" property tags
2183 - Add support for PR_MV_STRING8
2184 - Add emsabp_search_dn which search for a DN within AD and return the
2185 associated LDB message
2186 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
2187 emsabp_property array
2189 Prevent from trying to add a NULL element to profile database and segfault on strlen
2191 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
2193 - Preliminary implementation of NspiGetMatches NSPI server function
2194 - Make use of a on-memory TDB database for Ephemeral Entry IDs
2195 - Add TDB traversal routines to retrieve DN associated to MId
2196 - Move lp_ctx within emsabp_ctx for convenience
2197 - Add EphemeralEntryID to Binary_r routine
2198 - add emsabp_query (Find attribute matching given property tag and
2199 return associated data)
2200 - add emsabp_fetch_attrs which builds a SRow array given a MId and
2201 requested property tags.
2202 - add emsabp_search which searches AD given input search criteria
2203 - add a preliminary Property Tag to AD attribute mapping + associated
2204 functions in emsabp_property.c
2206 Note: This NspiGetMatches is limited to MAILUSER which means we only
2207 look for users (located within users.ldb). This limitation will be
2208 removed when we have a preliminary working emsmdb server, so we can do
2209 more extensive NSPI server tests.
2211 Add sanity check to get_SPropValue_SRowSet, prevents the function
2212 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
2214 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
2215 with NULL ppOutMIds is returned.
2220 - Preliminary NspiGetSpecialTable implementation added to NSPI
2221 server/EMSABP provider: Hierarchy Table supported (required during
2223 - add PT_BINARY support for mapidump_SPropValue
2224 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
2230 Add new Display Type values (used by EMSABP provider)
2232 Change DEBUGLEVEL for RfrGetNewDSA
2234 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
2235 - mapiproxy-servers-install now installs openchange python scripts and ldif file
2239 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
2240 This structure is required for NTLM_AUTH_IS_OK macro
2242 - Add doxygen comments for all OpenChange server modules
2243 - Fix doxygen return value for exchange_nsp
2245 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
2246 - Add exchange handle enum to dcesrv_mapiproxy.h
2247 - Add authentication verifier macro to libmapiproxy.h
2248 - Add preliminary EMSABP Address Book Provider implementation:
2249 * supports initialization, destructor (talloc)
2250 * implements user and codepage check routines
2251 * retrieve NSPI server GUID
2252 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
2253 - Add internal session mechanism management to NSPI server
2254 - Add init and unbind modules function to NSPI server
2255 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
2256 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
2258 OpenChange configuration schema updated with Addressing schema
2259 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
2261 Execute server modules init function when loaded
2264 A few API documentation fixes.
2269 Add documentation for MAPIProxy 'server mode'
2274 - Implement mapiproxy server mode architecture
2275 - Add server modules management API
2276 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
2277 - Add temporary provision Makefile rule
2282 Initial text was correct - rollback
2287 Ensure that GetLastError() also returns the correct value.
2289 Start changing the MAPI_RETVAL_IF() usage to two new macros:
2290 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
2292 simple_mapi.c is the only one converted at this stage.
2294 Also added a set of unit tests that verify at least some initial
2297 Remove unreachable code.
2299 Partly resolves ticket #124
2304 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
2306 mapiproxy documentation update: 3 questions added to FAQ section
2308 Patch from Corentin Chary:
2309 - Add PR_CONTENT_FILTER_SCL property to libmapi
2311 - Update openchange to work with samba4 master git rev f308c2f
2312 - Replace reference to events.h with tevent.h
2313 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
2318 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
2319 Update openchangeclient to reflect these changes.
2324 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
2326 Fix PIC object flags for SWIG build. Patch by metze.
2331 User %u format specifier for unsigned integer.
2333 Make return value match signature.
2335 Miscellaneous minor cleanups. Mainly making return types
2336 match signatues, format conversion (%u for unsigned values) and
2337 matching up result variable types (bool instead of enum MAPISTATUS).
2339 Return an enum MAPISTATUS, instead of a bool, to match function signature.
2341 Use %u instead of %d for unsigned values.
2346 Another minor APIdox edit.
2348 API documentation tweak.
2356 More apidox triviality.
2358 Trivial APIdox edits.
2360 Supplement the user's PKG_CONFIG_PATH rather than
2364 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
2366 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
2368 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
2373 Actually use pymapi variables in Makefile.
2375 Add configure flags for building and installing Python MAPI bindings (disabled by default).
2380 Add namespace prefix to scanner.
2385 - spnego / gssapi_krb5 authentication now available for mapiprofile
2386 - add the --realm | -R option
2387 - update mapiprofile man page
2392 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
2396 Don't generate / install man3 pages for libmapi++ or mapitest.
2398 Resolves ticket #121.
2400 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
2403 Allow retrieving id and session of MAPI objects.
2405 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
2407 Add stubs for Session class.
2409 Add infrastructure for MAPI python module.
2411 Look for python and python-config binaries.
2413 Remove empty directory.
2417 Remove obsolete --properties option and related code
2422 Fix RecipientRow member's order
2427 - Update to latest samba4 git master revision (3508a66)
2428 - Fix references to samr info24 struct
2429 - Add support for assoc_group_id proxy
2430 - Add support in mapiproxy for bind/alter connections using assoc_group_id
2431 - Update mapiproxy documentation
2436 Improve building. Partially addresses #94.
2438 More work required on this as we work on the
2439 portability in the future.
2441 Expose the underlying session.
2446 Remove unused --priority option.
2448 These offsets / values can be negative, so we shouldn't
2449 use unsigned int type to represent them.
2454 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
2456 This patch first tries to forge EssDN Logon string from "o" and "ou"
2457 attributes stored in the profile. If Logon fails with ecUnknownUser,
2458 then try to open the mailbox using the mailbox attribute stored in
2464 Document the --label option.
2469 Make openchange compile and work against latest samba4 master git rev (58db2be)
2472 Remove check for unused type 'uint_t'.
2477 More tweaks on the openchangeclient man1 page.
2479 More updates for man1 page for openchangeclient.
2480 Still doesn't fully address #113.
2482 Update the openchangeclient man1 page.
2484 Partly addresses ticket #113.
2486 There is still some work to do on this.
2488 Fix a typo, and try to make the descriptions more
2494 Initial version of man1 page for mapitest
2496 Initial man1 page for exchange2ical utility.
2501 Update man1 page for openchangepfadmin
2503 Minor updates for the man pages.
2508 Fix build errors: wrong number of arguments for ocpf_propvalue
2510 Fix warnings when compiling with -Wextra
2512 Fix warnings when compiling with -Wextra
2514 Fix warnings when compiling with -Wextra
2517 Complete initializers here.
2522 Update to reflect latest state of mapiprofile.
2527 Prevent segfault when running mapitest. Looks like the we can
2528 return MAPI_E_SUCCESS even if one of the property values is
2529 MAPI_E_NOTFOUND. That error then get turned into a char*, and
2532 Also fix a possible bug relating to operator precedence, and
2533 a couple of warnings (one for signed / unsigned comparison, and
2534 the other for an unsigned value never being less than zero).
2539 Enable output to stdout.
2541 Resolves ticket #106.
2543 Thanks to raboof for the report and fix.
2548 Fix missing initialisers (issue #110).
2550 Also fix some signed/unsigned warnings.
2552 Fix problems with incorrect initialisers (#110) and
2553 operator precedence.
2555 Also fix a couple of places with signed/unsigned confusion.
2557 Partial fix for issue #110, and a couple of very minor cleanups.
2564 We probably want to return here, not do nothing.
2569 Fix empty patch function problem: add a retval
2574 Explain the boost-thread trick.
2576 Minor documentation tweaks.
2581 - remove usage of global_loadparm in libmapiadmin
2582 - make use of session context rather than global_mapi_ctx in libmapiadmin
2583 - use local context rather than mapiadmin context in libmapiadmin
2584 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
2585 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
2586 - remove global_loadparm in torture test and replace it with torture context
2587 - fix dcerpc_init to match latest samba4 API
2588 - update samba4 version required to build openchange
2591 More API documentation tweaks.
2593 More API documentation tweaks.
2595 Some API dox fixes for libmapi++.
2598 Remove unnecessary patching of lib/events/events.h.
2603 Update to a more recent Samba4.
2606 Remove some usages of deprecated global_loadparm.
2608 Cope with new argument to dcerpc_log_packet().
2613 Fix includes for DEBUG(), fix some more warnings.
2615 Use same_net_v4 rather than deprecated same_net().
2617 Fix Samba 4 git revision.
2619 Fix includes - debug.h can only be included once.
2621 Include debug header.
2623 Cope with API changes in Samba functions.
2625 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
2630 Fix OpenMsgStore binding in swig perl and fetchmail script
2635 Fix pointless const definition for GetFreeBusyYear return type
2639 - Add the IsFreeBusyConflict convenient function which checks if a
2640 given date conflicts with existing FreeBusy Busy/OOF events
2642 - Modify openchangeclient --sendappointment behavior to check whether
2643 start or end date conflicts with FreeBusy published data for the
2646 - Add the --force option to openchangeclient to override this behavior
2648 - Fix a counter bug in mapidump_freebusy_events
2650 Fix doxygen typo error
2652 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
2653 data in public folders for a given user. Note: Ambiguous name is not
2654 supported at the moment.
2656 - Add convenient FreeBusy mapidump routines
2658 - Add FreeBusy read support to openchangelient
2660 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
2661 property.c functions
2663 - Add OpenUserMailbox which let developers open other mailboxes
2664 instead of the default profile one.
2666 - Add GetABRecipientInfo: convenient function which retrieves Address
2667 Book information for a given recipient
2672 - Add libmapi implementation for DeletePropertiesNoReplicate
2673 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
2675 Fix doxygen documentation
2680 - Implement multisession into libmapi
2681 - Update openchange tools and suite to reflect these changes
2682 - Fix SRow_addprop behavior
2684 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
2685 now take a mapi_session parameter.
2688 Use my openchange.org email address.
2693 - Add a session management API for mapiproxy modules. Similar code
2694 already existed for mpm_cache module. Common functions are now
2695 available to all mapiproxy modules through libmapiproxy
2697 - replace smbd with samba in mapiproxy documentation
2699 - Cache calendar, contact, journal, note, task and drafts folders IDs
2700 when GetDefaultFolder call is performed on one of these folders and
2701 keep them until obj_store is released.
2703 - Add a reverse lookup routine which says whether a given FID belongs
2704 to a default folder and which olFolderType it is.
2706 - Remove pointless memory context in GetDefaultFolder
2707 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
2709 Restore install rule for mapi profiles ldif files in
2710 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
2711 tries to create a new mapi profile store.
2715 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
2716 - mapi_object_copy routine added to mapi_object.c
2721 Fix missing Month field in LogonTime structure
2725 propagate IDL warning fix to property.idl
2728 Add target for building python API documentation.
2732 Fix samba4 release and git revision
2734 Fix installsamba4.sh script paths
2739 Install OpenChange python modules.
2741 Check for python dir during configure.
2743 ignore generated files.
2745 Stop installing js files.
2747 Use autoconf cache prefix.
2749 Use newer version of Samba 4.
2753 Remove dcesrv_exchange.so from server Makefile rule and
2754 move mapiproxy from TOOLS to SERVER.
2756 dcesrv_exchange and providers Makefile rules are orphan, planned
2757 to be removed (with their associated code) when emsabp merge process
2758 into mapiproxy is over.
2762 Export the Binary_r structure.
2766 Use more descriptive variable names in messages example code.
2768 Add a description of messages to libmapi++ API documentation.
2770 Add messages binary to the ignore list.
2772 Add new example showing libmapi++ message handling, and
2773 associated API documentation and build system changes.
2777 Update the API documentation main page for libmapi++
2781 Add foldertree binary to the ignore list
2783 - Add missing Input parameter
2784 - Add sanity check on ppNames
2787 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
2788 - Add a NspiGetSpecialTable test for Address Creation Template
2791 Fix valgrind-reported error, per ticket #101.
2793 Make sure we clean up after mapitest runs.
2799 - Add msExchUserAccountControl attribute to extended user record
2800 - openchange_newuser can now create/enable/disable an OpenChange account
2802 Exit the test if the WriteStream operation fails
2804 Fix ncacn_ip_tcp binding string for OpenChange server object
2806 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
2808 Fix pipe function check and use ndr autogenerated defines rather than static strings
2809 Fix calls to NspiDNToMId
2812 Make sure we set the body and body format properties, to
2813 ensure that the message is shown correctly with
2814 openchangeclient -F.
2819 - Rename oc_* python scripts to openchange_*
2820 - Add Full Exchange 2003 schema (classes and attributes)
2821 - Full Exchange 2003 modified classes and attributes support
2822 - Add prefixmap OID for some Exchange classes and attributes
2823 - Add missing ADSC classes and attributes
2824 - Improve configuration LDIF file with new objects
2826 NOTE: provision.py should find a way to handle firstorg properly
2827 NOTE: oc_provision_configuration.ldif is still incomplete
2830 API documentation improvements.
2834 Add an example to the libmapi++ documentation, and
2835 the right build magic and doxygen linkage.
2837 Minor API documentation fix
2841 Add forgotten part of API documentation fixes for mapitest.
2843 Improve mapitest API documentation.
2847 Use new DeleteFolder flags to clean up folders on deletion.
2849 This doesn't completely resolve ticket #84, but it does help.
2851 Ignore API documentation.
2853 Add Doxyfile to ignore list.
2855 Add initial support for Doxygen API documentation
2860 Implement the remainder of the standard public folders.
2864 Only do header line removal at the start of the file
2865 (lines 20 through 40 seems like a good compromise).
2867 libmapi++ is C++, not C, so we should not optimise
2868 Doxygen output for C.
2872 - Update the Logon_repl IDL (0xFE) and implementation
2873 - Add new folders to the mapi_obj_store for PF folders
2874 - rename pf_finder to pf_search
2877 Suppress some more unwanted headers.
2881 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
2885 - Update the EmptyFolder IDL
2887 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
2888 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
2890 Link libmapi++ documentation to main apidocs page
2892 Update GetAttachmentTable IDL and remove the unknown field
2894 - Update DeleteFolder IDL and implementation
2895 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
2896 - Sanity checks added at the beginning of the function
2898 - Rename GetRowCount to QueryPosition
2899 - IDL, implementation, documentation and openchange code updated
2900 - ActionType enum fields prefixed with 'ActionType_'. Original
2901 values were causing conflicts while building Perl bindings with
2902 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
2904 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
2906 - Update SaveChangesMessage IDL and implementation
2907 - Add a SaveFlags parameter to SaveChangesMessage function
2908 - update openchange code to reflect this change
2911 Build fix / fix for ticket #99.
2913 Filter out some new #include lines.
2915 This needs to be applied to other modules too.
2919 Update SRow and SRowSet IDL
2921 Delete obsolete input_locale and instance_key structures
2923 Fix WStringArray_r IDL
2925 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
2926 - LPWSTR structure removed
2928 Rename SDateTimeArray to DateTimeArray_r
2930 Rename SGuidArray to FlatUIDArray_r and fix the IDL
2932 Rename MV_LONG_STRUCT to LongArray_r
2934 Rename SBinary to Binary_r
2936 - Add removal of libmapi++ Doxyfile in make distclean rule
2937 - Add Doxyfile to svn:ignore
2939 Rename SShortArray to ShortArray_r
2941 - Move from SLPSTRArray to StringArray_r
2942 - LPSTR structure removed
2944 Rename MAPIUID to FlatUID_r
2946 Fix lexer warnings during compilation (ticket #100)
2948 - Update the EcDoConnect IDL (ref. ticket #99)
2949 - Add new fields to the emsmdb info structure
2950 - Add doxygen comments to libmapi/emsmdb.c
2953 Reduce warnings when compiling with 64-bit arch.
2955 Initial checkin of infrastructure for libmapi++ API documentation.
2959 - MAJOR NSPI protocol and libmapi stack update
2960 - All NSPI protocol functions implemented
2961 - NSPI stack fully documented
2962 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
2963 - NspiDNToEph renamed to NspiDNToMId
2964 - instance_key removed from nspi_context and set as a parameter to NSPI functions
2965 - SPropertyRestriction renamed to PropertyRestriction_r
2966 - FlagList structure removed and replaced by a SPropTagArray
2967 - MAPI_SETTINGS removed and replaced by a STAT structure
2968 - new MAPI property tags added to libmapi/conf/mapi-properties
2969 - NSPI module added to mapitest
2972 Clean up on failure.
2974 Clean up on failure.
2976 Minor improvements to ensure cleanup on failure.
2978 API documentation fix
2980 API documentation fix.
2982 API documentation fix.
2984 API documentation fix.
2986 API documentation fixes.
2990 API documentation fixes.
2994 Fix EMSMDB 0xb function name
2996 - update EcRRegisterPushNotification IDL
2998 - implement complete MAPI notifications
2999 - update libmapi to reflect these changes
3000 - make openchangeclient prints a brief summary for each notification found
3001 - update ulEventMask used in openchangeclient
3005 - Rename Advise MAPI call to RegisterNotification
3006 - Update RegisterNotification IDL and implementation
3010 - Fix Restrict IDL and implementation
3011 - Add a new parameter to the Restrict function
3014 Add mapi_nameid.h to the ignore list
3016 - Replace libmapi/mapi_nameid.h with a generated mparse file
3017 - Add a mapi_nameid.h parser to mparse.pl
3018 - Add canonical names for named properties
3019 - GetProps and SetProps resolves named properties if they exist
3020 - named properties can now be set directly and make mapi_nameid API be
3022 - replace named property tags hex value with their canonimal names
3023 - replace several use of the mapi_nameid API with smaller code
3025 - Add new IDL file (property.idl) to push/pull structures from binary
3026 blobs and not directly related to any MAPI calls. Include the
3027 generated property.h file into libmapi.h
3029 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
3030 parsing) and mapidump_SPropValue
3032 - Add functions to property.c to retrieve RecurrencePattern,
3033 TimeZoneStruct and GlobalObjectId structures (see property.idl).
3035 - add a preliminary version of exchange2ical tool. This version only
3036 dumps calendar folder appointments into ICS file on standard output.
3040 - Update mapi-nameid-properties with a more complete set of properties
3041 - Add a header to mapi-nameid-properties for sanity purposes
3042 - Move named properties with PT_STRING8 type to PT_UNICODE
3043 - update openchange code to reflect these changes
3044 - Add PSETID_Attachment to mapidefs.h
3048 Add missing check on password for the create command
3050 Fix incorrect usage of realm in mapiproxy
3054 Check for provider_rpc_connection retval for RFR functions.
3056 Update Doxyfile to parse mapiproxy/modules files and
3057 include documentation on static functions.
3059 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
3060 Exchange server name with mapiproxy one.
3061 - documentation updated to reflect these changes
3062 - new FAQ question added
3063 - developer documentation improved
3065 Add the RFR mapiproxy file.
3067 - Implement RfrGetNewDSA DN replacement in mapiproxy
3068 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
3069 - update mapiproxy documentation to reflect these changes
3073 - Add implementation of the NSPI Referral protocol (exchangeRFR)
3074 - update dcesrv_exchange and mapiproxy prototypes for RFR
3075 - add references to the RFR pipe in mapiproxy
3076 - prefix NSPI client connections with a RfrGetNewDSA call
3077 - add RFR functions implementation in libmapi/IMSProvider.c
3078 - add a --getfqdn option to mapiprofile
3079 - fix a minor mapiprofile option parsing bug
3083 Fix mapiproxy dummy module unbind prototype
3085 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
3086 - EcDoRpc indent updated
3090 Get rid of initialization order warning
3094 - add unbind hook for mapiproxy
3095 - add ahead mapiproxy mode
3096 - add read ahead in cache module
3097 - add synchronization mechanism in cache module
3098 - update mapiproxy documentation to reflect these changes
3102 Temporarily comment out installation of files removed
3107 Fix arguments, paths in provision scripts.
3109 Merge python provision/newuser scripts.
3111 Simplify installation of manpages a bit.
3115 Add configure check for libboost-thread. Add libmapi++ to the build
3116 only if it is available.
3120 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
3121 - Created session::login() members.
3122 - test applications use default profile.
3126 - Import Alan Alvarez work from libmapi++ into trunk
3127 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
3129 - Add libmapi++ to the build system
3130 - Add a patch function to installsamba4.sh: rename private to
3131 private_data in samba4 events.h header file
3132 - Change #include directives so it uses <libmapi++ ... rather than
3137 - Add a statitic function monitoring streams over OpenStream and Last
3138 ReadStream operations. Monitoring stream Release is not relevant
3139 since Outlook does not close the handle directly after last
3140 ReadStream operation. Should put in evidence difference between
3141 non-cached(1st retrieval) and cached (further retrieval).
3143 - Fix a few memory leaks
3147 - Commit initial revision for the mapiproxy cache module
3148 - Update mapiproxy hook API for the dispatch routine
3149 - Introduce the mapiproxy structure for modules to control top-level
3151 - Update mapiproxy documentation to reflect these changes
3155 * Fix remaining ByteRead parameter size for ReadStream operations.
3159 * Improve/Update Open/Read/WriteStream IDLs
3160 * Fix ByteRead parameter size for ReadStream operation.
3164 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
3167 Propagate r666 changes to OpenMsgStore and fix build
3170 Minor rename of bitmap value to avoid conflict with
3171 Private as a class name.
3175 Minor change: remove old debugging string from mapitest
3177 Fix incorrect header
3179 Remove deprecated mapi_handles API
3182 Initial checkin of some uno (static checker) support
3185 There will be a script to run uno with the right options,
3186 but that requires more work.
3190 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
3191 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
3193 - Call mapi_object_release in GetDefaultFolder
3194 - Remove pointless references to mapi_object_t
3197 Fix little memory leak.
3201 Fix invalid OpenFolder calls in mapitest modules
3203 Remove references to SaveChanges in doxygen see also statement
3205 - Rename SaveChanges to SaveChangesAttachment (0x25)
3206 - Update SaveChangesAttachment IDL
3207 - Update references to SaveChanges
3209 - Fix the huge memory leak described in Ticket #91
3210 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
3215 - Add mapi_get_errstr auto-generated routine which returns the MAPI
3217 - Add print routine for MAPI retval in mapitest
3218 - Add a color mode (--color) which prints either green or red MAPISTATUS
3219 - Update mapitest modules to use these new routines
3222 Minor API documentation fix.
3228 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
3230 - Report and make consistent usage of PropertyProblem in the IDL:
3231 SetProps, DeleteProps and CopyProperties
3233 - Remove unknown field in GetProps and GetPropsAll and replace them
3234 with the correct IDL mapping.
3236 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
3238 - Minor typo fix in IMAPIProp.c
3240 Improve CreateMessage request IDL
3242 Improve OpenMessage response IDL
3244 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
3246 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
3247 IDL: make these call able to check whether the folder is ghosted or
3250 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
3252 SeekRow and SeekRowBookmark IDL improved
3254 Improve the SetColumns IDL: remove unknown fields
3258 Minor code convention fix
3260 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
3261 from segfault when invalid dcerpc response is received.
3263 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
3264 Requires investigation
3267 Implement GetIdFromLongTermId and GetLongTermIdFromId
3268 functions (ROP:0x43 and 0x44), and associated mapitest.
3270 Documentation typo fix.
3272 Change the QueryNamesFromIDs() call to match
3273 MSDN, including changing the name to QueryNamedProperties().
3275 Also implement mapitest for QueryNamedProperties(),
3276 GetNamesFromIDs() and GetIDsFromNames().
3278 Update torture test to match.
3282 - Build system update: use samba4-alpha5 release with wget method
3283 - introduce 'make samba' and 'make samba-git'
3287 Make sure we have names[] array large enough.
3289 Problem identified using default uno run.
3295 Fix a small errno bug in GetBestBody
3296 Add dump-data and debug options to exchange2mbox
3300 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
3301 - remove sed hack, modifications applied in samba4 trunk
3302 - update required samba4 git rev required
3309 Minor documentation update: remove deprecated reference to ./bin/smbpython
3311 Fix torture suite entry point name
3312 Fix torture module installation path
3314 - Add implementation for the BestBody algorithm
3315 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
3316 - Remove trailing }}\0 from lzfu code
3317 - Update openchange tools to use GetBestBody rather than
3318 the initial check on PR_MSG_EDITOR_FORMAT
3320 Add a very basic stat module for mapitest: gives a quick overview
3321 of tests which failed at the end of the report.
3323 - Defines a global stream size in mapitest.h
3324 - Decrease stream size from 0x4000 to 0x3000
3325 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
3330 Fix OC_CHECK_SAMBA_VERSION string
3332 - Move samba4_ver.sh from top dir to script
3333 - update parts of openchange relying on samba4_ver.sh
3335 Add configure check for lib Z
3338 - Temporary fix ldb.pc problem and patch ldb.pc.in
3339 - Update samba4 version to the latest revision
3340 - Add libmapiproxy to svn:ignore proplist
3343 Try a different git revision, just for now.
3347 - Update Samba4 version needed
3348 - Change entry point function from init_module to samba_init_module
3349 - update documentation
3353 Fix calls of ldb_init() as required by newer versions of Samba.
3357 Support newer versions of Samba4.
3361 Add some other standard GUIDs
3369 Use version and soversion in mapiproxy library.
3371 Make modules directory overridable.
3375 Change API as identified on devel mailing list.
3378 After some investigation into an error reported by valgrind, I'm proposing an
3379 API change for the MoveCopyMessages() function.
3381 The signature is currently
3382 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
3383 *obj_dst, mapi_id_t *message_id, bool WantCopy)
3385 The problem is the message_id array. The subtle part is that it needs to be
3386 terminated with a null mapi_id_t*, because of this:
3387 for (request.count = 0; message_id[request.count]; request.count++);
3389 That is a bit error prone - enough so to be wrong in the mapitest.
3391 Now we could just fix the mapitest and document the requirements, or we could
3392 change the signature.
3394 Two ideas for a different signature:
3395 1. We could add a uint16_t count to the signature, that says how long the
3397 2. We could use a better data structure than mapi_id_t*. I'm suggesting
3399 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
3400 mapi_object_t *obj_dst,
3401 mapi_id_array_t *message_id,
3406 Add mapitest coverage for CopyTo operations on
3407 folders and attachments, and update API docs.
3409 Also fix one place where we inadvertently used
3410 CopyProps instead of CopyTo...
3414 Typo fixes in comments.
3416 Minor documentation updates.
3418 Clean up created message for SpoolerLockMessage() test.
3422 Update samba4 version test.
3426 Make sure properties are copies into the last valid
3427 location in the extended array (i.e. count-1) not the
3430 Also, make sure we cast the data to a uint8_t for
3431 conversion to boolean.
3433 Also fix compile warning about returning integer instead
3436 We may read up to 0x1000 bytes, so ensure there is
3437 enough room to add the terminating null.
3439 Minor cleanup of the talloc context for FreeBookmark().
3441 Also change around some code to protect things a bit
3442 better against null pointer inputs.
3446 Implement a bit more mapitest for CopyTo (0x39), in
3449 Also make it clean up and report failures properly.
3453 Implement the CopyTo operation (0x39), including initial mapitest.
3454 JK previously committed the IDL for this.
3456 Also make CopyProps (0x67) use an appropriate data structure for
3457 its IDL and update implementation to match.
3461 Minor documentation updates/corrections.
3465 Introduce a default case for MAPI Restriction. In some circumstances -
3466 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
3467 property tag which value is set to 0xFF. However 0xFF doesn't match
3468 any restriction case.
3472 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
3474 - Add IDL for ReloadCachedInformation (0x10) MAPI call
3476 - Add IDL for CopyTo (0x39) MAPI call
3478 - Update the Samba4 GIT revision needed to run openchange properly
3480 - import mapiproxy project from mapiproxy branch
3481 - add custom proxypack MAPI call
3482 - remove deprecated dcesrv_exchange_remote
3485 Add missing part of mapitest for SetReadFlags
3487 This should have been part of r578.
3489 mapitest for SetReadFlags
3491 Implement SetReadFlags (operation 0x66).
3493 Also minor API docs fix.
3495 Move some test infrastructure from the oxctable.c module
3496 into the common area.
3498 Fix IDL error for SetReadFlags, and use existing flags
3499 define (MSGFLAGS_READ) instead of creating a new set.
3501 Build fix for relocation of mapiproxy/ to be under the
3502 top level directory (instead of under the utils/
3507 merge from mapiproxy branch:
3508 * ndr_push Logon_req manually
3510 merge from mapiproxy branch:
3511 * Add IDL and server boiler template for EcDoConnectEx (0xA)
3514 * Fix ndr_push_mapi_response code in ndr_mapi.c
3516 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
3517 ndr_mapi.c. Handles special Notify and Pending cases
3519 * Handle op_MAPI_Pending case properly in
3520 ndr_pull_EcDoRpc_MAPI_REPL
3522 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
3523 DATA_BLOB if there is no RowCount
3525 merge from mapiproxy branch:
3526 * Fix GetReceiveFolder [out] IDL
3527 * Fix some naming convention typo
3529 merge from mapiproxy branch:
3530 * Fix SetMessagReadFlag [out] IDL
3532 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
3533 perfect, but it will prevent mapiproxy from ndr_pull error while
3534 setting message read flag on public folders messages.
3536 merge from mapiproxy branch:
3537 * Fix CreateMessage [out] IDL
3539 merge from mapiproxy branch:
3540 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
3541 * rewrite OpenMessage [in] IDL and report changes in
3542 libmapi/IStoreFolder.c
3544 merge from mapiproxy branch:
3545 * Add IDL for Pending (0x6e) MAPI call
3546 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
3548 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
3550 merge from mapiproxy branch:
3551 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
3553 merge from mapiproxy branch:
3554 * Add IDL for SyncGetTransferState (0x82) MAPI call
3556 merge from mapiproxy branch:
3557 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
3559 Note: This IDL is temporary and should be improved after completion of
3560 the merging process.
3562 merge from mapiproxy branch:
3563 * Add IDL for SyncOpenCollector (0x7e) MAPI call
3565 merge from mapiproxy branch:
3566 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
3568 merge from mapiproxy branch:
3569 * Add IDL for SyncImportMessageMove (0x78) MAPI call
3571 merge from mapiproxy branch:
3572 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
3573 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
3574 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
3576 merge from mapiproxy branch:
3577 * Add IDL for SyncImportDeletes (0x74) MAPI call
3579 merge from mapiproxy branch:
3580 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
3582 merge from mapiproxy branch:
3583 * Add IDL for SyncImportMessageChange (0x72) MAPI call
3585 merge from mapiproxy branch:
3586 * Add IDL for SyncConfigure (0x70) MAPI call
3588 merge from mapiproxy branch:
3589 * Add IDL for RegisterOptions (0x6f) MAPI call
3591 Note: This call is undocumented in Microsoft documentation, but MSDN
3592 RegisterOptions function generates this call on the wire.
3594 merge from mapiproxy branch:
3595 * Add IDL for Progress (0x50) MAPI call
3597 merge from mapiproxy branch:
3598 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
3600 merge from mapiproxy branch:
3601 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
3602 * Add IDL for GetPerUserGuid (0x61) MAPI call
3603 * Add IDL for ReadPerUserInformation (0x63) MAPI call
3605 merge from mapiproxy branch:
3606 * Add IDL for LongTermIdFromId (0x43) MAPI call
3607 * Add IDL for IdFromLongTermId (0x44) MAPI call
3609 merge from mapiproxy branch:
3610 * Add IDL for ModifyRules (0x41) MAPI call
3612 merge from mapiproxy branch:
3613 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
3615 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
3617 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
3618 work around the no-pointer deep recursion pb and remove
3619 existing nopull,nopush,noprint code from ndr_mapi.c
3621 * Fix mapi_SComment_Restriction IDL
3624 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
3625 - use mapi_LPWSTR for PT_MV_UNICODE
3626 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
3627 change its field names.
3629 - Fix emsmdb version
3630 - Change MAPI opnum enum identation -- Helps to fine down merging from
3636 Minor API documentation fixes.
3638 Update label to reflect SetReadFlags -> SetMessageReadFlag
3641 This should have been part of r529 - missed it.
3645 merging from mapiproxy branch:
3646 - Fix MV_UNICODE_STRUCT and unicode strings
3647 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
3648 mapi_LPWSTR for exchange_emsmdb
3649 - Add the NspiGetTemplateInfo IDL
3650 - Fix the NspiUpdateStat IDL
3652 Fix build: SetMessageReadFlag function name was not propagated in the
3656 Initial merge of changes for rename of SetReadFlags to
3657 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
3660 Use private_data instead of private, for C++ happiness.
3662 Minor cleanup. Using "try" confuses my c++ compiler...
3664 This is really part of r525. It moved to IMAPITable.c
3666 Update the table operations:
3667 - implement ExpandRow and CollapseRow
3668 - implement GetCollapseState and SetCollapseState
3669 - add mapitest coverage for the above, plus the Restrict call
3670 - implement ResetTable
3671 - implement FreeBookmark
3672 - add mapitest coverage for SRowSet parsing code
3674 - various API documentation bits
3677 Use right directory for samba4_ver.sh script.
3679 Use common location for Samba 4 git revision.
3683 Use PT_ERROR where appropriate.
3685 Update the SRowSet parser, fixing breakage I introduced.
3689 Update examples to reflect recent API changes.
3692 Don't rely on absolute file paths since the distribution may be installing
3695 make scripts executable.
3699 Avoid segfaulting if you ask for a specific test or tests and
3700 forgot to start the server.
3703 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
3704 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
3705 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
3706 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
3707 #############################[mapitest report]#################################
3708 [*] Date : Sun May 25 11:45:29 2008
3709 [*] Confidential mode : [no]
3710 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
3711 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
3713 [*] System Information :
3715 Kernel release : 2.6.23.17-88.fc7
3717 ###############################################################################
3721 [TEST] NOSERVER-LZFU
3722 ------------------------------------------------------------------------
3723 * uncompress_rtf2 : 0x00000000
3724 * uncompress_rtf2 : PASSED
3725 ------------------------------------------------------------------------
3726 [RESULT] NOSERVER-LZFU: [SUCCESS]
3727 ========================================================================
3729 [*] OXCTABLE-RESTRICT
3730 Server is offline, skipping test: "OXCTABLE-RESTRICT"
3731 [*] OXCTABLE-CATEGORY
3732 Server is offline, skipping test: "OXCTABLE-CATEGORY"
3736 ignores objects that contain invalid handlers in mapi_object_release().
3738 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
3742 Fix API documentation to match signature.
3746 Update QueryRows IDL and implementation to match
3749 The main work here is reworking the SRowSet parsing
3754 Typo fix - allow cleanup to work properly.
3758 Make sure it has a return value.
3762 Rename GetColumns remote operation to GetColumnsAll, and
3763 fix up IDL and implementation to match.
3765 Add some more unit test coverage, and pretty-up the
3768 Fix up breakage introduced in r493.
3771 Make sure nagios directory gets created if it didn't exist yet.
3775 Refactor the unit tests.
3777 Extract out the setup and some of the cleanup code.
3781 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
3782 - Use event_context structure
3783 - update installsamba4.sh script to revert to this revision.
3784 - update torture modulesdir reference
3787 Look a little bit harder for the Samba installation.
3791 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
3792 - Add OXCFXICS mapitest module
3796 - Fix "the very secret" openchange coding style
3797 - Add Copyright for our humble new libmapi developer ;-)
3800 Implement the CopyProperties operation, including
3801 a mapitest for this.
3805 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
3806 code maybe needs some review regarding memory.
3808 - Add the GetTransportFolder MAPI call (IDL + implementation +
3811 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
3813 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
3815 - Add GetRulesTable (IDL + implementation + mapitest)
3816 - Add the OXORULE mapitest suite
3822 Make sure config.mk is the last file removed during distclean.
3826 - Add the Abort MAPI call (IDL + implementation)
3828 OpenChange doesn't support yet asynchronous operation which explains
3829 why no associated mapitest test has been implemented. This should be
3832 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
3833 - Fix some typo in mapitest doxygen
3835 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
3836 - Fix some doxygen stuff
3837 - add a common function within mapitest which looks for a folder name
3838 within a container and return the opened folder object on success.
3840 Add auto-generated Doxyfile to the svn ignore list
3842 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
3844 - Uninitialize MAPI and general memory context at the end of mapitest
3847 Clean up / flush the stream after use.
3849 Saves a bit more "still reachable" in valgrind too.
3853 - Rename CopyMessages to MoveCopyMessages
3854 - Improve IDL + implementation and mapitest added
3857 Make sure the version shown for mapitest documentation
3858 is automatically set to match the package version.
3860 complete the rest of the API documentation autonumbering.
3863 Remove duplicate use of $(SHLIBEXT).
3865 Avoid parallel builds for now.
3869 Fix GetContentsTable binding in perl swig
3871 - Improve the GetHierarchyTable and GetContentsTable IDL and public
3872 IDL implementation (new parameters in,out)
3875 Initial part of automatic list numbering for doxygen comments.
3877 This doesn't work correctly with the current apidocs.css, which
3878 turns the list numbers into bullet points for reasons I don't
3883 - Improve the DeleteMessages IDL request
3885 - Update libmapi version from 0.7 to 0.8
3887 - Public API change for the GetReceiveFolder function; now takes a
3888 message class as 3rd parameter.
3890 - Improve GetSearchCriteria request IDL (unknown removed)
3891 - update libmapi copyright headers 2007 -> 2007-2008.
3893 - Improve the SubmitMessage IDL
3894 - minor indentation fixed in IMessage.c
3896 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
3898 - Add SeekStream MAPI call (IDL + implementation + mapitest)
3899 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
3901 - Add CommitStream MAPI call (IDL + implementation + mapitest)
3902 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
3903 - refactor the stream test to include all stream related operations
3904 - add a common function which generates a random ASCII blob of data
3907 Add doxygen support for the mapitest examples.
3910 Allow cleaning individual parts.
3914 - Add GetStatus call (IDL + implementation + mapitest)
3916 - Fix format string problem in mapitest headers
3918 Run offline suites by default.
3920 - Introduce the online/offline mode for suite
3921 - Fix Exchange headers print bug when server is offline
3922 - reset errno to 0 before running new test
3925 Install the libmapiadmin.h header.
3927 Fix a compile-time warning on amd64, for the second
3928 argument to the getline() call - incompatible pointer
3931 I'm assuming that size_t is equivalent to uint32_t
3932 on a 32-bit architecture, but not on a 64-bit arch.
3934 A quick test showed no difference in actual output.
3937 Remove bashisms in installsamba4.sh
3941 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
3942 - Improve some ModifyRecipients and Recipients structure naming
3946 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
3948 - Add OpenPublicFolderByName call added (IDL and implementation).
3950 - Note: the reply IDL doesn't handle Server and ServerCount yet.
3952 - Note: this call only refers to NNTP folders (e.g: folders located
3953 within "Internet Newsgroups". If developers use this call within "All
3954 Public Folders", then the call with return MAPI_E_NOT_FOUND.
3956 - Call not added to mapitest cause it require RightsAuthor permissions
3957 on Internet Newsgroups which is not the case by default.
3959 - dump-data and debug options added to mapitest
3960 - FOLDER suite renamed to OXCFOLD (naming convention)
3962 Rename module folder to oxcfold
3964 Replace the existing mapitest tool with a new implementation. It is
3965 less complete but more modular.
3968 Add proto headers to ignore file.
3972 OpenFolder request: replace unknown field with OpenModeFlags
3974 - Rename 0xFE opnum from OpenMsgStore to Logon
3975 - Update the Logon request IDL
3978 Add BEGIN_DECLS for private_proto.h.
3980 Add forgotten part of rev435.
3982 Add unit test framework for compressed RTF decoding.
3984 Refactor lzfu.c to improve testability.
3988 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
3989 to some incorrect sanity check tests.
3991 - Remove deprecated fuzzer_msgstore torture test
3992 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
3996 A couple of minor fixes to make it read better.
3999 properly clean up sofiles
4001 Import exchange nagios check script by Bill Edmunds.
4003 Add support for creating libocpf soname symlink.
4005 Use standard include for uint64_t definition.
4007 Cleanup talloc and tdb before building samba4.
4011 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
4013 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
4014 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
4016 Add reference to the ocpf lib within the pc file.
4020 Remove duplicate SWIG instructions (already covered by stdint.i).
4022 Ignore files created by swig.
4024 Use config.mk in swig/perl/Makefile.
4026 Allow sambaprefix and prefix to be different. Allow building with unknown
4027 Samba git revisions (will still warn though).
4029 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
4033 Add domain to the mapiprofile dump output.
4035 Fix OpenMessage IDL and GetRecipientTable fetched data
4037 -This line, and those below, will be ignored--
4040 M trunk/exchange.idl
4041 M trunk/libmapi/IStoreFolder.c
4042 M trunk/libmapi/emsmdb.c
4043 M trunk/libmapi/IMessage.c
4047 Fix typo, change samba-config -> samba-hostconfig.
4051 - Add openchangepfadmin to make install
4052 - Add openchangemapidump and locale_codepage to make clean
4056 Merge the samba4-latest branch.
4060 Revert so version number to 0.7
4062 Fix Perl bindings: update mapidump_message
4064 ** Start libmapi-0.8 ROMULUS development **
4066 Add ChangeLog and apidocs to the releases
4068 - Delete unmaintained regression suite
4069 - Fix typo error in torture-clean rule
4071 Add modified release script originally from abartlett/samba4
4073 - Check for specific Samba4 git revision in configure.ac
4074 - Prefix locale functions with lcid and make them _PUBLIC_
4077 API documentation update.
4084 Add installation script for samba4
4086 - Apply the nspi pointer patch - make openchange works with
4087 samba4-alpha3 git 41309dc
4092 Move the top level API documentation to an "overview"
4093 section and add a redirect to that overview.
4095 This keeps the doxygen output more nicely separated for
4098 Also, generate the man pages where the install expects
4103 - Fix strsep bug in openchangeclient
4104 - Add RECIPIENT support to libocpf
4106 - escape/unescape strings support added
4107 - PT_MV_STRING8 type added to OCPF write API
4111 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
4112 (based upon patch from lofi@mountproc.org)
4113 - makes the workstation parameter of mapiprofile optional (use
4114 gethostname if not defined by the user on command line)
4116 - Fix an allocation memory problem in cast_SPropValue
4117 - update svn:ignore proplist
4121 Update the documentation build so it keeps generating an embedded
4122 website in with apidocs/html as root directory.
4124 - Add support for PT_UNICODE and PT_SHORT to libocpf
4125 - Initial implementation of the libocpf write API
4126 - Update libocpf documentation
4127 - add --ocpf-dump option in openchangeclient
4128 - Fix realdistclean rules for server
4129 - add cast_SPropValue function to libmapi/property.c which cast
4130 mapi_SPropValue to SPropValue
4133 Split API documentation into two separate sections - one
4134 for libmapi and one for libocpf.
4136 Also add in a top level intro page.
4140 New build system which gathers a list of things that can be built with
4141 the libraries/utilities the user has installed and build that when
4146 Add missing allocation for OLEGUID
4148 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
4149 makes ocpf-syntax "exclusive" (quit after performing the operation).
4152 r371 was bad. What was I thinking with that nonsense!
4154 Revert to something sane.
4156 Make the ./bin/ directory if it doesn't exist.
4158 This should resolve ticket #33.
4162 Improve language handling when creating profiles.
4164 You can now get a list of valid languages and use either
4165 the language code ID or the language name to specify what
4166 language later versions of Exchange should reply with.
4168 Typo fix - duplicate ; at the end of the structure.
4170 Match format to unsigned int argument.
4172 Make the format specifier match the unsigned argument.
4176 propset svn:ignore update
4178 Update propset svn:ignore on doc/examples and libocpf targets
4180 - Fix ticket #29: http://trac.openchange.org/ticket/29
4182 - use access(2) to see if the database already exists
4183 - test if the profile already exists prior trying to add it
4184 - add descriptive error messages
4185 - catch CTRL-C signal and run a profile deletion routine
4188 Update API documentation for ocpf_nproperty_add().
4194 Fix mapidump_message call parameters
4198 Add fid/mid parameters to mapidump_message and changed
4199 openchangeclient_fetchitems to reflect these changes.
4201 Patch from Brad Hards <bradh@frogmouth.net>:
4202 updates the OCPF doxygen file.
4204 Patch from Brad Hards <bradh@frogmouth.net>:
4205 adds the doc/examples into the build system and enables make examples.
4207 Patch From Brad Hards, <bradh@frogmouth.net>:
4208 API documentation update and minor fix for the error value change.
4216 - Add PT_BINARY property support to OCP
4217 - Add stream support to OCPF for large PT_BINARY blobs.
4218 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
4223 - Prevent from assigning a value which type doesn't match with
4225 - Add missing substitution variable support for some named properties
4227 - Improve sample_appointment.ocpf example
4228 - Add PT_MV_STRING8 keyword to the list of supported property type
4233 Improve OCPF PT_MV_STRING8 support.
4235 - Initial revision for libocpf and its documentation
4236 - YACC support added to the build system
4237 - custom lid and string support in mapi_nameid
4238 - lookup functions added for OOM, lid and string
4239 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
4241 - PR_FID displayed in openchangeclient --mailbox
4242 - PT_MV_STRING8 support added to cast_mapi_SPropValue
4246 Patch from Brad Hards <bradh@frogmouth.net>:
4247 updates code to build with current API
4249 Patch from Brad Hards <bradh@frogmouth.net>:
4250 little update for some API dox
4254 - Add --update option to openchangeclient and allow users to modify
4255 existing messages (calendar, task, contact, note)
4256 - Add --delete option to openchangeclient and allow users to delete
4257 existing messages (calendar, task, contact, note)
4258 - Add some folder/message unique ID to mapidump outputs and send*
4259 openchangeclient functions.
4260 - Fix a bug in set_SPropValue: add sanity check on unicode
4261 string. Thanks to Suman Manjunath for this patch.
4262 - Fix mapidump_task function and identifiers of named properties used.
4266 Fix missing sanity check on priority
4268 Fix a bug in openchangeclient when tasks are created without body
4270 private flag added to openchangeclient appointments
4272 Fix folder IDs problem for Exchange 2007 SP1
4276 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
4280 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
4281 GetRecipientTable. We were extending SPropTagArray prior calling
4282 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
4283 and erroneous data to be inserted in the SRow.
4285 - Fix libmapi/socket/interface.c:
4286 - Use the latest version from Samba4 which removes reference to
4288 - Moves struct interface declaration to netif.h
4289 - Report changes to emsmdb.c notification functions.
4291 - Change GetGALTable prototype to match general libmapi policy. Remove
4292 the usage of bool and replace it with uint8_t. Possible values added
4297 - Improve NspiQueryRows IDL and implementation
4298 - Add GetGALTable implementation: fetch all the Global Address List
4300 - Add --userlist option to openchangeclient
4301 - Add a convenient and basic dumping function for Global Address List
4304 - Improve OpenMessage reply IDL
4305 - Fetch mapi recipients from OpenMessage reply
4306 - Add GetRecipientTable convenient function
4307 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
4308 GetRecipientTable implementation.
4309 - Add convenient SPropTagArray_add function
4310 - Add internal emsmdb_get_SRow routine
4314 Patch from Suman Manjunath <msuman@novell.com>:
4316 - Adds named-properties which define recurrence patterns for
4317 appointment and task.
4318 - Adds named properties for appointment timezone
4320 - Fix the SNotRestriction IDL and write custom push,pull,print
4322 - Add 2 new MAPI calls to the IDL:
4323 * GetSearchCriteria,
4325 - add sample {Get,Set}SearchCriteria torture test
4326 - add convenient mapi_id_array implementation
4327 - add GetDefaultFolder support for CommonView and Finder folders
4331 Make sure directory exists.
4335 - Fix tiny 'nail down samba4 version' bug
4336 - update the minimal Samba4 required version
4338 - Add FindRow call to the IDL
4339 - Improve mapi_Restriction support
4340 - Remove deprecated ndr_print_QueryRows function
4341 - Add a print function for fuzzyLevel
4342 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
4344 - Add couple of new MAPI tags to mapi-properties
4345 - change initial bookmark index to 3
4349 - Add 2 new MAPI calls to the IDL and mapitest:
4351 * GetReceiveFolderTable
4353 - Fix a bug in the SortTable test when no messages are returned by
4356 - Add SeekRowApprox to the IDL and mapitest
4357 - Fix some doxygen typo
4359 - New calls added to the IDL, torture suite and mapitest:
4362 - Internal mapi_object_bookmark_t implementation added to
4364 - SBinary_short default ndr_print function changed to custom
4368 Temporary fixes unexpected segfault in SortTable test. Emails sent
4369 during the Submit test have sometimes not yet been dispatched when the
4370 SortTable test begins. This fix adds a sleep(1) and an arbitrary
4371 number of attempts (5).
4373 Add 2 new MAPI calls to the IDL and libmapi:
4377 Tests for SortTable added to mapitest and the torture suite
4378 Test for AddressTypes added to mapitest.
4382 Fix perl bindings and fetchmail test
4384 2 new MAPI call added to the IDL and mapitest:
4390 - Add DeleteAttach MAPI call
4391 - Add new mapi unit tests:
4395 * GetAttachmentTable
4397 - Update mapitest README
4398 - Add some convenient functions to mapitest_common.c
4402 Add a preliminary draft of the mapitest standalone MAPI test suite.
4408 - Fix the build with the latest Samba4 version.
4410 - Add a basic libmapi/version.h auto-generated
4411 file (based on Samba4 one)
4412 - Remove some warnings when compiling the utf8
4414 - Add a emsmdb_info structure to fetch some
4415 information from the Exchange server
4417 WARNING: Please note that EMSABP is definitely broken and
4418 requires a review and update.
4421 DESTDIR should never get into any source files, that would defeat its purpose.
4425 Fix the torture suite.
4429 provide extra required argument.
4431 Store a loadparm context in the global mapi context.
4433 Deal with samba version.h's that don't contain the Subversion revision.
4437 Use SWIG-provided typemaps for stdint.
4441 Fix Content-Type field in exchange2mbox
4442 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
4446 - Improve the CreateMessage IDL
4447 - Add new parameters to IMAPIFolder CreateMessage libmapi function
4448 - Add --mkdir --rmdir options to openchangeclient
4449 - Update the CreateFolder API and openchangeclient documentation
4450 - Fix CreateFolder calls in openchange tools and torture suite
4451 - Fix gendb_search warning
4455 Add new PSETID_Address named properties
4457 Fix a few code convention typos
4459 Patch from Suman Manjunath <msuman@novell.com> applied:
4460 converts a 'struct timeval' to 'NTTIME'.
4461 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
4465 update Samba4 first revision to 26100
4468 Cope with ndr updates.
4472 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
4476 Fix profile creation in a clustered Exchange 2007 environment.
4480 Fix QueryColumns req size.
4484 ** Start libmapi-0.7 PHASER development **
4486 add --dump-data option to mapiprofile for debugging purpose
4490 openchangepfadmin (1) man page added
4492 Store messageID in the object when SaveChangesMessage is called
4494 Nail down Samba4 version for libmapi-0.6
4498 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
4499 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
4500 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
4501 - Fix a typo bug in openchangeclient body help string
4503 Update doxygen section
4507 - Add doxygen man (3) pages to installman and uninstallman rules
4508 - do not run doxygen if apidocs already exists
4512 Move documentation to doxygen
4516 Add convenient date related functions for implementors:
4517 returns a timeval struct matching a PT_SYSTIME property
4518 for improved date manipulation in 3rd party softwares
4522 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
4524 Fix make realdistclean when swig perl is enabled
4526 Fix swig perl bindins compilation: move *.o to *.po
4528 use talloc_memdup to copy const data in the body DATA_BLOB
4529 Should only provide valid pointer to talloc_free
4533 Fix the DeleteMessages [out] IDL.
4535 The remaining bytes were not part of DeleteMessages but
4536 MAPI notification (0x2a)
4540 - Add RTF support in exchange2mbox
4541 - Use openchange-tools public functions
4542 - Replace GetPropsAll calls with GetProps
4545 * Use GetProps rather than GetPropsAll for message dump
4546 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
4547 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
4549 -This line, and those below, will be ignored--
4552 A trunk/utils/openchange-tools.c
4553 M trunk/utils/openchangeclient.c
4554 M trunk/utils/openchange-tools.h
4555 M trunk/utils/openchangeclient.h
4556 M trunk/libmapi/mapidefs.h
4564 Remove useless svn:ignore
4567 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
4569 Original lzfu decompress routine fetched from libpst-0.5.2
4571 make enum MAPISTATUS variables naming uniform in libmapi
4575 Add PT_CLSID case to get_SPropValue_data
4577 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
4579 Patch from Brad Hards <bradh@frogmouth.net>:
4580 Fix compilation for x86_64 platforms.
4584 More svn:ignore updates
4586 Update of svn:ignore
4590 added the IDL license
4592 Convert OpenChange to GPLv3
4594 - Add .po files to make clean
4595 - Fix a couple of warnings in the utf8 conversion lexer
4596 - Prefer long filenames to truncated one for attachments in openchangeclient
4600 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
4602 Add PT_CLSID and PT_MV_CLSID support to the IDL
4604 - Add new named properties
4605 - Convenient function for MNID_STRING props lookup added
4608 Make .po a recognized suffix.
4612 Use -fPIC for library objects.
4616 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
4617 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
4619 - add mapi_nameid convenient interface and headers
4620 - mapi-named-properties populated, parser added to mparse.pl, file
4621 added to the build system
4623 - remove any incorrect reference to named properties in openchange
4626 - remove deprecated libmapi/mapi.h file
4627 - remove unused ulFlag parameter from IProfAdmin functions
4628 - remove unused memory context from libmapi/x500.c
4630 - support sendnote operation in openchangeclient
4631 - optimize check/list oc_element functions in openchangeclient
4633 - update swig interface
4637 - New MAPI calls: Named properties support
4640 * GetAllNamesFromIDs
4642 - Modified MAPI calls:
4645 These calls now have more granularity in libmapi with flags support
4647 - sample mapi-named-properties file introduced in libmapi/conf
4649 - Torture test suite:
4650 * suite temporary fixed (import torture_rpc_* functions from
4652 * torture_namedprops test added
4654 - SWIG Perl bindings fixed according to changes described above
4655 - minor improvements in libmapi/mapidump.c
4659 - Decrease MAX_READ_SIZE to 0x1000
4660 - Clean-up Read/WritreStream related code
4661 - add dump-data option to openchangepfadmin (debugging purpose)
4666 - remove reference to core/nterr.h
4667 - add global_loadparm reference where missing
4668 - add reference to core/error.h where needed
4671 Improve output during build.
4675 Pass loadparm contexts, should fix the build with newer Samba revisions.
4679 - WriteStream API changed: now returns the number of bytes written
4680 - WriteStream man page updated
4681 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
4682 - Set open mode to 0600 when attachments are stored on the filesystem
4687 Fix preliminary Perl bindings so it works with Samba4 alpha2
4688 and latest libmapi revision.
4690 Patch from Andrew Gaylard <ag@computer.org>:
4692 - When calling openchangeclient with the --dump-data switch, it will
4693 dump core, since the global_mapi_ctx pointer isn't initialised yet.
4694 The fix is to wait until it's set before accessing it.
4696 Patch from Andrew Gaylard <ag@computer.org>:
4697 - Leaving any blank lines before .TH directives appears to cause a blank page
4698 to be output when converting man pages to DVI files (which is a step to converting
4699 them to PDF). The following patch remove the blank line above the .TH in each man page file.
4701 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
4706 - Add objectClass to the object: container, message or attachment
4707 - Rename content to message in openchangebackup functions
4708 - add objectClass parameter to ocb_record_init
4712 - Move debug options to their correct location (after MAPIInitialize)
4713 - Improve code related to LDB transactions
4714 - Add convenient error checking macros
4718 - Add preliminary openchangemapidump draft
4719 - Fix lp_parm_* 1st parameter in the torture suite
4720 - New functions in property.c for MAPI data retrieval
4724 Use configure definition for mandir.
4728 Activate debugs this time
4730 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
4732 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
4734 Add error check for samr call.
4735 set errno with MAPI_RETVAL_IF.
4739 Make required packaged more clear (LinuxMagazin input)
4743 Remove invalid comment.
4747 - Clean-up function prototypes
4748 - Dump email when NEWMAIL notification is received
4752 Proper dependencies.
4754 Don't regenerate proto headers unless necessary.
4758 Use install for installing files/directories.
4760 Actually use replacement variable for libmagic.
4764 Remove forgotten BOOL
4766 Remove mapi_session pointer in mapi_objects
4767 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
4771 Prevent users from creation of *undeletable* folders in Outlook and
4772 perform sanity check on dirclass + display possible values.
4774 Provides a way to modify Default and Anonymous permissions for a given folder.
4776 Fix errno in getdir function + add sanity check on opt_rmdir
4778 - Fix a memory related bug in mapiadmin_add_user
4779 - Add latest howto.txt modifications from Dan
4781 - Fix bug in *UserPermission function: return when user is not found
4782 - Add sanity checks to mapi_object API functions
4783 - mapi_object_release reset errno to 0: need to release object
4784 after displaying the potential error message.
4786 Fix a mapidump_appointment bug
4787 Add PF folder support to fetch-items operation
4791 openchangeclient now support send/read/delete operation on custom PF directories.
4793 - Add libmapiadmin library draft: Add/Remove Exchange user
4794 - openchangepfadmin tool added: Public Folders management
4795 - Add Sanity check to CreateFolder
4800 Fix last references to BOOL, True and False.
4802 Fix more references to BOOL, False and True.
4804 Use standard type and values for booleans since Samba no longer exports
4805 BOOL, True and False.
4809 - Add OpenPublicFolder function to libmapi, Open Public Folder store
4810 - change torture suite API to match latest Samba4 pidl changes
4811 - utf8_convert regexp improved
4812 - minor changes: printf to DEBUG
4813 - howto.txt patch from Dan included
4814 - Samba4 torture code related to user account creation included in the
4819 Fix segmentation fault when running update prior populating the database.
4823 Remove obsolete file from the torture suite
4825 - Add Exchange Administration test to the torture suite: Create Exchange user
4827 Dan update on howto.txt
4831 - Add Exchange ACLs support to MAPI library
4832 - Add 2 new MAPI opnum: GetTable and ModifyTable
4833 - Improve mapidump functions
4837 - Improve aclocal check in autogen.sh
4838 - Fix flex binary detection in configure.ac
4846 Create libmapi.so symlink
4850 Fix mandir installation path
4851 Add ldconfig intructions to openchange installation documentation
4857 RES_AND and RES_OR preliminary implementation.
4861 - doc patch from Brad Hards
4862 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
4863 - fix a warning in property.c
4867 Add some 'const' (fixes compile warnings).
4869 Use sonames (required for the Debian packages).
4871 Add .bzrignore file.
4873 Update version number and use globally defined version number in libmapi.pc.
4877 - Add IDL implementation for restrictions Content, Property,
4878 CompareProps, Bitmask, Size, Exist.
4879 - Add Restrict MAPI call handling the restrictions above
4880 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
4881 - convenient sendmail function added to mapi_common.c
4882 - get property size function for mapi_SPropValue added to property.c
4884 test --This line, and those below, will be ignored--
4888 M torture/openchange.c
4889 A torture/mapi_restrictions.c
4890 M torture/mapi_common.c
4891 M libmapi/property.c
4892 M libmapi/IMAPITable.c
4896 Documentation update: Perl bindings installation
4900 - Add mapitags and mapicode support to Perl SWIG bindings
4901 - SPropTagArray support
4902 - SRowSet preliminary support
4903 - new constructor/destructor for mapi objects
4907 - IProfAdmin patch applied: having password outside of the profile
4909 - Perl bindings draft added to the trunk and to the build system:
4910 --enable-swig-perl=yes
4912 - datarootdir fixed in libmapi.pc.in
4916 - Add CopyMessages IDL and COPYMAIL torture implementation
4917 - Fix man page install dir according to latest Samba4 changes
4918 - Add datarootdir var to libmapi.pc.in and fix configure warning
4922 convenient function which retrieve a value from a SPropValue array
4923 given its property tag name, otherwise NULL
4927 Patch from Brad Hards <bradh@frogmouth.net>:
4928 openchangeclient man page updated
4930 - Add Windows UTF8 to classic UTF8 conversion through a lexer
4931 - openchangeclient --mailbox option changed to use it
4932 - flex and bison support added to configure.ac
4933 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
4937 - features added to openchangeclient:
4938 * --send-appointment
4942 - openchangeclient man page updated
4943 - new properties added to mapi-properties
4945 - Add man pages for simple_mapi.c functions:
4947 * GetFolderItemsCount
4949 - Remove deprecated functions from IMsgStore.c
4950 - Update man pages documentation
4952 Fix install rule in Makefile: add missing headers
4953 Move callback retval from uint32_t to int
4955 Fix notification callback retval
4957 - Advise opnum added to the IDL
4958 - Parts of the Notify response IDL implementation
4959 - Add Notification support to libmapi
4960 - Add --notifications option to openchangeclient
4964 Patch from Brad Hards <bradh@frogmouth.net>:
4965 - PR_BUSINESS_FAX_NUMBER
4966 - improves the information provided on a contact by
4971 - Fix the release call in,out
4972 - Call Release from mapi_release_object
4973 - Add sanity check to OpenMsgStore
4974 - clean up parts of the mapi_newmail test
4976 EcDoDisconnect code now sounds to work properly
4977 Tested against Exchange 2000 / Exchange 2003
4979 - Fix SpropValue property pull problem when GetProps layout is set
4980 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
4981 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
4982 - Add debuglevel and dumpdata options support to openchangeclient
4986 - Remove useless memory allocation in mapidump.c
4987 - Improve mapidump_appointment
4988 - Add sample mapidump_note
4989 - Add --fetchitems option to openchangeclient:
4990 This command offers an easy way to fetch calendar, contacts,
4991 tasks, notes and mails from the Exchange server.
4992 - Add IPF container class defines to mapidefs.h
4993 - Add and Fix property tags
4997 - Commit the EcDoRpc max_data patch proposed on the devel list
4998 - Clean up folders related functions from the torture suite
4999 (GetDefaultFolder makes this code obsolete)
5003 Add the --mailbox option to openchangeclient which recursively
5004 lists the full mailbox folder hierarchy
5006 - Add PT_SYSTTIME support to get_SPropValue_data
5007 - Add mapidump_SPropValue_date dumping function
5008 - Add PT_SYSTIME support to mapidump_SPropValue
5010 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
5013 - Add GetDefaultFolder implementation to simple_mapi.c. This function
5014 provides a convenient way to retrieve default folders ID. const
5015 olFolder values are stored in libmapi/mapidefs.h
5017 - Modify the torture test suite to reflect these changes.
5019 - OpenMsgStore now decodes all the fid returned in the response
5021 - fix a bug size in libmapi/property.c
5025 - Fix SMTP recipient in libmapi
5026 - Add SMTP recipient support to openchangeclient
5027 and the torture test suite
5028 - Fix a bug in SRow_addprop
5032 - OpenMessage IDL changed: we have a permission field.
5033 It is now set by default to 0x3 (read/write) until we
5034 change OpenMessage prototype.
5036 - Add a sanity check to MAPIInitialize when no profdb
5041 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
5043 - SetReadFlags IDL and implementation added to libmapi
5044 - Warning fixed in emsabp.h
5046 Fix a bug in openchangeclient when attachments are using
5047 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
5048 attachment filename.
5050 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
5051 private structure member to private_data for C++ compatibility.
5053 Add libmapi/simple_mapi.c designed to hold convenient
5054 functions for application development.
5056 - GetFolderItemsCount added which returns the number of
5057 total and unread messages for a given folder.
5061 - Fix a body openchangeclient bug which now prevent openchangeclient
5062 from segfault when no body is specified.
5063 - Add GetDefaultProfile call to exchange2mbox for the default
5065 - Improve fuzzer_msgtore output
5069 Add a fuzzer torture test on OpenMsgStore which
5070 test all the possible max_data value.
5072 Should help to understand if libmapi fails because
5077 exchange2mbox improved:
5078 - tdb dependency removed
5079 - message-id are now stored in the profile database
5080 - it now mirrors deletion operation from the mbox file back to the
5082 - man page updated to reflect these changes
5084 - GetProfileAttr function prototype modified. It now returns the
5085 results count for the given attribute and store values in a string
5087 - GetProfileAttr man page updated to reflect these changes
5088 - Fix mapiprofile attribute search command
5089 - migrate from open/write calls to stream ones in exchange2mbox
5092 newmail torture + notifications implementation
5098 Fix the SambaXP live demo segfault: When an ambiguous recipient is
5099 specified, it now skips the name properly and maintain a correct
5102 - Fix a bug when storing attachments into mbox
5103 - Add default path support to exchange2mbox
5107 - Update libmapi version according to the roadmap
5108 - Fix nspi_resolvenames to use default profile database and profile
5112 - Add default profile database and profile support in the torture suite.
5113 - Fix a bug in mapidump_task
5117 - Change MAPILogonEx to MAPILogonProvider and avoid potential
5118 emsmdb endpoint related problem
5119 - add sanity check on global session pointer
5123 Merged MAILOOK-branch changes r64:163 into the trunk.
5127 Remove ChangeLog, use svn log instead ;p
5131 - libmapi includes moved from libmapi/include to libmapi
5132 - Remove arguments from prototype definitions generation in mkproto.pl
5133 - __BEGIN_DECLS __END_DECLS support in header files
5134 - united libmapi/libmapi.h header file
5135 - openchange.h header removed
5136 - PIDL generated files moved to gen_ndr
5137 - compilation rule for libmapi header installation added
5138 - useless torture tests removed
5144 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
5145 Add GetAttachmentTable call
5151 Remove -Werror CFLAGS until I figure out how to fix
5152 our problem definitively.
5154 Remove static from dcesrv_exchange.c functions definition
5159 . reimplement GetProps
5160 . retrieve attachment size
5161 . modify fetchmail and fetchattach torture
5166 . add GetPropList to exchange.idl
5167 . add GetPropList implementation to IMAPIProp.c
5170 - Add fetchattach torture; Attachment size is not yet
5171 defined and 42 is used.
5172 - add 3 new EcDoRpc opnums:
5181 Forgot to add IMAPISession.c
5187 Remove spurious warnings at compile time and
5188 add -Werror -Wstrict-prototypes to CC.
5192 Dispatch libmapi functions into filenames matching
5193 the MAPI interface they belong to.
5197 Fix the attach issue by value and add torture test to
5198 the openchange torture suite.
5203 attachment torture test implementation
5209 Add a null element at the end of MAPI_REQ array
5210 so we can exit from the loop in ndr_print_mapi_request
5214 - Add the DeleteMessages IDL
5215 - New torture tests added:
5216 * OPENCHANGE-MAPI-SENDMAIL
5217 * OPENCHANGE-MAPI-DELETEMAIL
5219 These are experimental implementation
5224 subject option for delete message torture test
5228 added (recipients == null) check
5230 added default subject
5235 Add NspiResolveNames and the associated torture test.
5241 Fix nspi decoding problem due to the usage of
5242 a hyper instead of a dlong.
5246 - Add a preliminary NspiUpdateStat IDL
5247 - Fix the new server code convention naming
5248 (function prefixed with dcesrv_)
5249 - Fix a security bug in emsabp provider code
5253 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
5257 Add SetProps [out] support.
5259 Temporary allocation pb fixed in ndr_pull_mapi_response.
5260 Final fix in next commit.
5266 Fix the SetProps [in] IDL
5268 New mapi call support added:
5269 - ModifyRecipients [in,out]
5270 - SubmitMessage [in,out]
5274 Add IDL support for the following mapi calls:
5279 The SetProps IDL is still experimental and the
5280 content blob should be decoded more than the current
5287 Fix the align problem in QueryRows reply blob
5288 Add some printing output and clean useless DEBUG.
5294 Fix the OpenMessage IDL and add ndr_print support
5295 to the MAPI-FETCHMAIL torture test so we can
5300 Commit of the first experimental but working implementation
5301 of the MAPI-FETCHMAIL torture test able to retrieve mails
5302 from an Exchange Server.
5306 - Add a preview implementation of cached data system for multi MAPI calls requests
5307 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
5308 - Enhance some MAPI calls IDL
5309 - Fix some pull/print functions according to error_code and row_count values
5315 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
5316 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
5317 we have to stop processing the function IDL since no parameters follow.
5321 add MAPISTATUS to EcDoRpc_MAPI_REPL
5322 add mapi library code for:
5328 add mapi calls described above to MAPI-FETCHMAIL torture test
5332 add mapi_response to emsmdb_transaction so we can get the results
5333 check the mapi call error core in OpenMsgStore
5337 Add MAPISTATUS field in each mapi calls
5338 Add new MAPICODE (MAPI_E_CALL_FAILED)
5342 Fix the mapi_request push function
5343 Add a first approach to the MAPI client side library
5344 Add a first approach of the MAPI-FETCHMAIL torture test
5345 Fix the smb.conf.example with new fields and remove Samba4 unused ones
5351 Initial mapidump commit
5352 OpenMessage IDL fixed
5358 Unused and dummy code removed
5362 - Remove the MAPI decoding TDR layer and associated functions
5363 - Add MAPI decoding in exchange.idl at NDR layer
5364 - mapi_request / mapi_response pull/print ok
5365 - implement subcontext for async response decoding in
5367 - new MAPITAGS added related to Message envelope properties
5368 - clean up the code and remove unused files
5370 - Add new MAPI opnums and associated IDL:
5371 * [in] Release (opnum=0x1)
5372 * [in,out] OpenFolder (opnum=0x2)
5373 * [in,out] OpenMessage (opnum=0x3)
5374 * [in,out] GetContentsTable (opnum=0x5)
5375 * [in,out] GetProps (opnum=0x7)
5376 * [in,out] Secolumns (opnum=0x12)
5377 * [in,out] QueryRows (opnum=0x15)
5378 * [in,out] GetReceiveFolder (opnum=0x27)
5379 * [in,out] OpenMsgStore (opnum=0xFE)
5385 For IDL with unknown fields followed the IDL may
5386 change and the mapping of these unknown bytes incorrect.
5387 It's just based on assumptions and results of the different
5392 - The mapi_request / mapi_response pull function
5393 - emsmdb torture tests and libmapi/emsmdb.c
5395 All this code is currently broken and will be fixed
5396 when we start writing the new emsmdb torture suite
5404 Fix ndr_pull_MAPI_DATA function
5408 - Add new mapi opnums
5409 - Add a first IDL implementation for OpenMsgStore out
5413 - Enhance the handles id support in MAPI_DATA
5414 - Remove unused code
5416 EMSMDB encoding/decoding is currently broken.
5417 It will be fixed when we start the client side
5418 mapi library implementation.
5424 - Change IMAPISession.idl to mapi.idl
5425 - enhance mapi content payload decoding (multiple calls supported)
5426 - add sub EcDoRpc opnums and IDL for setcolumns (in)
5433 - new function on emsabp provider for entry id generation
5439 Old mapitables code deleted and merge of the samdb
5440 code used in openchange (emsabp_result_guid function).
5442 The following revision compiles and work fine with
5443 Samba4 revision 20341
5450 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
5456 - Fix compilation warnings based on patches provided
5457 by Stefan Huehner <stefan@huehner.org>
5458 - Fix the DSO issue for x64 platforms
5459 - Add the evolution plugin in the compilation process
5460 - remove the mapidump code (obsolete and replaced with ndrdump usage)
5466 evolution plugin moved into client/evolution for
5467 a correct and extensible naming convention.
5469 EcDoRpc IDL modified:
5470 - opnum are now 8 bits
5472 - EcDoRpc ndrdump output enhanced
5474 IMAPISession IDL modified:
5475 - Change OpenMsgStore function name to MAPI_RPC_LOGON
5476 for the 0xFE opnum operation.
5478 Fix warnings in the code.
5484 Openchange-Evolution plugin commit
5485 I reorganized openchange evolution plugin source tree.
5486 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
5487 Everything can be found in the oc-evolution directory.
5488 This is code a minimalist implementation of the camel provider for evolution.
5489 It will make appears an openchange server type in the server list handled by evolution.
5490 Still have to fix the ./configure to create a Makefile though.
5494 Fix the memory allocation problems in the emsmdb torture test
5498 Removed ascstr and directly add it to the IDL
5500 Fix the NspiQueryRows response where strings
5501 containing the user email address have to be
5504 The EMSABP provider is working ;-)
5508 The emsabp provider is now able to return multiple users
5509 when searching for part of a username.
5515 Fix the networkAddress binding strings for the
5516 Exchange object in the configuration db. The
5517 SERVER variable based on exchange:server had
5518 been added while we needed the NETBIOSNAME one
5520 Fix a segmentation fault in emsabp.c due to an
5521 unchecked pointer res->msgs. This was causing
5522 smbd to segfault when the supplied legacyExchangeDN
5523 sent by the user wasn't present in the database.
5529 Remove unused files and directory.
5530 Update Makefile.in and remove storedb compilation
5539 - provisioning (for the legacyExchangeDN of the server entry)
5543 Fix the build and remove dynconfig samba lib
5549 Unused ldif files removed + Schemas definitions updated
5553 Provisionning fixed (old ldif files cleaned)
5559 add tags rules to the Makefile
5563 add the \\pipe\\protected_storage named pipe
5564 to exchange_nsp bindings
5570 Add a dcerpc_server module in charge of the
5571 exchange interfaces registration. When this module
5572 is loaded prior the remote endpoint, it let us proxify
5573 the exchange_nsp and exchange_emsmdb ones.
5575 Change the exchange_nsp ncacn_np binding string to
5576 reflect how Exchange server is currently using it.
5578 Conform the IDL with latest pidl requirements and
5579 move the MAPI_DATA structure from exchange_nsp to
5586 Create the $prefix/modules/{dcerpc_server,torture}
5589 This fix openchange make install rule.
5593 This commit conforms openchange with the Samba4
5594 trunk and fix the autotools checks.
5596 I've modified the openchange torture file to
5597 match the current smbtorture API and the
5598 OPENCHANGE-NSPI-PROFILE test was successful.
5600 The NSPI ndrdump suite has fully been tested and
5607 This commit fix the build system:
5608 - add the -ldynconfig dependency to LDFLAGS
5609 - add header checks in configure.ac. We need them
5610 for the moment cause Samba4 doesn't install some headers
5611 required by openchange core
5612 - fix the make install
5614 - remove autotools generated files and definitively
5615 ignore them with the .svnignore file
5617 - keepref keyword removed from exchange_nsp interface
5622 + aclocal.m4 removed from repository
5623 + provisionning fixed