4 Implement IsMailboxFolder for public folder types.
6 Involves some refactoring of the way we handled the mapi_object_store_t,
7 such that we now talloc_zero the structure.
9 Adds mapitest coverage for these.
16 Add unit tests for IsMailboxFolder
18 Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.
23 Change location of .cpp.o and .ccp.po to the correct location
24 and inhibit compilation line output for moc and cpp compilation.
27 Try harder to clean up libmapi++ bits.
32 Ignore moc files and generated binary
34 Update OpenChange version to 0.10 NOMAD
36 Nomad is a mechanical explorer sent from Earth in 2002.
37 It was melded with an alien device named Tan Ru and the resulting robotic
38 hybrid began destroying anything that was imperfect including, in 2267,
42 Add documentation for qt/ subdirectory.
44 Try harder to find moc.
46 Initial commit of some Qt-style bindings.
48 This is mostly for testing, although hopefully the library will
49 emerge with a set of mostly-useful widgets for implementing
57 Inadvertent removal in a previous patch.
59 Some support for ReviewBoard.
64 Update OpenMessage flags to match specification values.
66 Cleanup libmapi++ code when we "make clean".
68 Add svn ignore entries.
70 Remove inline from shared library class.
72 Fixes build on Intel C++ compiler.
77 libmapi++ is no longer a header-only library
82 Add first part of Restrictions support.
84 A little more documentation fixes.
88 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
89 In such situation, mapi_response is not allocated but has a destructor
90 associated. This fix removes the destructor whenever the error code is
91 different from MAPI_E_SUCCESS.
93 Also add a minor (probably useless) check on mapi_response pointer validity
94 before attempting any other child's free.
97 A couple of minor API documentation fixes.
102 Rename libmapi into openchange in our release script.
103 Makes more sense given the scope of our releases.
105 Fix format string warnings.
107 New ModifyRecipients IDL and implementation.
109 This patch improves the logic within the RecipientFlags bitmask
110 calculation function and make use of different MAPI properties for
113 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
116 Minor API documentation fix.
120 Fix some exchange2ical memory leaks / "still reachable" memory.
122 Fix property tag array count, so we get the language in Summary
123 lines in the ical output.
125 Add protection against null CN values.
127 Resolves ticket #232.
129 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
131 Handle all day events for UTC+ timezones.
133 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
134 the problem, and providing a patch. In the end I heavily modified the
135 patch, and implemented a much simpler version while we sort out the
136 timezone identifier problems.
141 Minor documentation update to reflect GSoC exchange2ical merge.
143 temporary fix for building on FreeBSD 7.2.
145 Remove this file - converted it to trac tasks.
149 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
151 Changed MonitorNotification to be non-blocking.
152 Also checks whether to process notifications using a callback.
154 Open Profile Store using global_mapi_ctx for the memory context. This
155 fix removes 20 context errors when running valgrind on mapitest.
157 - Fix important memory leaks in OpenChange NSPI stack. The memory
158 context modifications applied to the EMSMDB stack have been
159 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
160 temporary context passed in parameter to the nspi_* functions from
163 - Changes propagated to torture, mapitest, IProfAdmin interface and
164 ResolveNames function to match the internal API.
166 - Add missing MAPIFreeBuffer call in mapitest modules
168 Minor cosmetic change
170 Minor changes to match our coding convention more closely
172 Return (const void *) instead of (void *) where missing
174 - Fix important memory leaks within the OpenChange stack. Most of the
175 leaks came from the pipe memory context used in emsmdb_transaction
176 which was only released on MAPIUninitialize and sometimes leaded in
177 lost blocks. This fix makes extensive usage of the temporary memory
178 context used in top MAPI calls implementation. This context is
179 passed in argument to emsmdb_transaction and used for dcerpc_*
182 When we return from any libmapi call implementation, this context is
183 destroyed. This guarantee no extra memory within NDR layer is kept.
185 The only requirement for this patch to work is to make sure the data
186 we return from MAPI calls is either reparent to another memory
187 context or copied properly.
190 Add support for skipping tests that don't apply to some
193 Change the format of the server version, so it matches the Microsoft
194 way of doing versions.
199 Fix store version info assignment - Exchange version now works again
202 Clarify the developer's task when using GetPropList.
204 We were allocating the SPropTag proptag array with the session context
205 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
207 We are now using SPropTagArray pointer as parent context and clarify
208 that the developer must pass an allocated SPropTagArray pointer to the
211 Missing mapi_object_release leading in small leaks.
213 Sanitize RfrGetNewDSA function and memory usage.
215 The function was returning either a const char * passed in parameter
216 or the string returned by RfrGetNewDSA call. Furthermore we were using
217 the session pointer for the memory context. Finally the function description
218 was not matching its behavior.
220 What this patch does:
221 - use a named memory context for RfrGetNewDSA call
222 - return an allocated string on success otherwise NULL
223 - release RFR memory context properly
225 valgrind before patch (mapitest):
226 ==28876== LEAK SUMMARY:
227 ==28876== definitely lost: 0 bytes in 0 blocks
228 ==28876== indirectly lost: 0 bytes in 0 blocks
229 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
230 ==28876== still reachable: 345 bytes in 2 blocks
231 ==28876== suppressed: 0 bytes in 0 blocks
233 ==28876== For counts of detected and suppressed errors, rerun with: -v
234 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
236 valgrind after patch (mapitest):
237 ==29083== LEAK SUMMARY:
238 ==29083== definitely lost: 0 bytes in 0 blocks
239 ==29083== indirectly lost: 0 bytes in 0 blocks
240 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
241 ==29083== still reachable: 345 bytes in 2 blocks
242 ==29083== suppressed: 0 bytes in 0 blocks
244 ==29083== For counts of detected and suppressed errors, rerun with: -v
245 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
247 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
248 pull_emsmdb_property is using pointers and allocate memory to prevent from
249 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
250 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
251 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
253 valgrind before patch (mapitest):
254 ==26674== LEAK SUMMARY:
255 ==26674== definitely lost: 0 bytes in 0 blocks
256 ==26674== indirectly lost: 0 bytes in 0 blocks
257 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
258 ==26674== still reachable: 345 bytes in 2 blocks
259 ==26674== suppressed: 0 bytes in 0 blocks
261 ==26674== For counts of detected and suppressed errors, rerun with: -v
262 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
264 valgrind after patch (mapitest):
265 ==27270== LEAK SUMMARY:
266 ==27270== definitely lost: 0 bytes in 0 blocks
267 ==27270== indirectly lost: 0 bytes in 0 blocks
268 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
269 ==27270== still reachable: 345 bytes in 2 blocks
270 ==27270== suppressed: 0 bytes in 0 blocks
272 ==27270== For counts of detected and suppressed errors, rerun with: -v
273 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
276 Minor API documentation fixes.
281 - Add a macro to mparse.pl to free both mapi_response
282 and mem_ctx within OpenChange calls implementation.
283 For the moment it is only implemented in OpenUserMailbox call.
285 - Fix a memory leak in OpenUserMailbox: When the call failed
286 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
289 Minor indentation fix
292 Add some missing newlines to reduce compilation noise.
294 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
296 See the gsoc_exchange2ical branch history for commits.
298 I also made a change to address ticket #216, and
299 fixed a couple of typos.
304 Minor updates to provisioning instructions.
306 Thanks to Girish Venkatachalam for some suggestions.
311 Fix 'unused variable' warning on FreeBSD for exchange2mbox
314 Add documentation for the --freebusy option.
321 Fix segfaults in mapitest launched with exchange2010
323 Fix compilation warnings
326 Add missing -L directory specifier.
328 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
330 Patch by Brian Lu (Sun). Thanks again.
332 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
334 Fix a couple of typos that trash CFLAGS during build.
339 Automatically switch from connect to seal on the emsmdb pipe if
340 ecNotEncrypted is returned by EcDoConnect.
342 - Make OpenChange natively working with Exchange 2010
343 - Factorize binding string construction code within a single function
344 - the seal flag is mandatory to connect to Exchange 2010
345 - add seal boolean value to MAPI profile creation and mapi_profile
347 - add --encrypt option to mapiprofile to set the seal value
352 Add documentation for set_SPropTagArray().
354 Thanks to Brian Lu (Sun) for reporting.
359 This doesn't really fix ticket #149, but this should
360 at least prevent from triggering segmentation fault when
361 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
364 Trivial fix (newline) for warning on FreeBSD compiler.
366 Add support for manually creating the library symlinks for FreeBSD
368 This is a somewhat speculative commit.
370 Also fixes a couple of cosmetic whitespace issues.
375 Patch from Bryan Lu <brian.lu@sun.com>:
377 Create symbol link only on Solaris
379 This closes ticket #221 and makes it possible to compile openchange
382 Temporary bug fix in emsabp.c - If restrictions are NULL in
383 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
384 invalid res pointer leading in segmentation fault.
386 Initial fix proposed by Erik Hovland <erik@hovland.org>
388 Patch from Erik Hovland <erik@hovland.org>:
390 fid might be null. Check it before dereferencing in the
391 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
392 folder_lookup() function.
394 Patch from Erik Hovland <erik@hovland.org>:
396 NotificationData 'could' be null. Check it before handing it to
397 notification-callback(). This is important because eventually
398 NotificationData will be dereferenced in the code path.
400 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
402 Fix MAPI Warning error codes
404 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
406 bugfix: Bugs in abp_tdb layer fixed.
408 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
411 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
413 Implement NspiQueryRows() address list enumeration
415 We can now run openchangeclient --userlist on OpenChange NSPI server
416 and Outlook 2003 is able to query GAL.
418 Note: the initial patch was proposing:
419 "(&%s(showInAddressBook=*))", purportedSearch
421 I replaced it with "%s", purportedSearch only since we don't have yet
422 any showInAddressBook attribute in AD.
424 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
426 - Add server side implementation for NspiResolveNamesW
427 - Refactor and split emsabp_verify_user in two functions
429 A new function emsabp_get_account_info() implemented to fetch info
430 about given user name. emsabp_verify_user() uses the above function
431 check if authenticated account_name is valid mail account and if so,
432 account_name is cached in emsabp context for future use
434 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
436 NspiGetProps() reimplemented to match [MS-NSPI] specification more
439 As a side-effect, emsabp_fetch_attrs() was altered to return
440 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
441 the function returns more meaningful error codes - if requested MId is
442 not found this surely means InvalidBookmark rather than CorruptStore
447 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
449 Propagate dwFlags for incoming call to get EntryIDs correctly.
451 Actually we need to propagate dwFlags so that emsabp_query()
452 function to be able to determine whether EphemeralEntryID
453 or PermanentEntryID is requested to be built.
455 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
457 Implement PR_SEARCH_KEY attribute getter
459 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
461 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
463 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
465 - Extend NspiDNToMId() to search in Configuration and Domain
468 - NspiDNToMId() has been extended to cache returned data properly,
469 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
470 from Domain partition are cached in in-memory db ttdb_ctx.
472 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
474 emsabp_set_PermanentEntryID() implements MS specification more
475 closely. For reference: [MS-NSPI] and [MS-OXOABK]
477 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
479 - Change the way we initially fetched server GUID
481 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
482 initial patch and associated research:
484 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
485 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
487 Fix samdb_connect warning.
488 Add function prototype to nsp,emsmdb header files.
489 Change samdb_ctx from void * to ldb_context *
492 Update docs to match those in mapiproxy doxygen docs.
494 Roll to the latest Samba4 version.
496 This should have no noticeable difference over the
497 Samba4 alpha9 release, but its nice to use the latest
498 version, and it might make a difference on the server
503 Fix OpenChange server code and access to Samba4 databases.
504 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
505 All information can be accessed through a single access to SamDB and configuration records
506 accessed through ldb_get_config_basedn.
508 The following implementation has been tested and is working with:
509 - mapiprofile profile creation
510 - openchangeclient --mailbox
511 - Outlook 2003 account creation
512 - Outlook 2003 mailbox opening
517 Fix openchange user provisioning scripts
519 Forgot to commit this LDIF modifications for openchange provisioning
524 - Fix OpenChange server provisioning (exchange classes and attribute only)
525 - Remove deprecated provisioning steps
526 - OpenChange user provisioning is still broken at this point, but will be
527 fixed in further revisions.
532 Fix a cast warning at compilation time for libmapi++
534 - Update openchange libraries to 0.9: close trac ticket #165
535 - Propagate pkgconfig solution in trac ticket #94 to other libs
537 - Update openchange code to work with samba4-alpha9 release
538 - Apply minor fix to ldb_wrap_connect (number of parameters)
539 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
540 - Update samba4 version script to match alpha9 and related git commit
545 Ensure we get output if sqlite3 isn't found at configure time.
547 Now outputs "no" instead of a blank.
552 Fix attribution, per IRC discussion.
557 Ensure API documentation gets generated for utilities functions.
559 Some undocumented stuff in here to look at later.
561 Add additional mapidump functions for notifications
563 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
565 Maintains good test coverage for this file.
570 Avoid use-after-free for the number of rows in the SRowSet.
572 Resolves issue #212, which has the valgrind error.
577 Add test for get_proptag_value().
579 Minor cleanups for mapidump functions.
581 - Add support for dumping property tags using PT_SHORT.
582 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
583 - Minor format change for PT_BINARY (training colon)
584 - Ensure PT_SYSTIME respects the seperator value (API change)
585 - Add a conditional assert() using infrastructure introduced in r1553.
587 Implement mapitest support for all of libmapi/mapidump.c
589 Update openchangeclient for the API change.
591 Introduce a compile time definition that is set for SVN snapshot releases.
593 The intent is to use this to protect assert() calls that indicate incomplete code.
598 Improved Sun Studio compiler support.
600 Patch by Brian Lu (Sun) - thanks again.
602 Revert inadvertent part from previous commit (r1549)
604 Add coverage testing support.
606 ./configure now supports --enable-coverage, which builds with the right options
607 to support gcov. Also adds a new makefile target ("coverage") that runs the
608 required post-processing steps.
610 Also added a test script that does a range of openchange related (client side)
611 operations. This is useful for generating the test load for coverage checks.
613 So the basic recipe here is
614 1. Add the --enable-coverage option at configure time.
616 3. Install it, or otherwise ensure that coverage-enabled libs are used
617 4. generate the test load (e.g. run ./script/smoketest.sh)
619 6. Inspect the results in ./covresults
624 Add support for the SunStudio compiler.
626 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
627 ensure it all worked.
629 This approach is cleaner, allowing options to be build up separately for each compiler, and for
630 the C and C++ versions.
632 Tested on Linux with all three compilers.
637 Adding missing include.
641 Patch from Brian Lu (Sun). Thanks very much.
646 Additional portability fixes for SunOS.
648 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
650 I modified the patch to try to use autoconf where possible.
652 Resolves ticket #220.
654 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
655 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
657 Patch by Brian Lu (Sun) - thanks very much.
659 Partly resolves ticket #220 - still need to handle the first patch.
664 Fix build problem using Sun Studio compiler.
666 Reported by Brian Lu (Sun), including a patch (Ticket #219)
668 I slightly modified the patch, but nothing substantial.
673 Patches provided by raboof:
674 - Ticket #213 deprecated include directive removal
675 - Ticket #214 missing sanity check
676 - Ticket #215 fix some DEBUG macro level for sain ouput
686 Use mapi_profile_get_ldif_path to find ldif path when one is not given
691 Added libmapi++ wrapper function for CreateProfileStore
696 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
699 Should allow FreeBSD to be supported.
704 Alternative solution to ticket #179, provided by Alan Alvarez.
706 This alternative avoids the need for the user to clean up the string returned by what().
708 Also includes a test case, which I've used to validate that the original (prior to r1524) code
709 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
711 Resolves Ticket #179 (again).
716 Make sure that the string given by what() can be used.
718 Patch by Erik Hovland - thanks very much.
720 Resolves ticket #179.
722 Ensure that the libmapi++ messages example works even if there is no
723 PR_CONVERSATION_TOPIC (subject).
731 Modify mapi_object_set_logon_id() to be able to report errors.
733 Original patch by Erik Hovland, I made some changes.
738 Implement RopReloadCachedInformation (0x10).
740 Minor change to IDL (previously implemented), and adds
741 implementaiton and mapitest code.
743 Also editorial comment fix in some related mapitest stuff.
747 Implement GetValidAttachments ROP (0x52).
749 Includes IDL, implementation and mapitest.
751 mapitest also checks DeleteAttach behaviour, which I don't think we previously
754 Also includes a comment fix in the mapitest code.
761 Patch by Erik Hovland <erik at hovland.org>
766 Update the properties list.
768 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
773 Update API to use MAPITAGS enum.
775 Update to match API change.
777 Use appropriate enum here.
779 Use enum for OpenEmbeddedMessage call.
781 Use enums where appropriate.
783 Update users of FindRow to use enums.
785 We are supposed to be returning a MAPISTATUS, so switch to using
786 the OPENCHANGE_RETVAL_ERR macro here.
788 Use appropriate enums instead of int types.
790 Use enums instead of ints / hardcoded values.
792 Use enum types where appropriate.
794 Fixes warnings from Intel C compiler.
796 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
798 Fixes warning from Intel compiler.
803 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
804 not to CXXFLAGS as well.
808 Use enumerated type instead of integer.
810 Remove unreachable code.
812 Add "static" to avoid the need for additional declarations.
814 Avoids noise from the intel c compiler.
816 Namespace variable in macro, so we don't get noise about shadowing a
819 Help icc find comparison_fn_t.
821 Match up data types in argument and format string.
823 Remove unused variable, and change a name to avoid a "shadowed declaration"
829 Portability fixes for Intel C Compiler.
831 Set CFLAGS early, otherwise AC_PROG_CC will set
832 CFLAGS to "-O2 -g", which later has -O3 appended, which
835 Check if we're really icc, and if so, turn off some warnings.
836 Also turn off the "FORTIFY_SOURCE" define which causes problems
837 with missing builtins.
839 The warnings can (and should) be turned back on later, after we
840 fix the current issues.
845 Correct diagnostics messages.
850 Remove explicit -Wstrict-aliasing=3 from command line.
852 This is implied by gcc -Wall option, and icc produces nuisance warnings
853 with it enabled (related to the -W option, not the code being compiled).
855 Fix some memory leaks and a bug in mapiprofile.
857 I introduced the bug in r1467, there could be others that are similar.
862 Minor rewording of description
869 Move initialisation up, to make sure everything is valid in the failure paths
871 Patch by Erik Hovland. Thanks once again.
873 This closes out ticket #178.
875 Remove unreachable code.
877 Patch by Erik Hovland. Thanks again.
879 This is the second part of ticket #177. This completes the checkin of that ticket.
881 Remove unreachable code.
883 Patch by Erik Hovland. Thanks very much.
885 This is the first part of ticket #177.
890 Ensure that we check the result of the operation we just performed.
892 Patch by Erik Hovland. Thanks very much for continuing to provide these.
894 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
896 Make sure that return values are checked and report that given status if there is an error.
898 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
902 More cleanups of memory leaks for setting up database and an associated failure case.
904 fix leak in openchangeclient
906 (as seen with valgrind of "openchangeclient -m")
908 Fix memory leak in mapiprofile utility
913 Ensure that when we pass --profile to mapitest, that profile
914 gets used instead of the default.
916 Also fix a small memory leak when using --profile, and add some
919 Fix error handling case.
921 Patch from Erik Hovland - thanks very much.
923 Resolves ticket #175.
928 Remove unused enum values.
930 Remove unused code - no simple tests.
935 Update the script version of samba4 to alpha8.
940 Add tevent to dependencies.
945 Remove unused headers.
947 Patch by Erik Hovland - thanks very much,
949 Resolves ticket #164.
951 Apply patch from Erik Hovland, from ticket #162.
953 From the original patch:
954 "The problem is that when you do stat first w/ a file string anyone can
955 exploit the time in between to do whatever they want with the file that
956 the string is a name for. Instead, try to open straight away. Then fstat
957 w/ the file descriptor."
959 I think the patch is fine, although I didn't run the torture test.
964 Avoid duplicate call to mapi_object_get_logon_id
966 Based on a patch proposed by Erik Hovland, but adapted to follow the
967 pattern used in OpenStream().
971 Applied modified version of patch from Erik Hovland to address unused variables.
973 See http://trac.openchange.org/attachment/ticket/160/unused-values for
978 My version removes variables (rather than commenting them out) since we don't need
979 them now. I also updated the documentation for options that are no longer available
981 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
982 in r808 (to resolve #103), and looks like it might have been used for debugging - no
983 impact on the code. I pulled out the whole lot.
985 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
987 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
989 Fix potentially unused variable.
991 Tested with mapitest (even though nothing should have been affected) and
992 with libmapixx-test and libmapixx-attach under valgrind.
994 Patch is remaining part of http://trac.openchange.org/ticket/153
996 Thanks to Erik Hovland for the patch.
1001 Remove dead / unused code.
1003 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
1005 Original patch by Erik Hovland - thanks again.
1007 Update test case to reflect new behaviour
1012 Link libmapistore against tdb.
1014 Update copies of config.guess and config.sub.
1016 Link libmapiproxy against tdb.
1018 Declare a SOVERSION for libmapistore.
1020 Use LDFLAGS when linking exchange2ical.
1022 Create symlink for libmapistore.
1024 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
1026 Fix typo in variable name.
1031 Fix typo in Python variable name.
1033 Keep separate flags for libraries around in config.mk.
1035 Link libmapiserver against all libraries.
1040 Add some PidTag* mapping involved with Recipients and RecipientRow
1045 Patch from Erik Hovland <erik@hovland.org>:
1047 Initializes variables to make sure they aren't used uninitialized.
1051 - Add sanity check on mapitest_common creation routines within
1054 - Apply patch from Erik Hovland <erik@hovland.org>: check return
1057 Patch From Erik Hovland <erik@hovland.org>
1059 In torture_rpc_mapi_sendattach a call is made to the system function
1060 read at line 199. The return value of read is assigned to read_size,
1061 which happens to be of unsigned type. So if read returns -1 (which it
1062 can) it will not be noticed. The patch changes the type to ssize_t
1063 (signed) and checks for -1 as well as zero to break out of the loop.
1067 Patch from Erik Hovland <erik@hovland.org>
1069 1. In mapiproxy, the directory handle dir will be leaked after it is
1071 2. exchange2mbox main() should use exit at line 785 just like all of
1072 the other error paths so that we don't leak anything
1076 Patch from Erik Hovland <erik@hovland.org>
1078 Adds a #include config.h to suppress compiler warnings for vasprintf
1080 Patch from Erik Hovland <erik@hovland.org>:
1082 Make sure pointers are valid before dereferencing
1083 1. lpProps 'might' be null
1084 2. Add folder to variables checked before moving on.
1085 4. Check nprop->guid before giving to strcmp, two times
1086 6. Check definition before handing to strlen (which will dereference
1087 it) Reworked this one to include talloc_free
1088 7. Check MessageClass? before handing to strncasecmp
1089 8. Check backend, return if null.
1090 10. Don't print out anything if lpProp is null
1091 11. Check attach_size before dereferencing
1096 Fix pull structure for QueryRows reply when no RowData is available
1101 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
1105 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
1106 blob. However it doesn't yet support Chained calls.
1108 - Add AuxInfo/AUX_HEADER structures and IDL
1110 - Refactor mapi_request and mapi_response: move obfuscate_data calls
1111 up to the EcDoRpc layer
1116 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1118 call ProcessNotification() after each successful
1119 emsmdb_transaction() in all the libmapi calls.
1121 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1123 Mapi notifications can occurs inside any emsmdb_transaction; currently
1124 only the notification send by the server inside the
1125 emsmdb_transaction_null() in MonitorNotification() are
1126 parsed/processed/delivered to the appropriate callback.
1128 To be able to process all the received notifications, the notification
1129 structure must comprise the private data to be passed to the
1130 notification callback, since in the average mapi call this data is not
1131 available. This patch modifies the Subscribe() call and the
1132 mapi_notification structure, adding the private_data parameter (also the
1133 related Subscribe() calls are update) and add a libmapi call
1134 (DispatchNotifications) to force the notification dispatching in
1135 a [quite] non blocking way
1140 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1142 ProcessNotification() is ignoring the handle value contained into the
1143 processed notifications. This means that if many Subscribe() calls are
1144 performed on different folders but with the same flags, all the
1145 registered callback are [incorrectly] signaled with each received
1148 The attached patch match the handler contained into the notification
1149 message against the notification object handle to avoid such
1155 Make sure delayed authenication is not called when server mode is enabled
1158 Update property list to reflect current OAB props.
1160 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
1162 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
1164 Also remove duplicate close() of file descriptor.
1176 Implement RopTransportNewMail (0x51).
1178 Includes IDL, libmapi implementation, and basic mapitest coverage.
1180 Also fix a few doxygen / formatting things.
1185 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
1186 This commit fixes the ecWrongServer (0x478) error users encounter
1187 while running openchange based software in a clustered Exchange
1193 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
1195 Includes IDL, implementation and mapitest tests.
1200 Fix Search notifications.
1202 MS concurred that the docs are wrong.
1204 Patch by Paolo Abeni - thanks very much for the
1205 investigation and the patch.
1207 Update GetStoreState documentation.
1209 Implement RopSetPropertiesNoReplicate (0x79).
1211 IDL was already done. mapitest for DeletePropertiesNoReplicate was
1217 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
1219 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
1224 Implement RopHardDeleteMessages (0x91).
1226 Includes IDL, implementation and mapitest.
1229 Ignore generated property file.
1234 Add PT_ACTIONS to list of data types.
1236 Not fully/correctly handled yet.
1241 - Add dcerpc_mapiproxy:delegated_auth option
1242 This option delays mapiproxy-remote server authentication when
1243 the client sends the first request on a given pipe. This is
1244 mandatory in order to have delegated credentials to work.
1246 - Factor remote connection into mapiproxy_op_connect
1251 Add session state to the notification.
1252 Patch by Paolo Abeni - thanks for the investigation and fix.
1254 Also remove a stray debug message.
1256 Add a new mapitest suite for OXCNOTIF (Core Notifications).
1258 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
1263 Update IDL for ModifyRules (0x41) and add IDL for
1264 UpdateDeferredActionMessages (0x57).
1266 This is a checkpoint commit, pending further investigation
1267 into how we handle PtypRestriction and PtypRuleAction.
1272 Mapitest cleanups - remove GetLastError(), and other minor edits.
1274 Implement LockRegionStream and UnlockRegionStream ROPs.
1276 These appear to be a relatively recent addition to the
1277 documentation, possibly only used in Exchange 2007 / Outlook
1280 This is complete except for testing of whether the locking
1286 Use parent folder full replica ID: 2 bytes instead of 1 byte
1288 - Add Implementation for Logon redirect response buffer in OpenChange IDL
1289 - Update libmapiserver size calculation routine for Logon call to handle this case
1294 Add session and logon_id to the list of parameters to copy between objects.
1295 This patch fixes a problem in openchangeclient when using the --folder parameter.
1298 Remove code relating to free'ing the bookmark returned
1299 by SetCollapseState. Initial investigations with MS
1300 lead me to believe that you can't free that resource.
1302 May be more work in this area as investigation continues.
1307 Fix memory leaks for functions relying on pull_emsmdb_property
1312 Fix emsabp valgrind errors
1317 Make it possible to specify a version number for release different
1318 from major/minor from configure.ac
1323 Make it possible to open and control up to 255 mailboxes within a
1324 single MAPI session.
1326 It implements an internal management of a logon_id array at session
1327 level + enable transparent transport/copy of current logon_id value
1328 among MAPI calls + finally transparently free the logon_id value when
1329 the store object (PF or mailbox) is being released.
1331 - Retrieve recipients from OpenEmbeddedMessage reply
1332 - Test the implementation in mapitest
1333 - Avoid potential memory leak: steal context for returned ulPropTags.
1338 Be more tolerant with Logon request flags
1340 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
1341 This case still needs to be fixed though.
1343 Delete debug message
1345 Create a default GetProps reply on error
1350 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
1351 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
1352 Set errno to retval to work around this problem.
1355 NSPI-GETIDSFROMNAMES
1357 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
1358 has been worked-around by setting QueryFlags to NoStrings to limite the results
1359 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
1360 add additional tests to do full coverage.
1362 Fix GetNamesFromIDs IDL and implementation.
1364 Note: We should probably update the function prototype
1365 so it takes a mapi_SPropTagArray rather than a single property.
1368 Protect against bad results from GetGALTable().
1370 Resolves ticket #142
1375 Patch from Paolo Abeni: Add sanity check to Subscribe
1376 and prevent applications from crashing if notify context
1382 Ensure NSPI server functions have a valid dcesrv_handle
1384 Add quick/additional configuration information on how to setup openchange server
1386 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
1387 segfault when parent object is meant to come from GetContentsTable.
1389 - Fix NspiGetMatches server reply when specified username is invalid and
1391 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
1392 a talloc_free bug leading to segfault on failure.
1394 Prevent from registering same mapistore backend multiple times
1402 Add skeleton for GetRulesTable
1404 - return MAPI_E_SUCCESS when QueryRows reply count is 0
1405 - Move Reminders from IPM Subtree to Mailbox root
1407 - Add QueryPosition implementation
1408 - Move from offset to numerator/denominator couple for table objects
1410 Outlook now opens properly using openchange server and display the
1411 mailbox folder list with icons ;-)
1413 - Add skeletons for Restrict, SortTable, FindRow calls
1414 - Introduce emsmdb provider table object
1415 - Add preliminary table implementation for system/special folders
1416 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
1417 - Improve creation of GetProps reply blob for Mailbox folder
1418 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
1419 - Remove some usage of ldb_filter and use format string instead
1420 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
1421 so openchange server is able to return failed replies to MAPI clients
1422 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
1424 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
1426 Still preliminary but anyway worthwhile enough to be mentioned ...
1428 - Add a function to count subfolders of a container
1429 - Add a function to wrap MAPI tables over openchangedb
1430 - Factorize code used to fetch property values from LDB records
1432 - Add default properties to folder records while provisioning mailbox
1433 - Add few more mapping for PR_* to PidTag
1434 - Add a new MAPI property to the list
1436 Avoid openchangeclient --mailbox to segfault when run vs openchange server
1439 Remove some ldb_filters, and just use varargs into ldb_search
1441 warning fix for 64-bit arch.
1443 Revert previous commit.
1445 Experimental commit to fix build problems resulting
1446 from property changes.
1451 - Add PidTagDisplayName property to Mailbox object
1452 - Add PidTagParentFolderId to all system/special folders
1454 - handles array depends if a valid mapi_repl exists. This commit
1455 fixes the destructor semantics.
1456 - Fix a mapitest segfault encountered while run vs openchange server
1457 - Return 1 in SRowSet_propcpy if an error was encountered.
1459 Fix libmapi stack segfault when MAPI calls returns
1460 with error_code different from MAPI_E_SUCCESS.
1462 Do not process NSPI request if we can't find the handle
1464 Remove unnecessary ldb_filter parameter and replace it
1465 with ldb_search format string.
1470 - GetPropertyIdsFromNames skeleton added
1472 - Fix how Release replies are handled in mapi_repl[] array
1473 - Remove Release size calculation
1474 - Fix QueryRows size in libmapiserver
1475 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
1476 - GetHierarchyTable skeleton added
1477 - SetProperties skeleton added
1478 - CreateMessage skeleton added
1479 - SaveChangesMessage skeleton added
1485 Set mapi_response to NULL upon init ... just to get sure
1487 Fix MAPIUninitialize segfault
1495 - Add skeleton for GetContentsTable Rop
1496 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
1497 - Add libmapiserver size calculation functions for all the above
1498 - Ensure we only set objects parameter if it exists
1499 - Return when dcesrv handle is not available
1501 Merge s4-alpha7 branch back into trunk
1506 - Add several PidTag to openchange.ldb folders
1507 - Add provisioning convenient function which adds attribute/value pair
1508 to a given folder record
1509 - Replace existing special folders reference within Inbox with PidTagIpm* tags
1510 - Add new PidTag values to mapi-properties
1511 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
1512 - Add a function which builds special properties for openchangedb folders
1513 - Add PT_BOOLEAN case to openchangedb folder get property function
1514 - Keep a reference to the mailbox username within emsmdb provider context
1515 - Create and return a handle in RegisterNotification
1520 Wrong MessageClass size calculation fixed
1523 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
1525 Ignore new binary and trial output.
1530 - Fix systemfolder value for System/Special folders
1531 - Add GetProps support to System/Special folders
1533 Add auto-generated parser to the ignore list
1535 - Add auto-generated parser for MAPI property to PidTag mapping
1536 - Add some PidTag values
1537 - Add a lookup and get property functions on system folders
1539 - tuple SystemIdx in the dictionnary to workaround the ordering problem
1540 - Add ParentFolderId attribute to System Folders
1542 - Add creation of "Special folders" to mailbox provisioning
1543 - Rename fid attribute to PidTagFolderId
1544 - Rename name attribute to PidTagDisplayName
1545 - Rename ExplicitContainerClass to PidTagContainerClass
1547 Fix GlobalCount increment
1549 Fix mailbox provisioning
1552 Add test for FILETIME structure.
1554 Update docs for mapiproxy entry.
1557 Fix handling of fids.
1561 - Fix openchangedb mailbox hierarchy and introduces subfolders
1562 as described in [MS-OXOFOLDS] specifications.
1563 - Update openchangedb API to reflect this change.
1565 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
1566 to fit with MS-OXOFOLDS specifications.
1568 - Add provisioning code for GetReceiveFolder defaults
1569 - Check if mapistore content repository already exists for the user
1570 - Make mailbox creation verbose
1573 Fix parentfolder reference.
1577 Use recursive call to create folders.
1579 Simplify list iteration, PEP8, avoid using string exceptions.
1584 Fix 'dereferencing type-punned pointer' warnings
1586 - Add strict-aliasing compiler flags
1587 - Fix format string warnings on ubuntu buildbot
1589 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
1590 - Fix warnings introduced by -D_FORTIFY_SOURCE
1593 I might have been a bit hasty with that last commit...
1597 Try harder to find sqlite3.
1599 Seems to be in sqlite.pc on Ubuntu.
1601 Fix warning on 64-bit arch.
1605 - Add RopGetReceiveFolder (0x27) implementation
1606 The function respects should respect the semantics and behavior
1607 as described in MS-OXCSTOR specifications. However the python's
1608 code modification required: add ExplicitMessageClass attributes
1609 to folder records is not yet effective.
1611 - Add GetReceiveFolder size calculation function to libmapiserver
1612 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
1613 couple for a given SystemFolder within user's mailbox.
1615 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
1616 - Provision scripts: add default sqlite:// mapistore URI for system folders
1617 - Add mapistore context initialization when calling OpenFolder on SystemFolder
1618 - Add mapistore context release for folders in emsmdbp object destructor
1620 Factorize emsmdbp objects
1621 Add emsmdbp_object generic talloc destructor
1624 Add test for PT_MV_LONG.
1626 Add tests for PT_I8 and PT_BINARY
1628 Fix warning about no newline at end of file.
1630 Remove most recently added tests from "to be done" list.
1632 Add a couple more mapi_SPropValue tests.
1637 - Initialize mapistore within emsmdb provider context
1638 - Add destructors for MAPI handles and mapistore contexts
1639 - Remove emsmdbp_ctx memory context structure member and
1640 allocate directly with emsmdbp_ctx
1642 I don't see any good reason why we would pad MAPI replies with some bytes.
1643 I guess it comes from some prehistoric openchange code.
1645 Fix systemfolder assignment depending on IsSystemFolder value
1647 - Initialize OpenFolder server reply
1649 - Wrap TDB connections to mapistore (code from samba4) so
1650 multiple instances can open read/write to the same TDB database
1651 - Remove static id_mapping_context (replaced with tdb_wrap calls)
1652 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
1653 - Link mapistore with exchange_emsmdb
1655 Fix aclocal warning for AC_DEFINE comparison_fn_t
1657 Remove useless GetProfilePtr from IProfAdmin interface
1658 Closes trac ticket #131
1660 Add missing script - prevent configure from generating warning vs missing file.
1662 Remove stamp-h1 file during distclean and add it
1665 - Add server-side GetReceiveFolder (0x27) skeleton
1667 Work around the comparison_fn_t redefinition problem
1668 between libocpf and ndr.h
1670 FreeBSD doesn't have time.h daylight global variable
1673 start testing mapi_SPropValue_array.
1674 This also tests some underlying functions.
1679 Add comparison_fn_t support to ndr.h
1680 This was the latest change require to make openchange compiles under FreeBSD
1682 = samba4/openchange FreeBSD support completed =
1687 Remove duplicated post_install call
1689 Add a post_install operation on FreeBSD
1690 Make sure pidl is installed properly.
1692 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
1693 Note: this is a dirty hack which needs to be removed in the future
1695 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
1696 may not be adjusted properly.
1698 Avoid download samba4 release tarball if already available
1699 in current directory.
1701 - Add test for comparison_fn_t in configure.ac
1702 - libocpf auto-generated files include stdlib.h and prevent from
1703 having the proper comparison_fn_t typedef. This commit works around this
1704 problem and define comparison_fn_t within a private header.
1706 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
1707 Use fgetln instead when it is compiled on this OS.
1709 FreeBSD doesn't define sighandler_t but sig_t
1711 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
1713 - Add non-default search path /usr/local/{include,lib} to
1714 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
1715 - Make use of LDFLAGS while compiling openchange tools
1718 A few improvements for property handling.
1720 Also add unit tests to verify behaviour is correct.
1722 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
1724 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
1729 Check for Flex version < 2.5.35
1730 Make sure users can define the FLEX environment variable
1732 Add automake scripts for AC_CANONICAL_HOST support
1733 Needed for FreeBSD OS detection in configure.ac
1738 Fix warnings from lexer output.
1740 Fixes for warnings on 64-bit architectures.
1742 Fix warning on 64-bit architecture.
1745 Add some more tests for openchange.mailbox.
1747 Fix creation of new mailbox after provision.
1749 Always use the same URL when connecting to openchangedb.
1751 Fix arguments to openchangedb_provision.
1756 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
1759 Warning fix for 64-bit arch.
1764 Add doxygen definition for RopRelease
1766 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
1767 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
1768 - Fix size bug for serialized requests
1769 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
1770 - Make sure the GetProps reply blob is initialized whatever happen
1771 - Add a skeleton emsmdbp folder object init function
1776 Remove debug strings for GetPropertiesSpecific Rop
1778 Enable verbose output in server mode - useful during development
1780 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
1782 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
1783 - Fix GetProps size: subcontext is not added to the fixed size calculation
1785 - GetPropsSpecific size calculation function added to libmapiserver
1786 - Function to create a GetProps reply property blob added to libmapiserver
1789 Add tests for provisioning.
1791 Several cleanups in python code, add tests for schema use.
1793 Don't clear PYTHONPATH override.
1795 Remove unused imports, add extra tests.
1797 Use member variable for Ldb, rather than subclassing.
1799 Remove print statements to avoid cluttering test output.
1801 Add simple and incomplete testcase for OpenChangeDB.
1803 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
1805 Move adding a server to mailbox.py.
1807 Move ldif from oc_provision_openchange.ldif into Python.
1809 Stop providing setup_path to OpenChangeDB, as it's no longer used.
1811 Avoid using separate LDIF file when creating folder mailboxes.
1813 Avoid using separate LDIF file when creating mailboxes.
1815 Avoid passing full names object.
1817 Add check-python target.
1822 fix openchange_newuser.
1824 Use SamDB for actual SAM databases, Ldb otherwise.
1826 Remove unused parameters, don't make parameters optional if they are mandatory.
1828 remove unused parameters.
1830 make mailbox object-oriented, remove creds/lp parameters.
1832 Fix OpenChangeDB syntax.
1837 - Add a systemfolder member to the MAPI handle structure to make a difference
1838 between objects managed by mapistore and those stored within openchange.ldb
1839 (root mailbox folders).
1841 - Add opaque functions to set/get private_data and systemfolder to the MAPI
1844 Minor doxygen fix/improvement
1846 Add libmapistore object files to the ignore list
1848 - Add a very preliminary and light libmapistore implementation.
1849 mapistore only supplies init/release and add/del backend contexts.
1850 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
1851 - A temporary mapistore testing tool has been added locally for implementation checks.
1854 Use convenience function for connecting to openchange.ldb.
1856 Use standard LDB functions - openchange.ldb is not a SAM database.
1861 Implement support the SUMMARY language tag.
1863 Initial checking of libical based exchange2ical code.
1865 This has a long way to go, so think of this as more of a checkpoint
1868 See http://sourceforge.net/projects/freeassociation/ for the library, or
1869 see if your distro has a package.
1873 Add missing parameter to API documentation.
1875 Resolves ticket #130.
1877 API documentation fixes for OpenEmbeddedMessage()
1879 Implement OpenEmbeddedMessage ROP (0x46).
1883 Factor out message creation and message fill actions.
1885 Also remove GetLastError() where appropriate.
1887 Add some API documentation.
1892 Update openchangepfadmin description
1893 Fix tool relying on libmapiadmin
1900 Add more explanation for README
1902 Reimplement RTF decompression.
1904 Add unit tests from MS-OXRTFCP.
1906 Fix warnings in example code
1908 Add description for libmapiadmin
1910 Add description for libmapi / libmapi++
1912 Start on the directory descriptions.
1918 Add overview. Extracted from API docs.
1922 Outline of README file.
1924 (also using this to test buildbot without changing real code)
1928 Add Version field - avoid breaking pkg-config --list-all
1930 Fix warnings (gcc 4.2.4)
1933 Use variable for package version rather than hardcoding it.
1943 - Add an implementation of the MAPI handles management API. The API
1944 internally uses an in-memory TDB database to keep object hierarchy
1945 and a doubled chained list to associate private data to handles.
1947 The API currently provides add, search and delete facilities. Note
1948 that while untested, the delete operation is designed to recursively
1949 delete children of the 'meant to be deleted' handle.
1951 Finally the API doesn't remove TDB records but mark them as free so
1952 they can be reused across MAPI session and prevent from handle counter
1953 growing indefinitely.
1955 - Add a preliminary implementation of the Release call
1956 - Add Release size calculation to libmapiserver
1957 - Update EMSMDB provider to use MAPI handles API
1960 Minor api documentation fix.
1966 Minor API docs tweak.
1968 Token commit of tiny API docs fix.
1971 Look for GNU make harder (gmake on BSDs).
1976 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
1977 - Add common routines for OpenChange LDB context init and search
1979 - Add libmapiserver skeleton with size calculation routine for RopLogon
1980 - Change DSO linking dependencies for mapiproxy shared libraries
1981 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
1985 Remove .po and .o objects within libmapiproxy subdirectory
1987 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
1988 Fix make uninstall for AD and profiles directories
1992 Add python code and ldif files needed to create and populate the experimental
1993 openchange dispatcher database.
1995 Add 5-Minute configuration documentation for OpenChange server mode
1997 - Rebase ldif files into sub directories:
1998 * AD for OpenChange AD modifications
1999 * profiles for OpenChange IProfAdmin interface
2000 - Makes it easier figuring out LDIF files scope
2001 - Prepare setup folder for LDIF openchangedb files integration
2002 - Update install/uninstall Makefile rules for ldif files and
2003 make sure everything got removed
2008 Add support for short language names (e.g. en-AU) for lcid.
2013 Delete deprecated libmapi setup Perl script
2016 Add summary report for tests.
2018 Make mapitest return the number of failed tests.
2023 - Add pkg-config pc file for libmapiproxy
2024 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
2026 Free memory allocated by the fake subcontext in
2027 ndr_pull_mapi_response.
2029 This fix saves 300kb of memory and removes 700 loss records while
2030 valgrinding mapitest.
2032 Fix segfault - Add sanity check - when SPropTagArray is NULL in
2033 NspiQueryRows request
2035 Fix openchange_newuser name typo
2037 Fix server provisioning command line examples
2039 Fix several libmapi leaks.
2041 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
2042 and was not free'd when libmapi function released their
2043 context. Furthermore we need to release mapi_response->mapi_repl and
2044 mapi_response->handles which are now automatically free'd when
2045 mapi_response destructor is called.
2047 However note that this fix is not perfect: mapi_response memory is not
2048 free'd properly when calls exit with an error.
2050 This commit also make use of talloc_steal where necessary to keep
2051 returned fields allocated.
2055 Use named context rather than autofree
2057 Fix memory leak in emsmdb.c: Use a temporary memory context for
2058 request and length allocation in emsmdb_transaction.
2060 - This removes 827 loss records and approximatively saves 41kb of
2061 memory while valgrinding mapitest
2063 - Fix memory leak in GetDefaultProfile and GetProfileTable.
2064 - Save from 10 loss records while valgrinding mapitest
2065 - Developers are now responsible from freeing the GetDefaultProfile
2066 string the function allocates.
2067 - Apply changes to all openchange tools.
2069 Add blackbox subunit tests for mapiprofile tool
2072 One more trivial fix.
2076 (Yep, more trivial changes)
2078 Fix incorrect LCID for en-CA.
2080 (OK, its token, I admit).
2083 Don't define _GNU_SOURCE unconditionally.
2087 Prevent mapiproxy from multiple init and modules/server register
2088 when an smb client connect to the server (e.g. windows browser or smbclient)
2092 According to [MS-OXOCAL] Section 2.2.1.44.1
2093 "RecurrencePattern Structure", a monthly recurrence
2094 also has a Day specific parameter.
2099 Simply run autogen.sh rather than replicating it inside the Makefile.
2101 need to run aclocal before autoconf for the pkg-config macros.
2105 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
2106 Saves from 4 loss records while valgrind'ing mapitest.
2108 Use temporary memory context for EcDoConnect.
2109 Saves from 20 loss records when valgrind'ing mapitest.
2111 Free PropertyProblem structures returned by CopyTo.
2113 Replace deprecated talloc_init calls with talloc_named
2114 This commit removes some valgrind loss records talloc_init was responsible for
2117 Free everything when running mapitest --list-all.
2118 Valgrind however shows a loss record related to talloc_init ...
2121 Minor Intel C compiler warning fixes.
2123 Minor apidocs cleanups.
2127 Use double pointer for lp_ctx in GetLoadparmContext assessor
2129 Fix memory leak in utf8 lexer.
2131 - Remove custom iconv_convenience from pull_emsmdb_property and use
2132 lp_iconv_convenience on loadparm_context argument instead.
2134 - Change OpenChange libmapi API to reflect this change
2136 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
2137 (mostly for mapitest modules). libmapi/mapiproxy developers
2138 should never have to make use of it.
2140 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
2142 Free lpProps returned by GetProps, Fix context error in valgrind
2144 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
2145 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
2146 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
2149 Don't install mapiproxy if python wasn't found, since
2150 we wouldn't know where to install the provisioning scripts or be able
2155 Merge libmapi-0.8 branch r1015 to 1017 into trunk
2157 ** Start libmapi-0.9 COCHRANE development **
2159 Merge libmapi-0.8 branch changes into trunk
2163 Add python install/uninstall rules to provision rather than mapiproxy-servers
2165 - Remove server Makefile rules
2168 Note: server and providers have been merged within mapiproxy,
2169 so there is no reason keeping this deprecated code.
2173 Undoing change committed in r1004.
2175 Use .po files instead of .o files for openchange tools
2177 Add --version to openchange tools
2179 Add COPYING file with GPLv3 license
2183 - Add RenameProfile function to IProfAdmin API
2184 - Remove pointless CopyProfile from IProfAdmin API
2185 - Add --rename option to mapiprofile tool
2186 - Update man page to reflect this addition
2188 (close trac ticket #124)
2190 Fix libmapi from crashing when mapi_repl is NULL.
2192 Update Samba4 git rev to fix the charcnv segfault met in openchange
2196 Try to find the Samba python modules if they're not installed in the system
2201 - Fix Subscribe semantic bug and add WholeStore boolean parameter
2202 - propagate API change to tools/torture callers
2204 - Add assessor functions to set dumpdata and debug level in libmapi
2205 (SetMAPIDumpData and SetMAPIDebugLevel)
2206 - OpenChange tools modified to use these function rather than set these
2207 parameters on their own
2209 - Fix --debuglevel segfault in openchange tools
2210 - Enable logging to stdout in MAPIInitialize
2214 * OpenChange libmapi function now returns MAPI error instead of -1
2215 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
2216 - add doxygen documentation for some missing functions/files
2218 - Missed this event->tevent change in previous commit
2220 - Update openchange to use latest Samba4 master git rev (990491d)
2221 - Fix references to tevent_context structures
2222 - Fix iconv_convenience init in MAPIInitialize
2223 - Remove errorchecks mapitest module warning
2226 Use tevent_context_init.
2232 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
2233 using profile's mailbox string directly. This commit fixes the bug.
2235 - Add EcDoConnect and EcDoDisconnect preliminary support to
2236 dcesrv_exchange_emsmdb.c
2237 - Add internal session management mechanism to EMSMDB server
2238 - Add init and unbind modules function to EMSMDB server
2239 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
2242 Fix valgrind errors caused by using free'd memory.
2246 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
2247 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
2248 0xB (opnums using LZ based compression).
2250 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
2254 - Preliminary implementation of NspiGetProps NSPI server function
2255 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
2256 - Use correct ldb context (users or conf) depending on where MId is
2257 located (on-memory or on-disk)
2258 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
2260 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
2262 - Preliminary implementation of NspiDNToMId NSPI server function
2263 - Add emsabp_search_legacyExchangeDN to search for a record given its
2264 legacyExchangeDN attribute.
2266 - Preliminary implementation of NspiQueryRows NSPI server function added
2267 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
2268 rather assuming it is NULL terminated
2269 - Add support for "referenced" property tags
2270 - Add support for PR_MV_STRING8
2271 - Add emsabp_search_dn which search for a DN within AD and return the
2272 associated LDB message
2273 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
2274 emsabp_property array
2276 Prevent from trying to add a NULL element to profile database and segfault on strlen
2278 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
2280 - Preliminary implementation of NspiGetMatches NSPI server function
2281 - Make use of a on-memory TDB database for Ephemeral Entry IDs
2282 - Add TDB traversal routines to retrieve DN associated to MId
2283 - Move lp_ctx within emsabp_ctx for convenience
2284 - Add EphemeralEntryID to Binary_r routine
2285 - add emsabp_query (Find attribute matching given property tag and
2286 return associated data)
2287 - add emsabp_fetch_attrs which builds a SRow array given a MId and
2288 requested property tags.
2289 - add emsabp_search which searches AD given input search criteria
2290 - add a preliminary Property Tag to AD attribute mapping + associated
2291 functions in emsabp_property.c
2293 Note: This NspiGetMatches is limited to MAILUSER which means we only
2294 look for users (located within users.ldb). This limitation will be
2295 removed when we have a preliminary working emsmdb server, so we can do
2296 more extensive NSPI server tests.
2298 Add sanity check to get_SPropValue_SRowSet, prevents the function
2299 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
2301 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
2302 with NULL ppOutMIds is returned.
2307 - Preliminary NspiGetSpecialTable implementation added to NSPI
2308 server/EMSABP provider: Hierarchy Table supported (required during
2310 - add PT_BINARY support for mapidump_SPropValue
2311 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
2317 Add new Display Type values (used by EMSABP provider)
2319 Change DEBUGLEVEL for RfrGetNewDSA
2321 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
2322 - mapiproxy-servers-install now installs openchange python scripts and ldif file
2326 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
2327 This structure is required for NTLM_AUTH_IS_OK macro
2329 - Add doxygen comments for all OpenChange server modules
2330 - Fix doxygen return value for exchange_nsp
2332 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
2333 - Add exchange handle enum to dcesrv_mapiproxy.h
2334 - Add authentication verifier macro to libmapiproxy.h
2335 - Add preliminary EMSABP Address Book Provider implementation:
2336 * supports initialization, destructor (talloc)
2337 * implements user and codepage check routines
2338 * retrieve NSPI server GUID
2339 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
2340 - Add internal session mechanism management to NSPI server
2341 - Add init and unbind modules function to NSPI server
2342 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
2343 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
2345 OpenChange configuration schema updated with Addressing schema
2346 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
2348 Execute server modules init function when loaded
2351 A few API documentation fixes.
2356 Add documentation for MAPIProxy 'server mode'
2361 - Implement mapiproxy server mode architecture
2362 - Add server modules management API
2363 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
2364 - Add temporary provision Makefile rule
2369 Initial text was correct - rollback
2374 Ensure that GetLastError() also returns the correct value.
2376 Start changing the MAPI_RETVAL_IF() usage to two new macros:
2377 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
2379 simple_mapi.c is the only one converted at this stage.
2381 Also added a set of unit tests that verify at least some initial
2384 Remove unreachable code.
2386 Partly resolves ticket #124
2391 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
2393 mapiproxy documentation update: 3 questions added to FAQ section
2395 Patch from Corentin Chary:
2396 - Add PR_CONTENT_FILTER_SCL property to libmapi
2398 - Update openchange to work with samba4 master git rev f308c2f
2399 - Replace reference to events.h with tevent.h
2400 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
2405 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
2406 Update openchangeclient to reflect these changes.
2411 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
2413 Fix PIC object flags for SWIG build. Patch by metze.
2418 User %u format specifier for unsigned integer.
2420 Make return value match signature.
2422 Miscellaneous minor cleanups. Mainly making return types
2423 match signatues, format conversion (%u for unsigned values) and
2424 matching up result variable types (bool instead of enum MAPISTATUS).
2426 Return an enum MAPISTATUS, instead of a bool, to match function signature.
2428 Use %u instead of %d for unsigned values.
2433 Another minor APIdox edit.
2435 API documentation tweak.
2443 More apidox triviality.
2445 Trivial APIdox edits.
2447 Supplement the user's PKG_CONFIG_PATH rather than
2451 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
2453 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
2455 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
2460 Actually use pymapi variables in Makefile.
2462 Add configure flags for building and installing Python MAPI bindings (disabled by default).
2467 Add namespace prefix to scanner.
2472 - spnego / gssapi_krb5 authentication now available for mapiprofile
2473 - add the --realm | -R option
2474 - update mapiprofile man page
2479 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
2483 Don't generate / install man3 pages for libmapi++ or mapitest.
2485 Resolves ticket #121.
2487 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
2490 Allow retrieving id and session of MAPI objects.
2492 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
2494 Add stubs for Session class.
2496 Add infrastructure for MAPI python module.
2498 Look for python and python-config binaries.
2500 Remove empty directory.
2504 Remove obsolete --properties option and related code
2509 Fix RecipientRow member's order
2514 - Update to latest samba4 git master revision (3508a66)
2515 - Fix references to samr info24 struct
2516 - Add support for assoc_group_id proxy
2517 - Add support in mapiproxy for bind/alter connections using assoc_group_id
2518 - Update mapiproxy documentation
2523 Improve building. Partially addresses #94.
2525 More work required on this as we work on the
2526 portability in the future.
2528 Expose the underlying session.
2533 Remove unused --priority option.
2535 These offsets / values can be negative, so we shouldn't
2536 use unsigned int type to represent them.
2541 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
2543 This patch first tries to forge EssDN Logon string from "o" and "ou"
2544 attributes stored in the profile. If Logon fails with ecUnknownUser,
2545 then try to open the mailbox using the mailbox attribute stored in
2551 Document the --label option.
2556 Make openchange compile and work against latest samba4 master git rev (58db2be)
2559 Remove check for unused type 'uint_t'.
2564 More tweaks on the openchangeclient man1 page.
2566 More updates for man1 page for openchangeclient.
2567 Still doesn't fully address #113.
2569 Update the openchangeclient man1 page.
2571 Partly addresses ticket #113.
2573 There is still some work to do on this.
2575 Fix a typo, and try to make the descriptions more
2581 Initial version of man1 page for mapitest
2583 Initial man1 page for exchange2ical utility.
2588 Update man1 page for openchangepfadmin
2590 Minor updates for the man pages.
2595 Fix build errors: wrong number of arguments for ocpf_propvalue
2597 Fix warnings when compiling with -Wextra
2599 Fix warnings when compiling with -Wextra
2601 Fix warnings when compiling with -Wextra
2604 Complete initializers here.
2609 Update to reflect latest state of mapiprofile.
2614 Prevent segfault when running mapitest. Looks like the we can
2615 return MAPI_E_SUCCESS even if one of the property values is
2616 MAPI_E_NOTFOUND. That error then get turned into a char*, and
2619 Also fix a possible bug relating to operator precedence, and
2620 a couple of warnings (one for signed / unsigned comparison, and
2621 the other for an unsigned value never being less than zero).
2626 Enable output to stdout.
2628 Resolves ticket #106.
2630 Thanks to raboof for the report and fix.
2635 Fix missing initialisers (issue #110).
2637 Also fix some signed/unsigned warnings.
2639 Fix problems with incorrect initialisers (#110) and
2640 operator precedence.
2642 Also fix a couple of places with signed/unsigned confusion.
2644 Partial fix for issue #110, and a couple of very minor cleanups.
2651 We probably want to return here, not do nothing.
2656 Fix empty patch function problem: add a retval
2661 Explain the boost-thread trick.
2663 Minor documentation tweaks.
2668 - remove usage of global_loadparm in libmapiadmin
2669 - make use of session context rather than global_mapi_ctx in libmapiadmin
2670 - use local context rather than mapiadmin context in libmapiadmin
2671 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
2672 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
2673 - remove global_loadparm in torture test and replace it with torture context
2674 - fix dcerpc_init to match latest samba4 API
2675 - update samba4 version required to build openchange
2678 More API documentation tweaks.
2680 More API documentation tweaks.
2682 Some API dox fixes for libmapi++.
2685 Remove unnecessary patching of lib/events/events.h.
2690 Update to a more recent Samba4.
2693 Remove some usages of deprecated global_loadparm.
2695 Cope with new argument to dcerpc_log_packet().
2700 Fix includes for DEBUG(), fix some more warnings.
2702 Use same_net_v4 rather than deprecated same_net().
2704 Fix Samba 4 git revision.
2706 Fix includes - debug.h can only be included once.
2708 Include debug header.
2710 Cope with API changes in Samba functions.
2712 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
2717 Fix OpenMsgStore binding in swig perl and fetchmail script
2722 Fix pointless const definition for GetFreeBusyYear return type
2726 - Add the IsFreeBusyConflict convenient function which checks if a
2727 given date conflicts with existing FreeBusy Busy/OOF events
2729 - Modify openchangeclient --sendappointment behavior to check whether
2730 start or end date conflicts with FreeBusy published data for the
2733 - Add the --force option to openchangeclient to override this behavior
2735 - Fix a counter bug in mapidump_freebusy_events
2737 Fix doxygen typo error
2739 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
2740 data in public folders for a given user. Note: Ambiguous name is not
2741 supported at the moment.
2743 - Add convenient FreeBusy mapidump routines
2745 - Add FreeBusy read support to openchangelient
2747 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
2748 property.c functions
2750 - Add OpenUserMailbox which let developers open other mailboxes
2751 instead of the default profile one.
2753 - Add GetABRecipientInfo: convenient function which retrieves Address
2754 Book information for a given recipient
2759 - Add libmapi implementation for DeletePropertiesNoReplicate
2760 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
2762 Fix doxygen documentation
2767 - Implement multisession into libmapi
2768 - Update openchange tools and suite to reflect these changes
2769 - Fix SRow_addprop behavior
2771 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
2772 now take a mapi_session parameter.
2775 Use my openchange.org email address.
2780 - Add a session management API for mapiproxy modules. Similar code
2781 already existed for mpm_cache module. Common functions are now
2782 available to all mapiproxy modules through libmapiproxy
2784 - replace smbd with samba in mapiproxy documentation
2786 - Cache calendar, contact, journal, note, task and drafts folders IDs
2787 when GetDefaultFolder call is performed on one of these folders and
2788 keep them until obj_store is released.
2790 - Add a reverse lookup routine which says whether a given FID belongs
2791 to a default folder and which olFolderType it is.
2793 - Remove pointless memory context in GetDefaultFolder
2794 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
2796 Restore install rule for mapi profiles ldif files in
2797 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
2798 tries to create a new mapi profile store.
2802 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
2803 - mapi_object_copy routine added to mapi_object.c
2808 Fix missing Month field in LogonTime structure
2812 propagate IDL warning fix to property.idl
2815 Add target for building python API documentation.
2819 Fix samba4 release and git revision
2821 Fix installsamba4.sh script paths
2826 Install OpenChange python modules.
2828 Check for python dir during configure.
2830 ignore generated files.
2832 Stop installing js files.
2834 Use autoconf cache prefix.
2836 Use newer version of Samba 4.
2840 Remove dcesrv_exchange.so from server Makefile rule and
2841 move mapiproxy from TOOLS to SERVER.
2843 dcesrv_exchange and providers Makefile rules are orphan, planned
2844 to be removed (with their associated code) when emsabp merge process
2845 into mapiproxy is over.
2849 Export the Binary_r structure.
2853 Use more descriptive variable names in messages example code.
2855 Add a description of messages to libmapi++ API documentation.
2857 Add messages binary to the ignore list.
2859 Add new example showing libmapi++ message handling, and
2860 associated API documentation and build system changes.
2864 Update the API documentation main page for libmapi++
2868 Add foldertree binary to the ignore list
2870 - Add missing Input parameter
2871 - Add sanity check on ppNames
2874 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
2875 - Add a NspiGetSpecialTable test for Address Creation Template
2878 Fix valgrind-reported error, per ticket #101.
2880 Make sure we clean up after mapitest runs.
2886 - Add msExchUserAccountControl attribute to extended user record
2887 - openchange_newuser can now create/enable/disable an OpenChange account
2889 Exit the test if the WriteStream operation fails
2891 Fix ncacn_ip_tcp binding string for OpenChange server object
2893 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
2895 Fix pipe function check and use ndr autogenerated defines rather than static strings
2896 Fix calls to NspiDNToMId
2899 Make sure we set the body and body format properties, to
2900 ensure that the message is shown correctly with
2901 openchangeclient -F.
2906 - Rename oc_* python scripts to openchange_*
2907 - Add Full Exchange 2003 schema (classes and attributes)
2908 - Full Exchange 2003 modified classes and attributes support
2909 - Add prefixmap OID for some Exchange classes and attributes
2910 - Add missing ADSC classes and attributes
2911 - Improve configuration LDIF file with new objects
2913 NOTE: provision.py should find a way to handle firstorg properly
2914 NOTE: oc_provision_configuration.ldif is still incomplete
2917 API documentation improvements.
2921 Add an example to the libmapi++ documentation, and
2922 the right build magic and doxygen linkage.
2924 Minor API documentation fix
2928 Add forgotten part of API documentation fixes for mapitest.
2930 Improve mapitest API documentation.
2934 Use new DeleteFolder flags to clean up folders on deletion.
2936 This doesn't completely resolve ticket #84, but it does help.
2938 Ignore API documentation.
2940 Add Doxyfile to ignore list.
2942 Add initial support for Doxygen API documentation
2947 Implement the remainder of the standard public folders.
2951 Only do header line removal at the start of the file
2952 (lines 20 through 40 seems like a good compromise).
2954 libmapi++ is C++, not C, so we should not optimise
2955 Doxygen output for C.
2959 - Update the Logon_repl IDL (0xFE) and implementation
2960 - Add new folders to the mapi_obj_store for PF folders
2961 - rename pf_finder to pf_search
2964 Suppress some more unwanted headers.
2968 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
2972 - Update the EmptyFolder IDL
2974 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
2975 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
2977 Link libmapi++ documentation to main apidocs page
2979 Update GetAttachmentTable IDL and remove the unknown field
2981 - Update DeleteFolder IDL and implementation
2982 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
2983 - Sanity checks added at the beginning of the function
2985 - Rename GetRowCount to QueryPosition
2986 - IDL, implementation, documentation and openchange code updated
2987 - ActionType enum fields prefixed with 'ActionType_'. Original
2988 values were causing conflicts while building Perl bindings with
2989 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
2991 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
2993 - Update SaveChangesMessage IDL and implementation
2994 - Add a SaveFlags parameter to SaveChangesMessage function
2995 - update openchange code to reflect this change
2998 Build fix / fix for ticket #99.
3000 Filter out some new #include lines.
3002 This needs to be applied to other modules too.
3006 Update SRow and SRowSet IDL
3008 Delete obsolete input_locale and instance_key structures
3010 Fix WStringArray_r IDL
3012 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
3013 - LPWSTR structure removed
3015 Rename SDateTimeArray to DateTimeArray_r
3017 Rename SGuidArray to FlatUIDArray_r and fix the IDL
3019 Rename MV_LONG_STRUCT to LongArray_r
3021 Rename SBinary to Binary_r
3023 - Add removal of libmapi++ Doxyfile in make distclean rule
3024 - Add Doxyfile to svn:ignore
3026 Rename SShortArray to ShortArray_r
3028 - Move from SLPSTRArray to StringArray_r
3029 - LPSTR structure removed
3031 Rename MAPIUID to FlatUID_r
3033 Fix lexer warnings during compilation (ticket #100)
3035 - Update the EcDoConnect IDL (ref. ticket #99)
3036 - Add new fields to the emsmdb info structure
3037 - Add doxygen comments to libmapi/emsmdb.c
3040 Reduce warnings when compiling with 64-bit arch.
3042 Initial checkin of infrastructure for libmapi++ API documentation.
3046 - MAJOR NSPI protocol and libmapi stack update
3047 - All NSPI protocol functions implemented
3048 - NSPI stack fully documented
3049 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
3050 - NspiDNToEph renamed to NspiDNToMId
3051 - instance_key removed from nspi_context and set as a parameter to NSPI functions
3052 - SPropertyRestriction renamed to PropertyRestriction_r
3053 - FlagList structure removed and replaced by a SPropTagArray
3054 - MAPI_SETTINGS removed and replaced by a STAT structure
3055 - new MAPI property tags added to libmapi/conf/mapi-properties
3056 - NSPI module added to mapitest
3059 Clean up on failure.
3061 Clean up on failure.
3063 Minor improvements to ensure cleanup on failure.
3065 API documentation fix
3067 API documentation fix.
3069 API documentation fix.
3071 API documentation fix.
3073 API documentation fixes.
3077 API documentation fixes.
3081 Fix EMSMDB 0xb function name
3083 - update EcRRegisterPushNotification IDL
3085 - implement complete MAPI notifications
3086 - update libmapi to reflect these changes
3087 - make openchangeclient prints a brief summary for each notification found
3088 - update ulEventMask used in openchangeclient
3092 - Rename Advise MAPI call to RegisterNotification
3093 - Update RegisterNotification IDL and implementation
3097 - Fix Restrict IDL and implementation
3098 - Add a new parameter to the Restrict function
3101 Add mapi_nameid.h to the ignore list
3103 - Replace libmapi/mapi_nameid.h with a generated mparse file
3104 - Add a mapi_nameid.h parser to mparse.pl
3105 - Add canonical names for named properties
3106 - GetProps and SetProps resolves named properties if they exist
3107 - named properties can now be set directly and make mapi_nameid API be
3109 - replace named property tags hex value with their canonimal names
3110 - replace several use of the mapi_nameid API with smaller code
3112 - Add new IDL file (property.idl) to push/pull structures from binary
3113 blobs and not directly related to any MAPI calls. Include the
3114 generated property.h file into libmapi.h
3116 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
3117 parsing) and mapidump_SPropValue
3119 - Add functions to property.c to retrieve RecurrencePattern,
3120 TimeZoneStruct and GlobalObjectId structures (see property.idl).
3122 - add a preliminary version of exchange2ical tool. This version only
3123 dumps calendar folder appointments into ICS file on standard output.
3127 - Update mapi-nameid-properties with a more complete set of properties
3128 - Add a header to mapi-nameid-properties for sanity purposes
3129 - Move named properties with PT_STRING8 type to PT_UNICODE
3130 - update openchange code to reflect these changes
3131 - Add PSETID_Attachment to mapidefs.h
3135 Add missing check on password for the create command
3137 Fix incorrect usage of realm in mapiproxy
3141 Check for provider_rpc_connection retval for RFR functions.
3143 Update Doxyfile to parse mapiproxy/modules files and
3144 include documentation on static functions.
3146 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
3147 Exchange server name with mapiproxy one.
3148 - documentation updated to reflect these changes
3149 - new FAQ question added
3150 - developer documentation improved
3152 Add the RFR mapiproxy file.
3154 - Implement RfrGetNewDSA DN replacement in mapiproxy
3155 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
3156 - update mapiproxy documentation to reflect these changes
3160 - Add implementation of the NSPI Referral protocol (exchangeRFR)
3161 - update dcesrv_exchange and mapiproxy prototypes for RFR
3162 - add references to the RFR pipe in mapiproxy
3163 - prefix NSPI client connections with a RfrGetNewDSA call
3164 - add RFR functions implementation in libmapi/IMSProvider.c
3165 - add a --getfqdn option to mapiprofile
3166 - fix a minor mapiprofile option parsing bug
3170 Fix mapiproxy dummy module unbind prototype
3172 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
3173 - EcDoRpc indent updated
3177 Get rid of initialization order warning
3181 - add unbind hook for mapiproxy
3182 - add ahead mapiproxy mode
3183 - add read ahead in cache module
3184 - add synchronization mechanism in cache module
3185 - update mapiproxy documentation to reflect these changes
3189 Temporarily comment out installation of files removed
3194 Fix arguments, paths in provision scripts.
3196 Merge python provision/newuser scripts.
3198 Simplify installation of manpages a bit.
3202 Add configure check for libboost-thread. Add libmapi++ to the build
3203 only if it is available.
3207 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
3208 - Created session::login() members.
3209 - test applications use default profile.
3213 - Import Alan Alvarez work from libmapi++ into trunk
3214 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
3216 - Add libmapi++ to the build system
3217 - Add a patch function to installsamba4.sh: rename private to
3218 private_data in samba4 events.h header file
3219 - Change #include directives so it uses <libmapi++ ... rather than
3224 - Add a statitic function monitoring streams over OpenStream and Last
3225 ReadStream operations. Monitoring stream Release is not relevant
3226 since Outlook does not close the handle directly after last
3227 ReadStream operation. Should put in evidence difference between
3228 non-cached(1st retrieval) and cached (further retrieval).
3230 - Fix a few memory leaks
3234 - Commit initial revision for the mapiproxy cache module
3235 - Update mapiproxy hook API for the dispatch routine
3236 - Introduce the mapiproxy structure for modules to control top-level
3238 - Update mapiproxy documentation to reflect these changes
3242 * Fix remaining ByteRead parameter size for ReadStream operations.
3246 * Improve/Update Open/Read/WriteStream IDLs
3247 * Fix ByteRead parameter size for ReadStream operation.
3251 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
3254 Propagate r666 changes to OpenMsgStore and fix build
3257 Minor rename of bitmap value to avoid conflict with
3258 Private as a class name.
3262 Minor change: remove old debugging string from mapitest
3264 Fix incorrect header
3266 Remove deprecated mapi_handles API
3269 Initial checkin of some uno (static checker) support
3272 There will be a script to run uno with the right options,
3273 but that requires more work.
3277 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
3278 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
3280 - Call mapi_object_release in GetDefaultFolder
3281 - Remove pointless references to mapi_object_t
3284 Fix little memory leak.
3288 Fix invalid OpenFolder calls in mapitest modules
3290 Remove references to SaveChanges in doxygen see also statement
3292 - Rename SaveChanges to SaveChangesAttachment (0x25)
3293 - Update SaveChangesAttachment IDL
3294 - Update references to SaveChanges
3296 - Fix the huge memory leak described in Ticket #91
3297 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
3302 - Add mapi_get_errstr auto-generated routine which returns the MAPI
3304 - Add print routine for MAPI retval in mapitest
3305 - Add a color mode (--color) which prints either green or red MAPISTATUS
3306 - Update mapitest modules to use these new routines
3309 Minor API documentation fix.
3315 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
3317 - Report and make consistent usage of PropertyProblem in the IDL:
3318 SetProps, DeleteProps and CopyProperties
3320 - Remove unknown field in GetProps and GetPropsAll and replace them
3321 with the correct IDL mapping.
3323 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
3325 - Minor typo fix in IMAPIProp.c
3327 Improve CreateMessage request IDL
3329 Improve OpenMessage response IDL
3331 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
3333 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
3334 IDL: make these call able to check whether the folder is ghosted or
3337 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
3339 SeekRow and SeekRowBookmark IDL improved
3341 Improve the SetColumns IDL: remove unknown fields
3345 Minor code convention fix
3347 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
3348 from segfault when invalid dcerpc response is received.
3350 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
3351 Requires investigation
3354 Implement GetIdFromLongTermId and GetLongTermIdFromId
3355 functions (ROP:0x43 and 0x44), and associated mapitest.
3357 Documentation typo fix.
3359 Change the QueryNamesFromIDs() call to match
3360 MSDN, including changing the name to QueryNamedProperties().
3362 Also implement mapitest for QueryNamedProperties(),
3363 GetNamesFromIDs() and GetIDsFromNames().
3365 Update torture test to match.
3369 - Build system update: use samba4-alpha5 release with wget method
3370 - introduce 'make samba' and 'make samba-git'
3374 Make sure we have names[] array large enough.
3376 Problem identified using default uno run.
3382 Fix a small errno bug in GetBestBody
3383 Add dump-data and debug options to exchange2mbox
3387 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
3388 - remove sed hack, modifications applied in samba4 trunk
3389 - update required samba4 git rev required
3396 Minor documentation update: remove deprecated reference to ./bin/smbpython
3398 Fix torture suite entry point name
3399 Fix torture module installation path
3401 - Add implementation for the BestBody algorithm
3402 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
3403 - Remove trailing }}\0 from lzfu code
3404 - Update openchange tools to use GetBestBody rather than
3405 the initial check on PR_MSG_EDITOR_FORMAT
3407 Add a very basic stat module for mapitest: gives a quick overview
3408 of tests which failed at the end of the report.
3410 - Defines a global stream size in mapitest.h
3411 - Decrease stream size from 0x4000 to 0x3000
3412 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
3417 Fix OC_CHECK_SAMBA_VERSION string
3419 - Move samba4_ver.sh from top dir to script
3420 - update parts of openchange relying on samba4_ver.sh
3422 Add configure check for lib Z
3425 - Temporary fix ldb.pc problem and patch ldb.pc.in
3426 - Update samba4 version to the latest revision
3427 - Add libmapiproxy to svn:ignore proplist
3430 Try a different git revision, just for now.
3434 - Update Samba4 version needed
3435 - Change entry point function from init_module to samba_init_module
3436 - update documentation
3440 Fix calls of ldb_init() as required by newer versions of Samba.
3444 Support newer versions of Samba4.
3448 Add some other standard GUIDs
3456 Use version and soversion in mapiproxy library.
3458 Make modules directory overridable.
3462 Change API as identified on devel mailing list.
3465 After some investigation into an error reported by valgrind, I'm proposing an
3466 API change for the MoveCopyMessages() function.
3468 The signature is currently
3469 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
3470 *obj_dst, mapi_id_t *message_id, bool WantCopy)
3472 The problem is the message_id array. The subtle part is that it needs to be
3473 terminated with a null mapi_id_t*, because of this:
3474 for (request.count = 0; message_id[request.count]; request.count++);
3476 That is a bit error prone - enough so to be wrong in the mapitest.
3478 Now we could just fix the mapitest and document the requirements, or we could
3479 change the signature.
3481 Two ideas for a different signature:
3482 1. We could add a uint16_t count to the signature, that says how long the
3484 2. We could use a better data structure than mapi_id_t*. I'm suggesting
3486 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
3487 mapi_object_t *obj_dst,
3488 mapi_id_array_t *message_id,
3493 Add mapitest coverage for CopyTo operations on
3494 folders and attachments, and update API docs.
3496 Also fix one place where we inadvertently used
3497 CopyProps instead of CopyTo...
3501 Typo fixes in comments.
3503 Minor documentation updates.
3505 Clean up created message for SpoolerLockMessage() test.
3509 Update samba4 version test.
3513 Make sure properties are copies into the last valid
3514 location in the extended array (i.e. count-1) not the
3517 Also, make sure we cast the data to a uint8_t for
3518 conversion to boolean.
3520 Also fix compile warning about returning integer instead
3523 We may read up to 0x1000 bytes, so ensure there is
3524 enough room to add the terminating null.
3526 Minor cleanup of the talloc context for FreeBookmark().
3528 Also change around some code to protect things a bit
3529 better against null pointer inputs.
3533 Implement a bit more mapitest for CopyTo (0x39), in
3536 Also make it clean up and report failures properly.
3540 Implement the CopyTo operation (0x39), including initial mapitest.
3541 JK previously committed the IDL for this.
3543 Also make CopyProps (0x67) use an appropriate data structure for
3544 its IDL and update implementation to match.
3548 Minor documentation updates/corrections.
3552 Introduce a default case for MAPI Restriction. In some circumstances -
3553 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
3554 property tag which value is set to 0xFF. However 0xFF doesn't match
3555 any restriction case.
3559 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
3561 - Add IDL for ReloadCachedInformation (0x10) MAPI call
3563 - Add IDL for CopyTo (0x39) MAPI call
3565 - Update the Samba4 GIT revision needed to run openchange properly
3567 - import mapiproxy project from mapiproxy branch
3568 - add custom proxypack MAPI call
3569 - remove deprecated dcesrv_exchange_remote
3572 Add missing part of mapitest for SetReadFlags
3574 This should have been part of r578.
3576 mapitest for SetReadFlags
3578 Implement SetReadFlags (operation 0x66).
3580 Also minor API docs fix.
3582 Move some test infrastructure from the oxctable.c module
3583 into the common area.
3585 Fix IDL error for SetReadFlags, and use existing flags
3586 define (MSGFLAGS_READ) instead of creating a new set.
3588 Build fix for relocation of mapiproxy/ to be under the
3589 top level directory (instead of under the utils/
3594 merge from mapiproxy branch:
3595 * ndr_push Logon_req manually
3597 merge from mapiproxy branch:
3598 * Add IDL and server boiler template for EcDoConnectEx (0xA)
3601 * Fix ndr_push_mapi_response code in ndr_mapi.c
3603 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
3604 ndr_mapi.c. Handles special Notify and Pending cases
3606 * Handle op_MAPI_Pending case properly in
3607 ndr_pull_EcDoRpc_MAPI_REPL
3609 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
3610 DATA_BLOB if there is no RowCount
3612 merge from mapiproxy branch:
3613 * Fix GetReceiveFolder [out] IDL
3614 * Fix some naming convention typo
3616 merge from mapiproxy branch:
3617 * Fix SetMessagReadFlag [out] IDL
3619 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
3620 perfect, but it will prevent mapiproxy from ndr_pull error while
3621 setting message read flag on public folders messages.
3623 merge from mapiproxy branch:
3624 * Fix CreateMessage [out] IDL
3626 merge from mapiproxy branch:
3627 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
3628 * rewrite OpenMessage [in] IDL and report changes in
3629 libmapi/IStoreFolder.c
3631 merge from mapiproxy branch:
3632 * Add IDL for Pending (0x6e) MAPI call
3633 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
3635 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
3637 merge from mapiproxy branch:
3638 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
3640 merge from mapiproxy branch:
3641 * Add IDL for SyncGetTransferState (0x82) MAPI call
3643 merge from mapiproxy branch:
3644 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
3646 Note: This IDL is temporary and should be improved after completion of
3647 the merging process.
3649 merge from mapiproxy branch:
3650 * Add IDL for SyncOpenCollector (0x7e) MAPI call
3652 merge from mapiproxy branch:
3653 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
3655 merge from mapiproxy branch:
3656 * Add IDL for SyncImportMessageMove (0x78) MAPI call
3658 merge from mapiproxy branch:
3659 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
3660 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
3661 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
3663 merge from mapiproxy branch:
3664 * Add IDL for SyncImportDeletes (0x74) MAPI call
3666 merge from mapiproxy branch:
3667 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
3669 merge from mapiproxy branch:
3670 * Add IDL for SyncImportMessageChange (0x72) MAPI call
3672 merge from mapiproxy branch:
3673 * Add IDL for SyncConfigure (0x70) MAPI call
3675 merge from mapiproxy branch:
3676 * Add IDL for RegisterOptions (0x6f) MAPI call
3678 Note: This call is undocumented in Microsoft documentation, but MSDN
3679 RegisterOptions function generates this call on the wire.
3681 merge from mapiproxy branch:
3682 * Add IDL for Progress (0x50) MAPI call
3684 merge from mapiproxy branch:
3685 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
3687 merge from mapiproxy branch:
3688 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
3689 * Add IDL for GetPerUserGuid (0x61) MAPI call
3690 * Add IDL for ReadPerUserInformation (0x63) MAPI call
3692 merge from mapiproxy branch:
3693 * Add IDL for LongTermIdFromId (0x43) MAPI call
3694 * Add IDL for IdFromLongTermId (0x44) MAPI call
3696 merge from mapiproxy branch:
3697 * Add IDL for ModifyRules (0x41) MAPI call
3699 merge from mapiproxy branch:
3700 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
3702 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
3704 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
3705 work around the no-pointer deep recursion pb and remove
3706 existing nopull,nopush,noprint code from ndr_mapi.c
3708 * Fix mapi_SComment_Restriction IDL
3711 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
3712 - use mapi_LPWSTR for PT_MV_UNICODE
3713 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
3714 change its field names.
3716 - Fix emsmdb version
3717 - Change MAPI opnum enum identation -- Helps to fine down merging from
3723 Minor API documentation fixes.
3725 Update label to reflect SetReadFlags -> SetMessageReadFlag
3728 This should have been part of r529 - missed it.
3732 merging from mapiproxy branch:
3733 - Fix MV_UNICODE_STRUCT and unicode strings
3734 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
3735 mapi_LPWSTR for exchange_emsmdb
3736 - Add the NspiGetTemplateInfo IDL
3737 - Fix the NspiUpdateStat IDL
3739 Fix build: SetMessageReadFlag function name was not propagated in the
3743 Initial merge of changes for rename of SetReadFlags to
3744 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
3747 Use private_data instead of private, for C++ happiness.
3749 Minor cleanup. Using "try" confuses my c++ compiler...
3751 This is really part of r525. It moved to IMAPITable.c
3753 Update the table operations:
3754 - implement ExpandRow and CollapseRow
3755 - implement GetCollapseState and SetCollapseState
3756 - add mapitest coverage for the above, plus the Restrict call
3757 - implement ResetTable
3758 - implement FreeBookmark
3759 - add mapitest coverage for SRowSet parsing code
3761 - various API documentation bits
3764 Use right directory for samba4_ver.sh script.
3766 Use common location for Samba 4 git revision.
3770 Use PT_ERROR where appropriate.
3772 Update the SRowSet parser, fixing breakage I introduced.
3776 Update examples to reflect recent API changes.
3779 Don't rely on absolute file paths since the distribution may be installing
3782 make scripts executable.
3786 Avoid segfaulting if you ask for a specific test or tests and
3787 forgot to start the server.
3790 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
3791 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
3792 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
3793 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
3794 #############################[mapitest report]#################################
3795 [*] Date : Sun May 25 11:45:29 2008
3796 [*] Confidential mode : [no]
3797 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
3798 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
3800 [*] System Information :
3802 Kernel release : 2.6.23.17-88.fc7
3804 ###############################################################################
3808 [TEST] NOSERVER-LZFU
3809 ------------------------------------------------------------------------
3810 * uncompress_rtf2 : 0x00000000
3811 * uncompress_rtf2 : PASSED
3812 ------------------------------------------------------------------------
3813 [RESULT] NOSERVER-LZFU: [SUCCESS]
3814 ========================================================================
3816 [*] OXCTABLE-RESTRICT
3817 Server is offline, skipping test: "OXCTABLE-RESTRICT"
3818 [*] OXCTABLE-CATEGORY
3819 Server is offline, skipping test: "OXCTABLE-CATEGORY"
3823 ignores objects that contain invalid handlers in mapi_object_release().
3825 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
3829 Fix API documentation to match signature.
3833 Update QueryRows IDL and implementation to match
3836 The main work here is reworking the SRowSet parsing
3841 Typo fix - allow cleanup to work properly.
3845 Make sure it has a return value.
3849 Rename GetColumns remote operation to GetColumnsAll, and
3850 fix up IDL and implementation to match.
3852 Add some more unit test coverage, and pretty-up the
3855 Fix up breakage introduced in r493.
3858 Make sure nagios directory gets created if it didn't exist yet.
3862 Refactor the unit tests.
3864 Extract out the setup and some of the cleanup code.
3868 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
3869 - Use event_context structure
3870 - update installsamba4.sh script to revert to this revision.
3871 - update torture modulesdir reference
3874 Look a little bit harder for the Samba installation.
3878 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
3879 - Add OXCFXICS mapitest module
3883 - Fix "the very secret" openchange coding style
3884 - Add Copyright for our humble new libmapi developer ;-)
3887 Implement the CopyProperties operation, including
3888 a mapitest for this.
3892 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
3893 code maybe needs some review regarding memory.
3895 - Add the GetTransportFolder MAPI call (IDL + implementation +
3898 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
3900 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
3902 - Add GetRulesTable (IDL + implementation + mapitest)
3903 - Add the OXORULE mapitest suite
3909 Make sure config.mk is the last file removed during distclean.
3913 - Add the Abort MAPI call (IDL + implementation)
3915 OpenChange doesn't support yet asynchronous operation which explains
3916 why no associated mapitest test has been implemented. This should be
3919 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
3920 - Fix some typo in mapitest doxygen
3922 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
3923 - Fix some doxygen stuff
3924 - add a common function within mapitest which looks for a folder name
3925 within a container and return the opened folder object on success.
3927 Add auto-generated Doxyfile to the svn ignore list
3929 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
3931 - Uninitialize MAPI and general memory context at the end of mapitest
3934 Clean up / flush the stream after use.
3936 Saves a bit more "still reachable" in valgrind too.
3940 - Rename CopyMessages to MoveCopyMessages
3941 - Improve IDL + implementation and mapitest added
3944 Make sure the version shown for mapitest documentation
3945 is automatically set to match the package version.
3947 complete the rest of the API documentation autonumbering.
3950 Remove duplicate use of $(SHLIBEXT).
3952 Avoid parallel builds for now.
3956 Fix GetContentsTable binding in perl swig
3958 - Improve the GetHierarchyTable and GetContentsTable IDL and public
3959 IDL implementation (new parameters in,out)
3962 Initial part of automatic list numbering for doxygen comments.
3964 This doesn't work correctly with the current apidocs.css, which
3965 turns the list numbers into bullet points for reasons I don't
3970 - Improve the DeleteMessages IDL request
3972 - Update libmapi version from 0.7 to 0.8
3974 - Public API change for the GetReceiveFolder function; now takes a
3975 message class as 3rd parameter.
3977 - Improve GetSearchCriteria request IDL (unknown removed)
3978 - update libmapi copyright headers 2007 -> 2007-2008.
3980 - Improve the SubmitMessage IDL
3981 - minor indentation fixed in IMessage.c
3983 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
3985 - Add SeekStream MAPI call (IDL + implementation + mapitest)
3986 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
3988 - Add CommitStream MAPI call (IDL + implementation + mapitest)
3989 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
3990 - refactor the stream test to include all stream related operations
3991 - add a common function which generates a random ASCII blob of data
3994 Add doxygen support for the mapitest examples.
3997 Allow cleaning individual parts.
4001 - Add GetStatus call (IDL + implementation + mapitest)
4003 - Fix format string problem in mapitest headers
4005 Run offline suites by default.
4007 - Introduce the online/offline mode for suite
4008 - Fix Exchange headers print bug when server is offline
4009 - reset errno to 0 before running new test
4012 Install the libmapiadmin.h header.
4014 Fix a compile-time warning on amd64, for the second
4015 argument to the getline() call - incompatible pointer
4018 I'm assuming that size_t is equivalent to uint32_t
4019 on a 32-bit architecture, but not on a 64-bit arch.
4021 A quick test showed no difference in actual output.
4024 Remove bashisms in installsamba4.sh
4028 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
4029 - Improve some ModifyRecipients and Recipients structure naming
4033 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
4035 - Add OpenPublicFolderByName call added (IDL and implementation).
4037 - Note: the reply IDL doesn't handle Server and ServerCount yet.
4039 - Note: this call only refers to NNTP folders (e.g: folders located
4040 within "Internet Newsgroups". If developers use this call within "All
4041 Public Folders", then the call with return MAPI_E_NOT_FOUND.
4043 - Call not added to mapitest cause it require RightsAuthor permissions
4044 on Internet Newsgroups which is not the case by default.
4046 - dump-data and debug options added to mapitest
4047 - FOLDER suite renamed to OXCFOLD (naming convention)
4049 Rename module folder to oxcfold
4051 Replace the existing mapitest tool with a new implementation. It is
4052 less complete but more modular.
4055 Add proto headers to ignore file.
4059 OpenFolder request: replace unknown field with OpenModeFlags
4061 - Rename 0xFE opnum from OpenMsgStore to Logon
4062 - Update the Logon request IDL
4065 Add BEGIN_DECLS for private_proto.h.
4067 Add forgotten part of rev435.
4069 Add unit test framework for compressed RTF decoding.
4071 Refactor lzfu.c to improve testability.
4075 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
4076 to some incorrect sanity check tests.
4078 - Remove deprecated fuzzer_msgstore torture test
4079 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
4083 A couple of minor fixes to make it read better.
4086 properly clean up sofiles
4088 Import exchange nagios check script by Bill Edmunds.
4090 Add support for creating libocpf soname symlink.
4092 Use standard include for uint64_t definition.
4094 Cleanup talloc and tdb before building samba4.
4098 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
4100 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
4101 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
4103 Add reference to the ocpf lib within the pc file.
4107 Remove duplicate SWIG instructions (already covered by stdint.i).
4109 Ignore files created by swig.
4111 Use config.mk in swig/perl/Makefile.
4113 Allow sambaprefix and prefix to be different. Allow building with unknown
4114 Samba git revisions (will still warn though).
4116 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
4120 Add domain to the mapiprofile dump output.
4122 Fix OpenMessage IDL and GetRecipientTable fetched data
4124 -This line, and those below, will be ignored--
4127 M trunk/exchange.idl
4128 M trunk/libmapi/IStoreFolder.c
4129 M trunk/libmapi/emsmdb.c
4130 M trunk/libmapi/IMessage.c
4134 Fix typo, change samba-config -> samba-hostconfig.
4138 - Add openchangepfadmin to make install
4139 - Add openchangemapidump and locale_codepage to make clean
4143 Merge the samba4-latest branch.
4147 Revert so version number to 0.7
4149 Fix Perl bindings: update mapidump_message
4151 ** Start libmapi-0.8 ROMULUS development **
4153 Add ChangeLog and apidocs to the releases
4155 - Delete unmaintained regression suite
4156 - Fix typo error in torture-clean rule
4158 Add modified release script originally from abartlett/samba4
4160 - Check for specific Samba4 git revision in configure.ac
4161 - Prefix locale functions with lcid and make them _PUBLIC_
4164 API documentation update.
4171 Add installation script for samba4
4173 - Apply the nspi pointer patch - make openchange works with
4174 samba4-alpha3 git 41309dc
4179 Move the top level API documentation to an "overview"
4180 section and add a redirect to that overview.
4182 This keeps the doxygen output more nicely separated for
4185 Also, generate the man pages where the install expects
4190 - Fix strsep bug in openchangeclient
4191 - Add RECIPIENT support to libocpf
4193 - escape/unescape strings support added
4194 - PT_MV_STRING8 type added to OCPF write API
4198 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
4199 (based upon patch from lofi@mountproc.org)
4200 - makes the workstation parameter of mapiprofile optional (use
4201 gethostname if not defined by the user on command line)
4203 - Fix an allocation memory problem in cast_SPropValue
4204 - update svn:ignore proplist
4208 Update the documentation build so it keeps generating an embedded
4209 website in with apidocs/html as root directory.
4211 - Add support for PT_UNICODE and PT_SHORT to libocpf
4212 - Initial implementation of the libocpf write API
4213 - Update libocpf documentation
4214 - add --ocpf-dump option in openchangeclient
4215 - Fix realdistclean rules for server
4216 - add cast_SPropValue function to libmapi/property.c which cast
4217 mapi_SPropValue to SPropValue
4220 Split API documentation into two separate sections - one
4221 for libmapi and one for libocpf.
4223 Also add in a top level intro page.
4227 New build system which gathers a list of things that can be built with
4228 the libraries/utilities the user has installed and build that when
4233 Add missing allocation for OLEGUID
4235 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
4236 makes ocpf-syntax "exclusive" (quit after performing the operation).
4239 r371 was bad. What was I thinking with that nonsense!
4241 Revert to something sane.
4243 Make the ./bin/ directory if it doesn't exist.
4245 This should resolve ticket #33.
4249 Improve language handling when creating profiles.
4251 You can now get a list of valid languages and use either
4252 the language code ID or the language name to specify what
4253 language later versions of Exchange should reply with.
4255 Typo fix - duplicate ; at the end of the structure.
4257 Match format to unsigned int argument.
4259 Make the format specifier match the unsigned argument.
4263 propset svn:ignore update
4265 Update propset svn:ignore on doc/examples and libocpf targets
4267 - Fix ticket #29: http://trac.openchange.org/ticket/29
4269 - use access(2) to see if the database already exists
4270 - test if the profile already exists prior trying to add it
4271 - add descriptive error messages
4272 - catch CTRL-C signal and run a profile deletion routine
4275 Update API documentation for ocpf_nproperty_add().
4281 Fix mapidump_message call parameters
4285 Add fid/mid parameters to mapidump_message and changed
4286 openchangeclient_fetchitems to reflect these changes.
4288 Patch from Brad Hards <bradh@frogmouth.net>:
4289 updates the OCPF doxygen file.
4291 Patch from Brad Hards <bradh@frogmouth.net>:
4292 adds the doc/examples into the build system and enables make examples.
4294 Patch From Brad Hards, <bradh@frogmouth.net>:
4295 API documentation update and minor fix for the error value change.
4303 - Add PT_BINARY property support to OCP
4304 - Add stream support to OCPF for large PT_BINARY blobs.
4305 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
4310 - Prevent from assigning a value which type doesn't match with
4312 - Add missing substitution variable support for some named properties
4314 - Improve sample_appointment.ocpf example
4315 - Add PT_MV_STRING8 keyword to the list of supported property type
4320 Improve OCPF PT_MV_STRING8 support.
4322 - Initial revision for libocpf and its documentation
4323 - YACC support added to the build system
4324 - custom lid and string support in mapi_nameid
4325 - lookup functions added for OOM, lid and string
4326 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
4328 - PR_FID displayed in openchangeclient --mailbox
4329 - PT_MV_STRING8 support added to cast_mapi_SPropValue
4333 Patch from Brad Hards <bradh@frogmouth.net>:
4334 updates code to build with current API
4336 Patch from Brad Hards <bradh@frogmouth.net>:
4337 little update for some API dox
4341 - Add --update option to openchangeclient and allow users to modify
4342 existing messages (calendar, task, contact, note)
4343 - Add --delete option to openchangeclient and allow users to delete
4344 existing messages (calendar, task, contact, note)
4345 - Add some folder/message unique ID to mapidump outputs and send*
4346 openchangeclient functions.
4347 - Fix a bug in set_SPropValue: add sanity check on unicode
4348 string. Thanks to Suman Manjunath for this patch.
4349 - Fix mapidump_task function and identifiers of named properties used.
4353 Fix missing sanity check on priority
4355 Fix a bug in openchangeclient when tasks are created without body
4357 private flag added to openchangeclient appointments
4359 Fix folder IDs problem for Exchange 2007 SP1
4363 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
4367 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
4368 GetRecipientTable. We were extending SPropTagArray prior calling
4369 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
4370 and erroneous data to be inserted in the SRow.
4372 - Fix libmapi/socket/interface.c:
4373 - Use the latest version from Samba4 which removes reference to
4375 - Moves struct interface declaration to netif.h
4376 - Report changes to emsmdb.c notification functions.
4378 - Change GetGALTable prototype to match general libmapi policy. Remove
4379 the usage of bool and replace it with uint8_t. Possible values added
4384 - Improve NspiQueryRows IDL and implementation
4385 - Add GetGALTable implementation: fetch all the Global Address List
4387 - Add --userlist option to openchangeclient
4388 - Add a convenient and basic dumping function for Global Address List
4391 - Improve OpenMessage reply IDL
4392 - Fetch mapi recipients from OpenMessage reply
4393 - Add GetRecipientTable convenient function
4394 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
4395 GetRecipientTable implementation.
4396 - Add convenient SPropTagArray_add function
4397 - Add internal emsmdb_get_SRow routine
4401 Patch from Suman Manjunath <msuman@novell.com>:
4403 - Adds named-properties which define recurrence patterns for
4404 appointment and task.
4405 - Adds named properties for appointment timezone
4407 - Fix the SNotRestriction IDL and write custom push,pull,print
4409 - Add 2 new MAPI calls to the IDL:
4410 * GetSearchCriteria,
4412 - add sample {Get,Set}SearchCriteria torture test
4413 - add convenient mapi_id_array implementation
4414 - add GetDefaultFolder support for CommonView and Finder folders
4418 Make sure directory exists.
4422 - Fix tiny 'nail down samba4 version' bug
4423 - update the minimal Samba4 required version
4425 - Add FindRow call to the IDL
4426 - Improve mapi_Restriction support
4427 - Remove deprecated ndr_print_QueryRows function
4428 - Add a print function for fuzzyLevel
4429 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
4431 - Add couple of new MAPI tags to mapi-properties
4432 - change initial bookmark index to 3
4436 - Add 2 new MAPI calls to the IDL and mapitest:
4438 * GetReceiveFolderTable
4440 - Fix a bug in the SortTable test when no messages are returned by
4443 - Add SeekRowApprox to the IDL and mapitest
4444 - Fix some doxygen typo
4446 - New calls added to the IDL, torture suite and mapitest:
4449 - Internal mapi_object_bookmark_t implementation added to
4451 - SBinary_short default ndr_print function changed to custom
4455 Temporary fixes unexpected segfault in SortTable test. Emails sent
4456 during the Submit test have sometimes not yet been dispatched when the
4457 SortTable test begins. This fix adds a sleep(1) and an arbitrary
4458 number of attempts (5).
4460 Add 2 new MAPI calls to the IDL and libmapi:
4464 Tests for SortTable added to mapitest and the torture suite
4465 Test for AddressTypes added to mapitest.
4469 Fix perl bindings and fetchmail test
4471 2 new MAPI call added to the IDL and mapitest:
4477 - Add DeleteAttach MAPI call
4478 - Add new mapi unit tests:
4482 * GetAttachmentTable
4484 - Update mapitest README
4485 - Add some convenient functions to mapitest_common.c
4489 Add a preliminary draft of the mapitest standalone MAPI test suite.
4495 - Fix the build with the latest Samba4 version.
4497 - Add a basic libmapi/version.h auto-generated
4498 file (based on Samba4 one)
4499 - Remove some warnings when compiling the utf8
4501 - Add a emsmdb_info structure to fetch some
4502 information from the Exchange server
4504 WARNING: Please note that EMSABP is definitely broken and
4505 requires a review and update.
4508 DESTDIR should never get into any source files, that would defeat its purpose.
4512 Fix the torture suite.
4516 provide extra required argument.
4518 Store a loadparm context in the global mapi context.
4520 Deal with samba version.h's that don't contain the Subversion revision.
4524 Use SWIG-provided typemaps for stdint.
4528 Fix Content-Type field in exchange2mbox
4529 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
4533 - Improve the CreateMessage IDL
4534 - Add new parameters to IMAPIFolder CreateMessage libmapi function
4535 - Add --mkdir --rmdir options to openchangeclient
4536 - Update the CreateFolder API and openchangeclient documentation
4537 - Fix CreateFolder calls in openchange tools and torture suite
4538 - Fix gendb_search warning
4542 Add new PSETID_Address named properties
4544 Fix a few code convention typos
4546 Patch from Suman Manjunath <msuman@novell.com> applied:
4547 converts a 'struct timeval' to 'NTTIME'.
4548 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
4552 update Samba4 first revision to 26100
4555 Cope with ndr updates.
4559 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
4563 Fix profile creation in a clustered Exchange 2007 environment.
4567 Fix QueryColumns req size.
4571 ** Start libmapi-0.7 PHASER development **
4573 add --dump-data option to mapiprofile for debugging purpose
4577 openchangepfadmin (1) man page added
4579 Store messageID in the object when SaveChangesMessage is called
4581 Nail down Samba4 version for libmapi-0.6
4585 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
4586 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
4587 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
4588 - Fix a typo bug in openchangeclient body help string
4590 Update doxygen section
4594 - Add doxygen man (3) pages to installman and uninstallman rules
4595 - do not run doxygen if apidocs already exists
4599 Move documentation to doxygen
4603 Add convenient date related functions for implementors:
4604 returns a timeval struct matching a PT_SYSTIME property
4605 for improved date manipulation in 3rd party softwares
4609 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
4611 Fix make realdistclean when swig perl is enabled
4613 Fix swig perl bindins compilation: move *.o to *.po
4615 use talloc_memdup to copy const data in the body DATA_BLOB
4616 Should only provide valid pointer to talloc_free
4620 Fix the DeleteMessages [out] IDL.
4622 The remaining bytes were not part of DeleteMessages but
4623 MAPI notification (0x2a)
4627 - Add RTF support in exchange2mbox
4628 - Use openchange-tools public functions
4629 - Replace GetPropsAll calls with GetProps
4632 * Use GetProps rather than GetPropsAll for message dump
4633 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
4634 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
4636 -This line, and those below, will be ignored--
4639 A trunk/utils/openchange-tools.c
4640 M trunk/utils/openchangeclient.c
4641 M trunk/utils/openchange-tools.h
4642 M trunk/utils/openchangeclient.h
4643 M trunk/libmapi/mapidefs.h
4651 Remove useless svn:ignore
4654 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
4656 Original lzfu decompress routine fetched from libpst-0.5.2
4658 make enum MAPISTATUS variables naming uniform in libmapi
4662 Add PT_CLSID case to get_SPropValue_data
4664 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
4666 Patch from Brad Hards <bradh@frogmouth.net>:
4667 Fix compilation for x86_64 platforms.
4671 More svn:ignore updates
4673 Update of svn:ignore
4677 added the IDL license
4679 Convert OpenChange to GPLv3
4681 - Add .po files to make clean
4682 - Fix a couple of warnings in the utf8 conversion lexer
4683 - Prefer long filenames to truncated one for attachments in openchangeclient
4687 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
4689 Add PT_CLSID and PT_MV_CLSID support to the IDL
4691 - Add new named properties
4692 - Convenient function for MNID_STRING props lookup added
4695 Make .po a recognized suffix.
4699 Use -fPIC for library objects.
4703 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
4704 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
4706 - add mapi_nameid convenient interface and headers
4707 - mapi-named-properties populated, parser added to mparse.pl, file
4708 added to the build system
4710 - remove any incorrect reference to named properties in openchange
4713 - remove deprecated libmapi/mapi.h file
4714 - remove unused ulFlag parameter from IProfAdmin functions
4715 - remove unused memory context from libmapi/x500.c
4717 - support sendnote operation in openchangeclient
4718 - optimize check/list oc_element functions in openchangeclient
4720 - update swig interface
4724 - New MAPI calls: Named properties support
4727 * GetAllNamesFromIDs
4729 - Modified MAPI calls:
4732 These calls now have more granularity in libmapi with flags support
4734 - sample mapi-named-properties file introduced in libmapi/conf
4736 - Torture test suite:
4737 * suite temporary fixed (import torture_rpc_* functions from
4739 * torture_namedprops test added
4741 - SWIG Perl bindings fixed according to changes described above
4742 - minor improvements in libmapi/mapidump.c
4746 - Decrease MAX_READ_SIZE to 0x1000
4747 - Clean-up Read/WritreStream related code
4748 - add dump-data option to openchangepfadmin (debugging purpose)
4753 - remove reference to core/nterr.h
4754 - add global_loadparm reference where missing
4755 - add reference to core/error.h where needed
4758 Improve output during build.
4762 Pass loadparm contexts, should fix the build with newer Samba revisions.
4766 - WriteStream API changed: now returns the number of bytes written
4767 - WriteStream man page updated
4768 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
4769 - Set open mode to 0600 when attachments are stored on the filesystem
4774 Fix preliminary Perl bindings so it works with Samba4 alpha2
4775 and latest libmapi revision.
4777 Patch from Andrew Gaylard <ag@computer.org>:
4779 - When calling openchangeclient with the --dump-data switch, it will
4780 dump core, since the global_mapi_ctx pointer isn't initialised yet.
4781 The fix is to wait until it's set before accessing it.
4783 Patch from Andrew Gaylard <ag@computer.org>:
4784 - Leaving any blank lines before .TH directives appears to cause a blank page
4785 to be output when converting man pages to DVI files (which is a step to converting
4786 them to PDF). The following patch remove the blank line above the .TH in each man page file.
4788 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
4793 - Add objectClass to the object: container, message or attachment
4794 - Rename content to message in openchangebackup functions
4795 - add objectClass parameter to ocb_record_init
4799 - Move debug options to their correct location (after MAPIInitialize)
4800 - Improve code related to LDB transactions
4801 - Add convenient error checking macros
4805 - Add preliminary openchangemapidump draft
4806 - Fix lp_parm_* 1st parameter in the torture suite
4807 - New functions in property.c for MAPI data retrieval
4811 Use configure definition for mandir.
4815 Activate debugs this time
4817 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
4819 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
4821 Add error check for samr call.
4822 set errno with MAPI_RETVAL_IF.
4826 Make required packaged more clear (LinuxMagazin input)
4830 Remove invalid comment.
4834 - Clean-up function prototypes
4835 - Dump email when NEWMAIL notification is received
4839 Proper dependencies.
4841 Don't regenerate proto headers unless necessary.
4845 Use install for installing files/directories.
4847 Actually use replacement variable for libmagic.
4851 Remove forgotten BOOL
4853 Remove mapi_session pointer in mapi_objects
4854 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
4858 Prevent users from creation of *undeletable* folders in Outlook and
4859 perform sanity check on dirclass + display possible values.
4861 Provides a way to modify Default and Anonymous permissions for a given folder.
4863 Fix errno in getdir function + add sanity check on opt_rmdir
4865 - Fix a memory related bug in mapiadmin_add_user
4866 - Add latest howto.txt modifications from Dan
4868 - Fix bug in *UserPermission function: return when user is not found
4869 - Add sanity checks to mapi_object API functions
4870 - mapi_object_release reset errno to 0: need to release object
4871 after displaying the potential error message.
4873 Fix a mapidump_appointment bug
4874 Add PF folder support to fetch-items operation
4878 openchangeclient now support send/read/delete operation on custom PF directories.
4880 - Add libmapiadmin library draft: Add/Remove Exchange user
4881 - openchangepfadmin tool added: Public Folders management
4882 - Add Sanity check to CreateFolder
4887 Fix last references to BOOL, True and False.
4889 Fix more references to BOOL, False and True.
4891 Use standard type and values for booleans since Samba no longer exports
4892 BOOL, True and False.
4896 - Add OpenPublicFolder function to libmapi, Open Public Folder store
4897 - change torture suite API to match latest Samba4 pidl changes
4898 - utf8_convert regexp improved
4899 - minor changes: printf to DEBUG
4900 - howto.txt patch from Dan included
4901 - Samba4 torture code related to user account creation included in the
4906 Fix segmentation fault when running update prior populating the database.
4910 Remove obsolete file from the torture suite
4912 - Add Exchange Administration test to the torture suite: Create Exchange user
4914 Dan update on howto.txt
4918 - Add Exchange ACLs support to MAPI library
4919 - Add 2 new MAPI opnum: GetTable and ModifyTable
4920 - Improve mapidump functions
4924 - Improve aclocal check in autogen.sh
4925 - Fix flex binary detection in configure.ac
4933 Create libmapi.so symlink
4937 Fix mandir installation path
4938 Add ldconfig intructions to openchange installation documentation
4944 RES_AND and RES_OR preliminary implementation.
4948 - doc patch from Brad Hards
4949 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
4950 - fix a warning in property.c
4954 Add some 'const' (fixes compile warnings).
4956 Use sonames (required for the Debian packages).
4958 Add .bzrignore file.
4960 Update version number and use globally defined version number in libmapi.pc.
4964 - Add IDL implementation for restrictions Content, Property,
4965 CompareProps, Bitmask, Size, Exist.
4966 - Add Restrict MAPI call handling the restrictions above
4967 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
4968 - convenient sendmail function added to mapi_common.c
4969 - get property size function for mapi_SPropValue added to property.c
4971 test --This line, and those below, will be ignored--
4975 M torture/openchange.c
4976 A torture/mapi_restrictions.c
4977 M torture/mapi_common.c
4978 M libmapi/property.c
4979 M libmapi/IMAPITable.c
4983 Documentation update: Perl bindings installation
4987 - Add mapitags and mapicode support to Perl SWIG bindings
4988 - SPropTagArray support
4989 - SRowSet preliminary support
4990 - new constructor/destructor for mapi objects
4994 - IProfAdmin patch applied: having password outside of the profile
4996 - Perl bindings draft added to the trunk and to the build system:
4997 --enable-swig-perl=yes
4999 - datarootdir fixed in libmapi.pc.in
5003 - Add CopyMessages IDL and COPYMAIL torture implementation
5004 - Fix man page install dir according to latest Samba4 changes
5005 - Add datarootdir var to libmapi.pc.in and fix configure warning
5009 convenient function which retrieve a value from a SPropValue array
5010 given its property tag name, otherwise NULL
5014 Patch from Brad Hards <bradh@frogmouth.net>:
5015 openchangeclient man page updated
5017 - Add Windows UTF8 to classic UTF8 conversion through a lexer
5018 - openchangeclient --mailbox option changed to use it
5019 - flex and bison support added to configure.ac
5020 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
5024 - features added to openchangeclient:
5025 * --send-appointment
5029 - openchangeclient man page updated
5030 - new properties added to mapi-properties
5032 - Add man pages for simple_mapi.c functions:
5034 * GetFolderItemsCount
5036 - Remove deprecated functions from IMsgStore.c
5037 - Update man pages documentation
5039 Fix install rule in Makefile: add missing headers
5040 Move callback retval from uint32_t to int
5042 Fix notification callback retval
5044 - Advise opnum added to the IDL
5045 - Parts of the Notify response IDL implementation
5046 - Add Notification support to libmapi
5047 - Add --notifications option to openchangeclient
5051 Patch from Brad Hards <bradh@frogmouth.net>:
5052 - PR_BUSINESS_FAX_NUMBER
5053 - improves the information provided on a contact by
5058 - Fix the release call in,out
5059 - Call Release from mapi_release_object
5060 - Add sanity check to OpenMsgStore
5061 - clean up parts of the mapi_newmail test
5063 EcDoDisconnect code now sounds to work properly
5064 Tested against Exchange 2000 / Exchange 2003
5066 - Fix SpropValue property pull problem when GetProps layout is set
5067 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
5068 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
5069 - Add debuglevel and dumpdata options support to openchangeclient
5073 - Remove useless memory allocation in mapidump.c
5074 - Improve mapidump_appointment
5075 - Add sample mapidump_note
5076 - Add --fetchitems option to openchangeclient:
5077 This command offers an easy way to fetch calendar, contacts,
5078 tasks, notes and mails from the Exchange server.
5079 - Add IPF container class defines to mapidefs.h
5080 - Add and Fix property tags
5084 - Commit the EcDoRpc max_data patch proposed on the devel list
5085 - Clean up folders related functions from the torture suite
5086 (GetDefaultFolder makes this code obsolete)
5090 Add the --mailbox option to openchangeclient which recursively
5091 lists the full mailbox folder hierarchy
5093 - Add PT_SYSTTIME support to get_SPropValue_data
5094 - Add mapidump_SPropValue_date dumping function
5095 - Add PT_SYSTIME support to mapidump_SPropValue
5097 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
5100 - Add GetDefaultFolder implementation to simple_mapi.c. This function
5101 provides a convenient way to retrieve default folders ID. const
5102 olFolder values are stored in libmapi/mapidefs.h
5104 - Modify the torture test suite to reflect these changes.
5106 - OpenMsgStore now decodes all the fid returned in the response
5108 - fix a bug size in libmapi/property.c
5112 - Fix SMTP recipient in libmapi
5113 - Add SMTP recipient support to openchangeclient
5114 and the torture test suite
5115 - Fix a bug in SRow_addprop
5119 - OpenMessage IDL changed: we have a permission field.
5120 It is now set by default to 0x3 (read/write) until we
5121 change OpenMessage prototype.
5123 - Add a sanity check to MAPIInitialize when no profdb
5128 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
5130 - SetReadFlags IDL and implementation added to libmapi
5131 - Warning fixed in emsabp.h
5133 Fix a bug in openchangeclient when attachments are using
5134 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
5135 attachment filename.
5137 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
5138 private structure member to private_data for C++ compatibility.
5140 Add libmapi/simple_mapi.c designed to hold convenient
5141 functions for application development.
5143 - GetFolderItemsCount added which returns the number of
5144 total and unread messages for a given folder.
5148 - Fix a body openchangeclient bug which now prevent openchangeclient
5149 from segfault when no body is specified.
5150 - Add GetDefaultProfile call to exchange2mbox for the default
5152 - Improve fuzzer_msgtore output
5156 Add a fuzzer torture test on OpenMsgStore which
5157 test all the possible max_data value.
5159 Should help to understand if libmapi fails because
5164 exchange2mbox improved:
5165 - tdb dependency removed
5166 - message-id are now stored in the profile database
5167 - it now mirrors deletion operation from the mbox file back to the
5169 - man page updated to reflect these changes
5171 - GetProfileAttr function prototype modified. It now returns the
5172 results count for the given attribute and store values in a string
5174 - GetProfileAttr man page updated to reflect these changes
5175 - Fix mapiprofile attribute search command
5176 - migrate from open/write calls to stream ones in exchange2mbox
5179 newmail torture + notifications implementation
5185 Fix the SambaXP live demo segfault: When an ambiguous recipient is
5186 specified, it now skips the name properly and maintain a correct
5189 - Fix a bug when storing attachments into mbox
5190 - Add default path support to exchange2mbox
5194 - Update libmapi version according to the roadmap
5195 - Fix nspi_resolvenames to use default profile database and profile
5199 - Add default profile database and profile support in the torture suite.
5200 - Fix a bug in mapidump_task
5204 - Change MAPILogonEx to MAPILogonProvider and avoid potential
5205 emsmdb endpoint related problem
5206 - add sanity check on global session pointer
5210 Merged MAILOOK-branch changes r64:163 into the trunk.
5214 Remove ChangeLog, use svn log instead ;p
5218 - libmapi includes moved from libmapi/include to libmapi
5219 - Remove arguments from prototype definitions generation in mkproto.pl
5220 - __BEGIN_DECLS __END_DECLS support in header files
5221 - united libmapi/libmapi.h header file
5222 - openchange.h header removed
5223 - PIDL generated files moved to gen_ndr
5224 - compilation rule for libmapi header installation added
5225 - useless torture tests removed
5231 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
5232 Add GetAttachmentTable call
5238 Remove -Werror CFLAGS until I figure out how to fix
5239 our problem definitively.
5241 Remove static from dcesrv_exchange.c functions definition
5246 . reimplement GetProps
5247 . retrieve attachment size
5248 . modify fetchmail and fetchattach torture
5253 . add GetPropList to exchange.idl
5254 . add GetPropList implementation to IMAPIProp.c
5257 - Add fetchattach torture; Attachment size is not yet
5258 defined and 42 is used.
5259 - add 3 new EcDoRpc opnums:
5268 Forgot to add IMAPISession.c
5274 Remove spurious warnings at compile time and
5275 add -Werror -Wstrict-prototypes to CC.
5279 Dispatch libmapi functions into filenames matching
5280 the MAPI interface they belong to.
5284 Fix the attach issue by value and add torture test to
5285 the openchange torture suite.
5290 attachment torture test implementation
5296 Add a null element at the end of MAPI_REQ array
5297 so we can exit from the loop in ndr_print_mapi_request
5301 - Add the DeleteMessages IDL
5302 - New torture tests added:
5303 * OPENCHANGE-MAPI-SENDMAIL
5304 * OPENCHANGE-MAPI-DELETEMAIL
5306 These are experimental implementation
5311 subject option for delete message torture test
5315 added (recipients == null) check
5317 added default subject
5322 Add NspiResolveNames and the associated torture test.
5328 Fix nspi decoding problem due to the usage of
5329 a hyper instead of a dlong.
5333 - Add a preliminary NspiUpdateStat IDL
5334 - Fix the new server code convention naming
5335 (function prefixed with dcesrv_)
5336 - Fix a security bug in emsabp provider code
5340 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
5344 Add SetProps [out] support.
5346 Temporary allocation pb fixed in ndr_pull_mapi_response.
5347 Final fix in next commit.
5353 Fix the SetProps [in] IDL
5355 New mapi call support added:
5356 - ModifyRecipients [in,out]
5357 - SubmitMessage [in,out]
5361 Add IDL support for the following mapi calls:
5366 The SetProps IDL is still experimental and the
5367 content blob should be decoded more than the current
5374 Fix the align problem in QueryRows reply blob
5375 Add some printing output and clean useless DEBUG.
5381 Fix the OpenMessage IDL and add ndr_print support
5382 to the MAPI-FETCHMAIL torture test so we can
5387 Commit of the first experimental but working implementation
5388 of the MAPI-FETCHMAIL torture test able to retrieve mails
5389 from an Exchange Server.
5393 - Add a preview implementation of cached data system for multi MAPI calls requests
5394 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
5395 - Enhance some MAPI calls IDL
5396 - Fix some pull/print functions according to error_code and row_count values
5402 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
5403 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
5404 we have to stop processing the function IDL since no parameters follow.
5408 add MAPISTATUS to EcDoRpc_MAPI_REPL
5409 add mapi library code for:
5415 add mapi calls described above to MAPI-FETCHMAIL torture test
5419 add mapi_response to emsmdb_transaction so we can get the results
5420 check the mapi call error core in OpenMsgStore
5424 Add MAPISTATUS field in each mapi calls
5425 Add new MAPICODE (MAPI_E_CALL_FAILED)
5429 Fix the mapi_request push function
5430 Add a first approach to the MAPI client side library
5431 Add a first approach of the MAPI-FETCHMAIL torture test
5432 Fix the smb.conf.example with new fields and remove Samba4 unused ones
5438 Initial mapidump commit
5439 OpenMessage IDL fixed
5445 Unused and dummy code removed
5449 - Remove the MAPI decoding TDR layer and associated functions
5450 - Add MAPI decoding in exchange.idl at NDR layer
5451 - mapi_request / mapi_response pull/print ok
5452 - implement subcontext for async response decoding in
5454 - new MAPITAGS added related to Message envelope properties
5455 - clean up the code and remove unused files
5457 - Add new MAPI opnums and associated IDL:
5458 * [in] Release (opnum=0x1)
5459 * [in,out] OpenFolder (opnum=0x2)
5460 * [in,out] OpenMessage (opnum=0x3)
5461 * [in,out] GetContentsTable (opnum=0x5)
5462 * [in,out] GetProps (opnum=0x7)
5463 * [in,out] Secolumns (opnum=0x12)
5464 * [in,out] QueryRows (opnum=0x15)
5465 * [in,out] GetReceiveFolder (opnum=0x27)
5466 * [in,out] OpenMsgStore (opnum=0xFE)
5472 For IDL with unknown fields followed the IDL may
5473 change and the mapping of these unknown bytes incorrect.
5474 It's just based on assumptions and results of the different
5479 - The mapi_request / mapi_response pull function
5480 - emsmdb torture tests and libmapi/emsmdb.c
5482 All this code is currently broken and will be fixed
5483 when we start writing the new emsmdb torture suite
5491 Fix ndr_pull_MAPI_DATA function
5495 - Add new mapi opnums
5496 - Add a first IDL implementation for OpenMsgStore out
5500 - Enhance the handles id support in MAPI_DATA
5501 - Remove unused code
5503 EMSMDB encoding/decoding is currently broken.
5504 It will be fixed when we start the client side
5505 mapi library implementation.
5511 - Change IMAPISession.idl to mapi.idl
5512 - enhance mapi content payload decoding (multiple calls supported)
5513 - add sub EcDoRpc opnums and IDL for setcolumns (in)
5520 - new function on emsabp provider for entry id generation
5526 Old mapitables code deleted and merge of the samdb
5527 code used in openchange (emsabp_result_guid function).
5529 The following revision compiles and work fine with
5530 Samba4 revision 20341
5537 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
5543 - Fix compilation warnings based on patches provided
5544 by Stefan Huehner <stefan@huehner.org>
5545 - Fix the DSO issue for x64 platforms
5546 - Add the evolution plugin in the compilation process
5547 - remove the mapidump code (obsolete and replaced with ndrdump usage)
5553 evolution plugin moved into client/evolution for
5554 a correct and extensible naming convention.
5556 EcDoRpc IDL modified:
5557 - opnum are now 8 bits
5559 - EcDoRpc ndrdump output enhanced
5561 IMAPISession IDL modified:
5562 - Change OpenMsgStore function name to MAPI_RPC_LOGON
5563 for the 0xFE opnum operation.
5565 Fix warnings in the code.
5571 Openchange-Evolution plugin commit
5572 I reorganized openchange evolution plugin source tree.
5573 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
5574 Everything can be found in the oc-evolution directory.
5575 This is code a minimalist implementation of the camel provider for evolution.
5576 It will make appears an openchange server type in the server list handled by evolution.
5577 Still have to fix the ./configure to create a Makefile though.
5581 Fix the memory allocation problems in the emsmdb torture test
5585 Removed ascstr and directly add it to the IDL
5587 Fix the NspiQueryRows response where strings
5588 containing the user email address have to be
5591 The EMSABP provider is working ;-)
5595 The emsabp provider is now able to return multiple users
5596 when searching for part of a username.
5602 Fix the networkAddress binding strings for the
5603 Exchange object in the configuration db. The
5604 SERVER variable based on exchange:server had
5605 been added while we needed the NETBIOSNAME one
5607 Fix a segmentation fault in emsabp.c due to an
5608 unchecked pointer res->msgs. This was causing
5609 smbd to segfault when the supplied legacyExchangeDN
5610 sent by the user wasn't present in the database.
5616 Remove unused files and directory.
5617 Update Makefile.in and remove storedb compilation
5626 - provisioning (for the legacyExchangeDN of the server entry)
5630 Fix the build and remove dynconfig samba lib
5636 Unused ldif files removed + Schemas definitions updated
5640 Provisionning fixed (old ldif files cleaned)
5646 add tags rules to the Makefile
5650 add the \\pipe\\protected_storage named pipe
5651 to exchange_nsp bindings
5657 Add a dcerpc_server module in charge of the
5658 exchange interfaces registration. When this module
5659 is loaded prior the remote endpoint, it let us proxify
5660 the exchange_nsp and exchange_emsmdb ones.
5662 Change the exchange_nsp ncacn_np binding string to
5663 reflect how Exchange server is currently using it.
5665 Conform the IDL with latest pidl requirements and
5666 move the MAPI_DATA structure from exchange_nsp to
5673 Create the $prefix/modules/{dcerpc_server,torture}
5676 This fix openchange make install rule.
5680 This commit conforms openchange with the Samba4
5681 trunk and fix the autotools checks.
5683 I've modified the openchange torture file to
5684 match the current smbtorture API and the
5685 OPENCHANGE-NSPI-PROFILE test was successful.
5687 The NSPI ndrdump suite has fully been tested and
5694 This commit fix the build system:
5695 - add the -ldynconfig dependency to LDFLAGS
5696 - add header checks in configure.ac. We need them
5697 for the moment cause Samba4 doesn't install some headers
5698 required by openchange core
5699 - fix the make install
5701 - remove autotools generated files and definitively
5702 ignore them with the .svnignore file
5704 - keepref keyword removed from exchange_nsp interface
5709 + aclocal.m4 removed from repository
5710 + provisionning fixed