4 Ignore moc files and generated binary
6 Update OpenChange version to 0.10 NOMAD
8 Nomad is a mechanical explorer sent from Earth in 2002.
9 It was melded with an alien device named Tan Ru and the resulting robotic
10 hybrid began destroying anything that was imperfect including, in 2267,
14 Add documentation for qt/ subdirectory.
16 Try harder to find moc.
18 Initial commit of some Qt-style bindings.
20 This is mostly for testing, although hopefully the library will
21 emerge with a set of mostly-useful widgets for implementing
29 Inadvertent removal in a previous patch.
31 Some support for ReviewBoard.
36 Update OpenMessage flags to match specification values.
38 Cleanup libmapi++ code when we "make clean".
40 Add svn ignore entries.
42 Remove inline from shared library class.
44 Fixes build on Intel C++ compiler.
49 libmapi++ is no longer a header-only library
54 Add first part of Restrictions support.
56 A little more documentation fixes.
60 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
61 In such situation, mapi_response is not allocated but has a destructor
62 associated. This fix removes the destructor whenever the error code is
63 different from MAPI_E_SUCCESS.
65 Also add a minor (probably useless) check on mapi_response pointer validity
66 before attempting any other child's free.
69 A couple of minor API documentation fixes.
74 Rename libmapi into openchange in our release script.
75 Makes more sense given the scope of our releases.
77 Fix format string warnings.
79 New ModifyRecipients IDL and implementation.
81 This patch improves the logic within the RecipientFlags bitmask
82 calculation function and make use of different MAPI properties for
85 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
88 Minor API documentation fix.
92 Fix some exchange2ical memory leaks / "still reachable" memory.
94 Fix property tag array count, so we get the language in Summary
95 lines in the ical output.
97 Add protection against null CN values.
101 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
103 Handle all day events for UTC+ timezones.
105 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
106 the problem, and providing a patch. In the end I heavily modified the
107 patch, and implemented a much simpler version while we sort out the
108 timezone identifier problems.
113 Minor documentation update to reflect GSoC exchange2ical merge.
115 temporary fix for building on FreeBSD 7.2.
117 Remove this file - converted it to trac tasks.
121 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
123 Changed MonitorNotification to be non-blocking.
124 Also checks whether to process notifications using a callback.
126 Open Profile Store using global_mapi_ctx for the memory context. This
127 fix removes 20 context errors when running valgrind on mapitest.
129 - Fix important memory leaks in OpenChange NSPI stack. The memory
130 context modifications applied to the EMSMDB stack have been
131 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
132 temporary context passed in parameter to the nspi_* functions from
135 - Changes propagated to torture, mapitest, IProfAdmin interface and
136 ResolveNames function to match the internal API.
138 - Add missing MAPIFreeBuffer call in mapitest modules
140 Minor cosmetic change
142 Minor changes to match our coding convention more closely
144 Return (const void *) instead of (void *) where missing
146 - Fix important memory leaks within the OpenChange stack. Most of the
147 leaks came from the pipe memory context used in emsmdb_transaction
148 which was only released on MAPIUninitialize and sometimes leaded in
149 lost blocks. This fix makes extensive usage of the temporary memory
150 context used in top MAPI calls implementation. This context is
151 passed in argument to emsmdb_transaction and used for dcerpc_*
154 When we return from any libmapi call implementation, this context is
155 destroyed. This guarantee no extra memory within NDR layer is kept.
157 The only requirement for this patch to work is to make sure the data
158 we return from MAPI calls is either reparent to another memory
159 context or copied properly.
162 Add support for skipping tests that don't apply to some
165 Change the format of the server version, so it matches the Microsoft
166 way of doing versions.
171 Fix store version info assignment - Exchange version now works again
174 Clarify the developer's task when using GetPropList.
176 We were allocating the SPropTag proptag array with the session context
177 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
179 We are now using SPropTagArray pointer as parent context and clarify
180 that the developer must pass an allocated SPropTagArray pointer to the
183 Missing mapi_object_release leading in small leaks.
185 Sanitize RfrGetNewDSA function and memory usage.
187 The function was returning either a const char * passed in parameter
188 or the string returned by RfrGetNewDSA call. Furthermore we were using
189 the session pointer for the memory context. Finally the function description
190 was not matching its behavior.
192 What this patch does:
193 - use a named memory context for RfrGetNewDSA call
194 - return an allocated string on success otherwise NULL
195 - release RFR memory context properly
197 valgrind before patch (mapitest):
198 ==28876== LEAK SUMMARY:
199 ==28876== definitely lost: 0 bytes in 0 blocks
200 ==28876== indirectly lost: 0 bytes in 0 blocks
201 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
202 ==28876== still reachable: 345 bytes in 2 blocks
203 ==28876== suppressed: 0 bytes in 0 blocks
205 ==28876== For counts of detected and suppressed errors, rerun with: -v
206 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
208 valgrind after patch (mapitest):
209 ==29083== LEAK SUMMARY:
210 ==29083== definitely lost: 0 bytes in 0 blocks
211 ==29083== indirectly lost: 0 bytes in 0 blocks
212 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
213 ==29083== still reachable: 345 bytes in 2 blocks
214 ==29083== suppressed: 0 bytes in 0 blocks
216 ==29083== For counts of detected and suppressed errors, rerun with: -v
217 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
219 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
220 pull_emsmdb_property is using pointers and allocate memory to prevent from
221 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
222 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
223 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
225 valgrind before patch (mapitest):
226 ==26674== LEAK SUMMARY:
227 ==26674== definitely lost: 0 bytes in 0 blocks
228 ==26674== indirectly lost: 0 bytes in 0 blocks
229 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
230 ==26674== still reachable: 345 bytes in 2 blocks
231 ==26674== suppressed: 0 bytes in 0 blocks
233 ==26674== For counts of detected and suppressed errors, rerun with: -v
234 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
236 valgrind after patch (mapitest):
237 ==27270== LEAK SUMMARY:
238 ==27270== definitely lost: 0 bytes in 0 blocks
239 ==27270== indirectly lost: 0 bytes in 0 blocks
240 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
241 ==27270== still reachable: 345 bytes in 2 blocks
242 ==27270== suppressed: 0 bytes in 0 blocks
244 ==27270== For counts of detected and suppressed errors, rerun with: -v
245 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
248 Minor API documentation fixes.
253 - Add a macro to mparse.pl to free both mapi_response
254 and mem_ctx within OpenChange calls implementation.
255 For the moment it is only implemented in OpenUserMailbox call.
257 - Fix a memory leak in OpenUserMailbox: When the call failed
258 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
261 Minor indentation fix
264 Add some missing newlines to reduce compilation noise.
266 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
268 See the gsoc_exchange2ical branch history for commits.
270 I also made a change to address ticket #216, and
271 fixed a couple of typos.
276 Minor updates to provisioning instructions.
278 Thanks to Girish Venkatachalam for some suggestions.
283 Fix 'unused variable' warning on FreeBSD for exchange2mbox
286 Add documentation for the --freebusy option.
293 Fix segfaults in mapitest launched with exchange2010
295 Fix compilation warnings
298 Add missing -L directory specifier.
300 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
302 Patch by Brian Lu (Sun). Thanks again.
304 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
306 Fix a couple of typos that trash CFLAGS during build.
311 Automatically switch from connect to seal on the emsmdb pipe if
312 ecNotEncrypted is returned by EcDoConnect.
314 - Make OpenChange natively working with Exchange 2010
315 - Factorize binding string construction code within a single function
316 - the seal flag is mandatory to connect to Exchange 2010
317 - add seal boolean value to MAPI profile creation and mapi_profile
319 - add --encrypt option to mapiprofile to set the seal value
324 Add documentation for set_SPropTagArray().
326 Thanks to Brian Lu (Sun) for reporting.
331 This doesn't really fix ticket #149, but this should
332 at least prevent from triggering segmentation fault when
333 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
336 Trivial fix (newline) for warning on FreeBSD compiler.
338 Add support for manually creating the library symlinks for FreeBSD
340 This is a somewhat speculative commit.
342 Also fixes a couple of cosmetic whitespace issues.
347 Patch from Bryan Lu <brian.lu@sun.com>:
349 Create symbol link only on Solaris
351 This closes ticket #221 and makes it possible to compile openchange
354 Temporary bug fix in emsabp.c - If restrictions are NULL in
355 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
356 invalid res pointer leading in segmentation fault.
358 Initial fix proposed by Erik Hovland <erik@hovland.org>
360 Patch from Erik Hovland <erik@hovland.org>:
362 fid might be null. Check it before dereferencing in the
363 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
364 folder_lookup() function.
366 Patch from Erik Hovland <erik@hovland.org>:
368 NotificationData 'could' be null. Check it before handing it to
369 notification-callback(). This is important because eventually
370 NotificationData will be dereferenced in the code path.
372 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
374 Fix MAPI Warning error codes
376 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
378 bugfix: Bugs in abp_tdb layer fixed.
380 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
383 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
385 Implement NspiQueryRows() address list enumeration
387 We can now run openchangeclient --userlist on OpenChange NSPI server
388 and Outlook 2003 is able to query GAL.
390 Note: the initial patch was proposing:
391 "(&%s(showInAddressBook=*))", purportedSearch
393 I replaced it with "%s", purportedSearch only since we don't have yet
394 any showInAddressBook attribute in AD.
396 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
398 - Add server side implementation for NspiResolveNamesW
399 - Refactor and split emsabp_verify_user in two functions
401 A new function emsabp_get_account_info() implemented to fetch info
402 about given user name. emsabp_verify_user() uses the above function
403 check if authenticated account_name is valid mail account and if so,
404 account_name is cached in emsabp context for future use
406 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
408 NspiGetProps() reimplemented to match [MS-NSPI] specification more
411 As a side-effect, emsabp_fetch_attrs() was altered to return
412 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
413 the function returns more meaningful error codes - if requested MId is
414 not found this surely means InvalidBookmark rather than CorruptStore
419 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
421 Propagate dwFlags for incoming call to get EntryIDs correctly.
423 Actually we need to propagate dwFlags so that emsabp_query()
424 function to be able to determine whether EphemeralEntryID
425 or PermanentEntryID is requested to be built.
427 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
429 Implement PR_SEARCH_KEY attribute getter
431 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
433 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
435 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
437 - Extend NspiDNToMId() to search in Configuration and Domain
440 - NspiDNToMId() has been extended to cache returned data properly,
441 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
442 from Domain partition are cached in in-memory db ttdb_ctx.
444 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
446 emsabp_set_PermanentEntryID() implements MS specification more
447 closely. For reference: [MS-NSPI] and [MS-OXOABK]
449 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
451 - Change the way we initially fetched server GUID
453 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
454 initial patch and associated research:
456 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
457 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
459 Fix samdb_connect warning.
460 Add function prototype to nsp,emsmdb header files.
461 Change samdb_ctx from void * to ldb_context *
464 Update docs to match those in mapiproxy doxygen docs.
466 Roll to the latest Samba4 version.
468 This should have no noticeable difference over the
469 Samba4 alpha9 release, but its nice to use the latest
470 version, and it might make a difference on the server
475 Fix OpenChange server code and access to Samba4 databases.
476 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
477 All information can be accessed through a single access to SamDB and configuration records
478 accessed through ldb_get_config_basedn.
480 The following implementation has been tested and is working with:
481 - mapiprofile profile creation
482 - openchangeclient --mailbox
483 - Outlook 2003 account creation
484 - Outlook 2003 mailbox opening
489 Fix openchange user provisioning scripts
491 Forgot to commit this LDIF modifications for openchange provisioning
496 - Fix OpenChange server provisioning (exchange classes and attribute only)
497 - Remove deprecated provisioning steps
498 - OpenChange user provisioning is still broken at this point, but will be
499 fixed in further revisions.
504 Fix a cast warning at compilation time for libmapi++
506 - Update openchange libraries to 0.9: close trac ticket #165
507 - Propagate pkgconfig solution in trac ticket #94 to other libs
509 - Update openchange code to work with samba4-alpha9 release
510 - Apply minor fix to ldb_wrap_connect (number of parameters)
511 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
512 - Update samba4 version script to match alpha9 and related git commit
517 Ensure we get output if sqlite3 isn't found at configure time.
519 Now outputs "no" instead of a blank.
524 Fix attribution, per IRC discussion.
529 Ensure API documentation gets generated for utilities functions.
531 Some undocumented stuff in here to look at later.
533 Add additional mapidump functions for notifications
535 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
537 Maintains good test coverage for this file.
542 Avoid use-after-free for the number of rows in the SRowSet.
544 Resolves issue #212, which has the valgrind error.
549 Add test for get_proptag_value().
551 Minor cleanups for mapidump functions.
553 - Add support for dumping property tags using PT_SHORT.
554 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
555 - Minor format change for PT_BINARY (training colon)
556 - Ensure PT_SYSTIME respects the seperator value (API change)
557 - Add a conditional assert() using infrastructure introduced in r1553.
559 Implement mapitest support for all of libmapi/mapidump.c
561 Update openchangeclient for the API change.
563 Introduce a compile time definition that is set for SVN snapshot releases.
565 The intent is to use this to protect assert() calls that indicate incomplete code.
570 Improved Sun Studio compiler support.
572 Patch by Brian Lu (Sun) - thanks again.
574 Revert inadvertent part from previous commit (r1549)
576 Add coverage testing support.
578 ./configure now supports --enable-coverage, which builds with the right options
579 to support gcov. Also adds a new makefile target ("coverage") that runs the
580 required post-processing steps.
582 Also added a test script that does a range of openchange related (client side)
583 operations. This is useful for generating the test load for coverage checks.
585 So the basic recipe here is
586 1. Add the --enable-coverage option at configure time.
588 3. Install it, or otherwise ensure that coverage-enabled libs are used
589 4. generate the test load (e.g. run ./script/smoketest.sh)
591 6. Inspect the results in ./covresults
596 Add support for the SunStudio compiler.
598 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
599 ensure it all worked.
601 This approach is cleaner, allowing options to be build up separately for each compiler, and for
602 the C and C++ versions.
604 Tested on Linux with all three compilers.
609 Adding missing include.
613 Patch from Brian Lu (Sun). Thanks very much.
618 Additional portability fixes for SunOS.
620 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
622 I modified the patch to try to use autoconf where possible.
624 Resolves ticket #220.
626 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
627 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
629 Patch by Brian Lu (Sun) - thanks very much.
631 Partly resolves ticket #220 - still need to handle the first patch.
636 Fix build problem using Sun Studio compiler.
638 Reported by Brian Lu (Sun), including a patch (Ticket #219)
640 I slightly modified the patch, but nothing substantial.
645 Patches provided by raboof:
646 - Ticket #213 deprecated include directive removal
647 - Ticket #214 missing sanity check
648 - Ticket #215 fix some DEBUG macro level for sain ouput
658 Use mapi_profile_get_ldif_path to find ldif path when one is not given
663 Added libmapi++ wrapper function for CreateProfileStore
668 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
671 Should allow FreeBSD to be supported.
676 Alternative solution to ticket #179, provided by Alan Alvarez.
678 This alternative avoids the need for the user to clean up the string returned by what().
680 Also includes a test case, which I've used to validate that the original (prior to r1524) code
681 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
683 Resolves Ticket #179 (again).
688 Make sure that the string given by what() can be used.
690 Patch by Erik Hovland - thanks very much.
692 Resolves ticket #179.
694 Ensure that the libmapi++ messages example works even if there is no
695 PR_CONVERSATION_TOPIC (subject).
703 Modify mapi_object_set_logon_id() to be able to report errors.
705 Original patch by Erik Hovland, I made some changes.
710 Implement RopReloadCachedInformation (0x10).
712 Minor change to IDL (previously implemented), and adds
713 implementaiton and mapitest code.
715 Also editorial comment fix in some related mapitest stuff.
719 Implement GetValidAttachments ROP (0x52).
721 Includes IDL, implementation and mapitest.
723 mapitest also checks DeleteAttach behaviour, which I don't think we previously
726 Also includes a comment fix in the mapitest code.
733 Patch by Erik Hovland <erik at hovland.org>
738 Update the properties list.
740 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
745 Update API to use MAPITAGS enum.
747 Update to match API change.
749 Use appropriate enum here.
751 Use enum for OpenEmbeddedMessage call.
753 Use enums where appropriate.
755 Update users of FindRow to use enums.
757 We are supposed to be returning a MAPISTATUS, so switch to using
758 the OPENCHANGE_RETVAL_ERR macro here.
760 Use appropriate enums instead of int types.
762 Use enums instead of ints / hardcoded values.
764 Use enum types where appropriate.
766 Fixes warnings from Intel C compiler.
768 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
770 Fixes warning from Intel compiler.
775 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
776 not to CXXFLAGS as well.
780 Use enumerated type instead of integer.
782 Remove unreachable code.
784 Add "static" to avoid the need for additional declarations.
786 Avoids noise from the intel c compiler.
788 Namespace variable in macro, so we don't get noise about shadowing a
791 Help icc find comparison_fn_t.
793 Match up data types in argument and format string.
795 Remove unused variable, and change a name to avoid a "shadowed declaration"
801 Portability fixes for Intel C Compiler.
803 Set CFLAGS early, otherwise AC_PROG_CC will set
804 CFLAGS to "-O2 -g", which later has -O3 appended, which
807 Check if we're really icc, and if so, turn off some warnings.
808 Also turn off the "FORTIFY_SOURCE" define which causes problems
809 with missing builtins.
811 The warnings can (and should) be turned back on later, after we
812 fix the current issues.
817 Correct diagnostics messages.
822 Remove explicit -Wstrict-aliasing=3 from command line.
824 This is implied by gcc -Wall option, and icc produces nuisance warnings
825 with it enabled (related to the -W option, not the code being compiled).
827 Fix some memory leaks and a bug in mapiprofile.
829 I introduced the bug in r1467, there could be others that are similar.
834 Minor rewording of description
841 Move initialisation up, to make sure everything is valid in the failure paths
843 Patch by Erik Hovland. Thanks once again.
845 This closes out ticket #178.
847 Remove unreachable code.
849 Patch by Erik Hovland. Thanks again.
851 This is the second part of ticket #177. This completes the checkin of that ticket.
853 Remove unreachable code.
855 Patch by Erik Hovland. Thanks very much.
857 This is the first part of ticket #177.
862 Ensure that we check the result of the operation we just performed.
864 Patch by Erik Hovland. Thanks very much for continuing to provide these.
866 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
868 Make sure that return values are checked and report that given status if there is an error.
870 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
874 More cleanups of memory leaks for setting up database and an associated failure case.
876 fix leak in openchangeclient
878 (as seen with valgrind of "openchangeclient -m")
880 Fix memory leak in mapiprofile utility
885 Ensure that when we pass --profile to mapitest, that profile
886 gets used instead of the default.
888 Also fix a small memory leak when using --profile, and add some
891 Fix error handling case.
893 Patch from Erik Hovland - thanks very much.
895 Resolves ticket #175.
900 Remove unused enum values.
902 Remove unused code - no simple tests.
907 Update the script version of samba4 to alpha8.
912 Add tevent to dependencies.
917 Remove unused headers.
919 Patch by Erik Hovland - thanks very much,
921 Resolves ticket #164.
923 Apply patch from Erik Hovland, from ticket #162.
925 From the original patch:
926 "The problem is that when you do stat first w/ a file string anyone can
927 exploit the time in between to do whatever they want with the file that
928 the string is a name for. Instead, try to open straight away. Then fstat
929 w/ the file descriptor."
931 I think the patch is fine, although I didn't run the torture test.
936 Avoid duplicate call to mapi_object_get_logon_id
938 Based on a patch proposed by Erik Hovland, but adapted to follow the
939 pattern used in OpenStream().
943 Applied modified version of patch from Erik Hovland to address unused variables.
945 See http://trac.openchange.org/attachment/ticket/160/unused-values for
950 My version removes variables (rather than commenting them out) since we don't need
951 them now. I also updated the documentation for options that are no longer available
953 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
954 in r808 (to resolve #103), and looks like it might have been used for debugging - no
955 impact on the code. I pulled out the whole lot.
957 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
959 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
961 Fix potentially unused variable.
963 Tested with mapitest (even though nothing should have been affected) and
964 with libmapixx-test and libmapixx-attach under valgrind.
966 Patch is remaining part of http://trac.openchange.org/ticket/153
968 Thanks to Erik Hovland for the patch.
973 Remove dead / unused code.
975 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
977 Original patch by Erik Hovland - thanks again.
979 Update test case to reflect new behaviour
984 Link libmapistore against tdb.
986 Update copies of config.guess and config.sub.
988 Link libmapiproxy against tdb.
990 Declare a SOVERSION for libmapistore.
992 Use LDFLAGS when linking exchange2ical.
994 Create symlink for libmapistore.
996 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
998 Fix typo in variable name.
1003 Fix typo in Python variable name.
1005 Keep separate flags for libraries around in config.mk.
1007 Link libmapiserver against all libraries.
1012 Add some PidTag* mapping involved with Recipients and RecipientRow
1017 Patch from Erik Hovland <erik@hovland.org>:
1019 Initializes variables to make sure they aren't used uninitialized.
1023 - Add sanity check on mapitest_common creation routines within
1026 - Apply patch from Erik Hovland <erik@hovland.org>: check return
1029 Patch From Erik Hovland <erik@hovland.org>
1031 In torture_rpc_mapi_sendattach a call is made to the system function
1032 read at line 199. The return value of read is assigned to read_size,
1033 which happens to be of unsigned type. So if read returns -1 (which it
1034 can) it will not be noticed. The patch changes the type to ssize_t
1035 (signed) and checks for -1 as well as zero to break out of the loop.
1039 Patch from Erik Hovland <erik@hovland.org>
1041 1. In mapiproxy, the directory handle dir will be leaked after it is
1043 2. exchange2mbox main() should use exit at line 785 just like all of
1044 the other error paths so that we don't leak anything
1048 Patch from Erik Hovland <erik@hovland.org>
1050 Adds a #include config.h to suppress compiler warnings for vasprintf
1052 Patch from Erik Hovland <erik@hovland.org>:
1054 Make sure pointers are valid before dereferencing
1055 1. lpProps 'might' be null
1056 2. Add folder to variables checked before moving on.
1057 4. Check nprop->guid before giving to strcmp, two times
1058 6. Check definition before handing to strlen (which will dereference
1059 it) Reworked this one to include talloc_free
1060 7. Check MessageClass? before handing to strncasecmp
1061 8. Check backend, return if null.
1062 10. Don't print out anything if lpProp is null
1063 11. Check attach_size before dereferencing
1068 Fix pull structure for QueryRows reply when no RowData is available
1073 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
1077 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
1078 blob. However it doesn't yet support Chained calls.
1080 - Add AuxInfo/AUX_HEADER structures and IDL
1082 - Refactor mapi_request and mapi_response: move obfuscate_data calls
1083 up to the EcDoRpc layer
1088 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1090 call ProcessNotification() after each successful
1091 emsmdb_transaction() in all the libmapi calls.
1093 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1095 Mapi notifications can occurs inside any emsmdb_transaction; currently
1096 only the notification send by the server inside the
1097 emsmdb_transaction_null() in MonitorNotification() are
1098 parsed/processed/delivered to the appropriate callback.
1100 To be able to process all the received notifications, the notification
1101 structure must comprise the private data to be passed to the
1102 notification callback, since in the average mapi call this data is not
1103 available. This patch modifies the Subscribe() call and the
1104 mapi_notification structure, adding the private_data parameter (also the
1105 related Subscribe() calls are update) and add a libmapi call
1106 (DispatchNotifications) to force the notification dispatching in
1107 a [quite] non blocking way
1112 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1114 ProcessNotification() is ignoring the handle value contained into the
1115 processed notifications. This means that if many Subscribe() calls are
1116 performed on different folders but with the same flags, all the
1117 registered callback are [incorrectly] signaled with each received
1120 The attached patch match the handler contained into the notification
1121 message against the notification object handle to avoid such
1127 Make sure delayed authenication is not called when server mode is enabled
1130 Update property list to reflect current OAB props.
1132 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
1134 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
1136 Also remove duplicate close() of file descriptor.
1148 Implement RopTransportNewMail (0x51).
1150 Includes IDL, libmapi implementation, and basic mapitest coverage.
1152 Also fix a few doxygen / formatting things.
1157 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
1158 This commit fixes the ecWrongServer (0x478) error users encounter
1159 while running openchange based software in a clustered Exchange
1165 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
1167 Includes IDL, implementation and mapitest tests.
1172 Fix Search notifications.
1174 MS concurred that the docs are wrong.
1176 Patch by Paolo Abeni - thanks very much for the
1177 investigation and the patch.
1179 Update GetStoreState documentation.
1181 Implement RopSetPropertiesNoReplicate (0x79).
1183 IDL was already done. mapitest for DeletePropertiesNoReplicate was
1189 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
1191 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
1196 Implement RopHardDeleteMessages (0x91).
1198 Includes IDL, implementation and mapitest.
1201 Ignore generated property file.
1206 Add PT_ACTIONS to list of data types.
1208 Not fully/correctly handled yet.
1213 - Add dcerpc_mapiproxy:delegated_auth option
1214 This option delays mapiproxy-remote server authentication when
1215 the client sends the first request on a given pipe. This is
1216 mandatory in order to have delegated credentials to work.
1218 - Factor remote connection into mapiproxy_op_connect
1223 Add session state to the notification.
1224 Patch by Paolo Abeni - thanks for the investigation and fix.
1226 Also remove a stray debug message.
1228 Add a new mapitest suite for OXCNOTIF (Core Notifications).
1230 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
1235 Update IDL for ModifyRules (0x41) and add IDL for
1236 UpdateDeferredActionMessages (0x57).
1238 This is a checkpoint commit, pending further investigation
1239 into how we handle PtypRestriction and PtypRuleAction.
1244 Mapitest cleanups - remove GetLastError(), and other minor edits.
1246 Implement LockRegionStream and UnlockRegionStream ROPs.
1248 These appear to be a relatively recent addition to the
1249 documentation, possibly only used in Exchange 2007 / Outlook
1252 This is complete except for testing of whether the locking
1258 Use parent folder full replica ID: 2 bytes instead of 1 byte
1260 - Add Implementation for Logon redirect response buffer in OpenChange IDL
1261 - Update libmapiserver size calculation routine for Logon call to handle this case
1266 Add session and logon_id to the list of parameters to copy between objects.
1267 This patch fixes a problem in openchangeclient when using the --folder parameter.
1270 Remove code relating to free'ing the bookmark returned
1271 by SetCollapseState. Initial investigations with MS
1272 lead me to believe that you can't free that resource.
1274 May be more work in this area as investigation continues.
1279 Fix memory leaks for functions relying on pull_emsmdb_property
1284 Fix emsabp valgrind errors
1289 Make it possible to specify a version number for release different
1290 from major/minor from configure.ac
1295 Make it possible to open and control up to 255 mailboxes within a
1296 single MAPI session.
1298 It implements an internal management of a logon_id array at session
1299 level + enable transparent transport/copy of current logon_id value
1300 among MAPI calls + finally transparently free the logon_id value when
1301 the store object (PF or mailbox) is being released.
1303 - Retrieve recipients from OpenEmbeddedMessage reply
1304 - Test the implementation in mapitest
1305 - Avoid potential memory leak: steal context for returned ulPropTags.
1310 Be more tolerant with Logon request flags
1312 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
1313 This case still needs to be fixed though.
1315 Delete debug message
1317 Create a default GetProps reply on error
1322 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
1323 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
1324 Set errno to retval to work around this problem.
1327 NSPI-GETIDSFROMNAMES
1329 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
1330 has been worked-around by setting QueryFlags to NoStrings to limite the results
1331 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
1332 add additional tests to do full coverage.
1334 Fix GetNamesFromIDs IDL and implementation.
1336 Note: We should probably update the function prototype
1337 so it takes a mapi_SPropTagArray rather than a single property.
1340 Protect against bad results from GetGALTable().
1342 Resolves ticket #142
1347 Patch from Paolo Abeni: Add sanity check to Subscribe
1348 and prevent applications from crashing if notify context
1354 Ensure NSPI server functions have a valid dcesrv_handle
1356 Add quick/additional configuration information on how to setup openchange server
1358 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
1359 segfault when parent object is meant to come from GetContentsTable.
1361 - Fix NspiGetMatches server reply when specified username is invalid and
1363 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
1364 a talloc_free bug leading to segfault on failure.
1366 Prevent from registering same mapistore backend multiple times
1374 Add skeleton for GetRulesTable
1376 - return MAPI_E_SUCCESS when QueryRows reply count is 0
1377 - Move Reminders from IPM Subtree to Mailbox root
1379 - Add QueryPosition implementation
1380 - Move from offset to numerator/denominator couple for table objects
1382 Outlook now opens properly using openchange server and display the
1383 mailbox folder list with icons ;-)
1385 - Add skeletons for Restrict, SortTable, FindRow calls
1386 - Introduce emsmdb provider table object
1387 - Add preliminary table implementation for system/special folders
1388 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
1389 - Improve creation of GetProps reply blob for Mailbox folder
1390 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
1391 - Remove some usage of ldb_filter and use format string instead
1392 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
1393 so openchange server is able to return failed replies to MAPI clients
1394 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
1396 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
1398 Still preliminary but anyway worthwhile enough to be mentioned ...
1400 - Add a function to count subfolders of a container
1401 - Add a function to wrap MAPI tables over openchangedb
1402 - Factorize code used to fetch property values from LDB records
1404 - Add default properties to folder records while provisioning mailbox
1405 - Add few more mapping for PR_* to PidTag
1406 - Add a new MAPI property to the list
1408 Avoid openchangeclient --mailbox to segfault when run vs openchange server
1411 Remove some ldb_filters, and just use varargs into ldb_search
1413 warning fix for 64-bit arch.
1415 Revert previous commit.
1417 Experimental commit to fix build problems resulting
1418 from property changes.
1423 - Add PidTagDisplayName property to Mailbox object
1424 - Add PidTagParentFolderId to all system/special folders
1426 - handles array depends if a valid mapi_repl exists. This commit
1427 fixes the destructor semantics.
1428 - Fix a mapitest segfault encountered while run vs openchange server
1429 - Return 1 in SRowSet_propcpy if an error was encountered.
1431 Fix libmapi stack segfault when MAPI calls returns
1432 with error_code different from MAPI_E_SUCCESS.
1434 Do not process NSPI request if we can't find the handle
1436 Remove unnecessary ldb_filter parameter and replace it
1437 with ldb_search format string.
1442 - GetPropertyIdsFromNames skeleton added
1444 - Fix how Release replies are handled in mapi_repl[] array
1445 - Remove Release size calculation
1446 - Fix QueryRows size in libmapiserver
1447 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
1448 - GetHierarchyTable skeleton added
1449 - SetProperties skeleton added
1450 - CreateMessage skeleton added
1451 - SaveChangesMessage skeleton added
1457 Set mapi_response to NULL upon init ... just to get sure
1459 Fix MAPIUninitialize segfault
1467 - Add skeleton for GetContentsTable Rop
1468 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
1469 - Add libmapiserver size calculation functions for all the above
1470 - Ensure we only set objects parameter if it exists
1471 - Return when dcesrv handle is not available
1473 Merge s4-alpha7 branch back into trunk
1478 - Add several PidTag to openchange.ldb folders
1479 - Add provisioning convenient function which adds attribute/value pair
1480 to a given folder record
1481 - Replace existing special folders reference within Inbox with PidTagIpm* tags
1482 - Add new PidTag values to mapi-properties
1483 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
1484 - Add a function which builds special properties for openchangedb folders
1485 - Add PT_BOOLEAN case to openchangedb folder get property function
1486 - Keep a reference to the mailbox username within emsmdb provider context
1487 - Create and return a handle in RegisterNotification
1492 Wrong MessageClass size calculation fixed
1495 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
1497 Ignore new binary and trial output.
1502 - Fix systemfolder value for System/Special folders
1503 - Add GetProps support to System/Special folders
1505 Add auto-generated parser to the ignore list
1507 - Add auto-generated parser for MAPI property to PidTag mapping
1508 - Add some PidTag values
1509 - Add a lookup and get property functions on system folders
1511 - tuple SystemIdx in the dictionnary to workaround the ordering problem
1512 - Add ParentFolderId attribute to System Folders
1514 - Add creation of "Special folders" to mailbox provisioning
1515 - Rename fid attribute to PidTagFolderId
1516 - Rename name attribute to PidTagDisplayName
1517 - Rename ExplicitContainerClass to PidTagContainerClass
1519 Fix GlobalCount increment
1521 Fix mailbox provisioning
1524 Add test for FILETIME structure.
1526 Update docs for mapiproxy entry.
1529 Fix handling of fids.
1533 - Fix openchangedb mailbox hierarchy and introduces subfolders
1534 as described in [MS-OXOFOLDS] specifications.
1535 - Update openchangedb API to reflect this change.
1537 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
1538 to fit with MS-OXOFOLDS specifications.
1540 - Add provisioning code for GetReceiveFolder defaults
1541 - Check if mapistore content repository already exists for the user
1542 - Make mailbox creation verbose
1545 Fix parentfolder reference.
1549 Use recursive call to create folders.
1551 Simplify list iteration, PEP8, avoid using string exceptions.
1556 Fix 'dereferencing type-punned pointer' warnings
1558 - Add strict-aliasing compiler flags
1559 - Fix format string warnings on ubuntu buildbot
1561 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
1562 - Fix warnings introduced by -D_FORTIFY_SOURCE
1565 I might have been a bit hasty with that last commit...
1569 Try harder to find sqlite3.
1571 Seems to be in sqlite.pc on Ubuntu.
1573 Fix warning on 64-bit arch.
1577 - Add RopGetReceiveFolder (0x27) implementation
1578 The function respects should respect the semantics and behavior
1579 as described in MS-OXCSTOR specifications. However the python's
1580 code modification required: add ExplicitMessageClass attributes
1581 to folder records is not yet effective.
1583 - Add GetReceiveFolder size calculation function to libmapiserver
1584 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
1585 couple for a given SystemFolder within user's mailbox.
1587 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
1588 - Provision scripts: add default sqlite:// mapistore URI for system folders
1589 - Add mapistore context initialization when calling OpenFolder on SystemFolder
1590 - Add mapistore context release for folders in emsmdbp object destructor
1592 Factorize emsmdbp objects
1593 Add emsmdbp_object generic talloc destructor
1596 Add test for PT_MV_LONG.
1598 Add tests for PT_I8 and PT_BINARY
1600 Fix warning about no newline at end of file.
1602 Remove most recently added tests from "to be done" list.
1604 Add a couple more mapi_SPropValue tests.
1609 - Initialize mapistore within emsmdb provider context
1610 - Add destructors for MAPI handles and mapistore contexts
1611 - Remove emsmdbp_ctx memory context structure member and
1612 allocate directly with emsmdbp_ctx
1614 I don't see any good reason why we would pad MAPI replies with some bytes.
1615 I guess it comes from some prehistoric openchange code.
1617 Fix systemfolder assignment depending on IsSystemFolder value
1619 - Initialize OpenFolder server reply
1621 - Wrap TDB connections to mapistore (code from samba4) so
1622 multiple instances can open read/write to the same TDB database
1623 - Remove static id_mapping_context (replaced with tdb_wrap calls)
1624 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
1625 - Link mapistore with exchange_emsmdb
1627 Fix aclocal warning for AC_DEFINE comparison_fn_t
1629 Remove useless GetProfilePtr from IProfAdmin interface
1630 Closes trac ticket #131
1632 Add missing script - prevent configure from generating warning vs missing file.
1634 Remove stamp-h1 file during distclean and add it
1637 - Add server-side GetReceiveFolder (0x27) skeleton
1639 Work around the comparison_fn_t redefinition problem
1640 between libocpf and ndr.h
1642 FreeBSD doesn't have time.h daylight global variable
1645 start testing mapi_SPropValue_array.
1646 This also tests some underlying functions.
1651 Add comparison_fn_t support to ndr.h
1652 This was the latest change require to make openchange compiles under FreeBSD
1654 = samba4/openchange FreeBSD support completed =
1659 Remove duplicated post_install call
1661 Add a post_install operation on FreeBSD
1662 Make sure pidl is installed properly.
1664 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
1665 Note: this is a dirty hack which needs to be removed in the future
1667 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
1668 may not be adjusted properly.
1670 Avoid download samba4 release tarball if already available
1671 in current directory.
1673 - Add test for comparison_fn_t in configure.ac
1674 - libocpf auto-generated files include stdlib.h and prevent from
1675 having the proper comparison_fn_t typedef. This commit works around this
1676 problem and define comparison_fn_t within a private header.
1678 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
1679 Use fgetln instead when it is compiled on this OS.
1681 FreeBSD doesn't define sighandler_t but sig_t
1683 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
1685 - Add non-default search path /usr/local/{include,lib} to
1686 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
1687 - Make use of LDFLAGS while compiling openchange tools
1690 A few improvements for property handling.
1692 Also add unit tests to verify behaviour is correct.
1694 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
1696 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
1701 Check for Flex version < 2.5.35
1702 Make sure users can define the FLEX environment variable
1704 Add automake scripts for AC_CANONICAL_HOST support
1705 Needed for FreeBSD OS detection in configure.ac
1710 Fix warnings from lexer output.
1712 Fixes for warnings on 64-bit architectures.
1714 Fix warning on 64-bit architecture.
1717 Add some more tests for openchange.mailbox.
1719 Fix creation of new mailbox after provision.
1721 Always use the same URL when connecting to openchangedb.
1723 Fix arguments to openchangedb_provision.
1728 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
1731 Warning fix for 64-bit arch.
1736 Add doxygen definition for RopRelease
1738 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
1739 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
1740 - Fix size bug for serialized requests
1741 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
1742 - Make sure the GetProps reply blob is initialized whatever happen
1743 - Add a skeleton emsmdbp folder object init function
1748 Remove debug strings for GetPropertiesSpecific Rop
1750 Enable verbose output in server mode - useful during development
1752 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
1754 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
1755 - Fix GetProps size: subcontext is not added to the fixed size calculation
1757 - GetPropsSpecific size calculation function added to libmapiserver
1758 - Function to create a GetProps reply property blob added to libmapiserver
1761 Add tests for provisioning.
1763 Several cleanups in python code, add tests for schema use.
1765 Don't clear PYTHONPATH override.
1767 Remove unused imports, add extra tests.
1769 Use member variable for Ldb, rather than subclassing.
1771 Remove print statements to avoid cluttering test output.
1773 Add simple and incomplete testcase for OpenChangeDB.
1775 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
1777 Move adding a server to mailbox.py.
1779 Move ldif from oc_provision_openchange.ldif into Python.
1781 Stop providing setup_path to OpenChangeDB, as it's no longer used.
1783 Avoid using separate LDIF file when creating folder mailboxes.
1785 Avoid using separate LDIF file when creating mailboxes.
1787 Avoid passing full names object.
1789 Add check-python target.
1794 fix openchange_newuser.
1796 Use SamDB for actual SAM databases, Ldb otherwise.
1798 Remove unused parameters, don't make parameters optional if they are mandatory.
1800 remove unused parameters.
1802 make mailbox object-oriented, remove creds/lp parameters.
1804 Fix OpenChangeDB syntax.
1809 - Add a systemfolder member to the MAPI handle structure to make a difference
1810 between objects managed by mapistore and those stored within openchange.ldb
1811 (root mailbox folders).
1813 - Add opaque functions to set/get private_data and systemfolder to the MAPI
1816 Minor doxygen fix/improvement
1818 Add libmapistore object files to the ignore list
1820 - Add a very preliminary and light libmapistore implementation.
1821 mapistore only supplies init/release and add/del backend contexts.
1822 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
1823 - A temporary mapistore testing tool has been added locally for implementation checks.
1826 Use convenience function for connecting to openchange.ldb.
1828 Use standard LDB functions - openchange.ldb is not a SAM database.
1833 Implement support the SUMMARY language tag.
1835 Initial checking of libical based exchange2ical code.
1837 This has a long way to go, so think of this as more of a checkpoint
1840 See http://sourceforge.net/projects/freeassociation/ for the library, or
1841 see if your distro has a package.
1845 Add missing parameter to API documentation.
1847 Resolves ticket #130.
1849 API documentation fixes for OpenEmbeddedMessage()
1851 Implement OpenEmbeddedMessage ROP (0x46).
1855 Factor out message creation and message fill actions.
1857 Also remove GetLastError() where appropriate.
1859 Add some API documentation.
1864 Update openchangepfadmin description
1865 Fix tool relying on libmapiadmin
1872 Add more explanation for README
1874 Reimplement RTF decompression.
1876 Add unit tests from MS-OXRTFCP.
1878 Fix warnings in example code
1880 Add description for libmapiadmin
1882 Add description for libmapi / libmapi++
1884 Start on the directory descriptions.
1890 Add overview. Extracted from API docs.
1894 Outline of README file.
1896 (also using this to test buildbot without changing real code)
1900 Add Version field - avoid breaking pkg-config --list-all
1902 Fix warnings (gcc 4.2.4)
1905 Use variable for package version rather than hardcoding it.
1915 - Add an implementation of the MAPI handles management API. The API
1916 internally uses an in-memory TDB database to keep object hierarchy
1917 and a doubled chained list to associate private data to handles.
1919 The API currently provides add, search and delete facilities. Note
1920 that while untested, the delete operation is designed to recursively
1921 delete children of the 'meant to be deleted' handle.
1923 Finally the API doesn't remove TDB records but mark them as free so
1924 they can be reused across MAPI session and prevent from handle counter
1925 growing indefinitely.
1927 - Add a preliminary implementation of the Release call
1928 - Add Release size calculation to libmapiserver
1929 - Update EMSMDB provider to use MAPI handles API
1932 Minor api documentation fix.
1938 Minor API docs tweak.
1940 Token commit of tiny API docs fix.
1943 Look for GNU make harder (gmake on BSDs).
1948 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
1949 - Add common routines for OpenChange LDB context init and search
1951 - Add libmapiserver skeleton with size calculation routine for RopLogon
1952 - Change DSO linking dependencies for mapiproxy shared libraries
1953 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
1957 Remove .po and .o objects within libmapiproxy subdirectory
1959 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
1960 Fix make uninstall for AD and profiles directories
1964 Add python code and ldif files needed to create and populate the experimental
1965 openchange dispatcher database.
1967 Add 5-Minute configuration documentation for OpenChange server mode
1969 - Rebase ldif files into sub directories:
1970 * AD for OpenChange AD modifications
1971 * profiles for OpenChange IProfAdmin interface
1972 - Makes it easier figuring out LDIF files scope
1973 - Prepare setup folder for LDIF openchangedb files integration
1974 - Update install/uninstall Makefile rules for ldif files and
1975 make sure everything got removed
1980 Add support for short language names (e.g. en-AU) for lcid.
1985 Delete deprecated libmapi setup Perl script
1988 Add summary report for tests.
1990 Make mapitest return the number of failed tests.
1995 - Add pkg-config pc file for libmapiproxy
1996 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
1998 Free memory allocated by the fake subcontext in
1999 ndr_pull_mapi_response.
2001 This fix saves 300kb of memory and removes 700 loss records while
2002 valgrinding mapitest.
2004 Fix segfault - Add sanity check - when SPropTagArray is NULL in
2005 NspiQueryRows request
2007 Fix openchange_newuser name typo
2009 Fix server provisioning command line examples
2011 Fix several libmapi leaks.
2013 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
2014 and was not free'd when libmapi function released their
2015 context. Furthermore we need to release mapi_response->mapi_repl and
2016 mapi_response->handles which are now automatically free'd when
2017 mapi_response destructor is called.
2019 However note that this fix is not perfect: mapi_response memory is not
2020 free'd properly when calls exit with an error.
2022 This commit also make use of talloc_steal where necessary to keep
2023 returned fields allocated.
2027 Use named context rather than autofree
2029 Fix memory leak in emsmdb.c: Use a temporary memory context for
2030 request and length allocation in emsmdb_transaction.
2032 - This removes 827 loss records and approximatively saves 41kb of
2033 memory while valgrinding mapitest
2035 - Fix memory leak in GetDefaultProfile and GetProfileTable.
2036 - Save from 10 loss records while valgrinding mapitest
2037 - Developers are now responsible from freeing the GetDefaultProfile
2038 string the function allocates.
2039 - Apply changes to all openchange tools.
2041 Add blackbox subunit tests for mapiprofile tool
2044 One more trivial fix.
2048 (Yep, more trivial changes)
2050 Fix incorrect LCID for en-CA.
2052 (OK, its token, I admit).
2055 Don't define _GNU_SOURCE unconditionally.
2059 Prevent mapiproxy from multiple init and modules/server register
2060 when an smb client connect to the server (e.g. windows browser or smbclient)
2064 According to [MS-OXOCAL] Section 2.2.1.44.1
2065 "RecurrencePattern Structure", a monthly recurrence
2066 also has a Day specific parameter.
2071 Simply run autogen.sh rather than replicating it inside the Makefile.
2073 need to run aclocal before autoconf for the pkg-config macros.
2077 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
2078 Saves from 4 loss records while valgrind'ing mapitest.
2080 Use temporary memory context for EcDoConnect.
2081 Saves from 20 loss records when valgrind'ing mapitest.
2083 Free PropertyProblem structures returned by CopyTo.
2085 Replace deprecated talloc_init calls with talloc_named
2086 This commit removes some valgrind loss records talloc_init was responsible for
2089 Free everything when running mapitest --list-all.
2090 Valgrind however shows a loss record related to talloc_init ...
2093 Minor Intel C compiler warning fixes.
2095 Minor apidocs cleanups.
2099 Use double pointer for lp_ctx in GetLoadparmContext assessor
2101 Fix memory leak in utf8 lexer.
2103 - Remove custom iconv_convenience from pull_emsmdb_property and use
2104 lp_iconv_convenience on loadparm_context argument instead.
2106 - Change OpenChange libmapi API to reflect this change
2108 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
2109 (mostly for mapitest modules). libmapi/mapiproxy developers
2110 should never have to make use of it.
2112 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
2114 Free lpProps returned by GetProps, Fix context error in valgrind
2116 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
2117 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
2118 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
2121 Don't install mapiproxy if python wasn't found, since
2122 we wouldn't know where to install the provisioning scripts or be able
2127 Merge libmapi-0.8 branch r1015 to 1017 into trunk
2129 ** Start libmapi-0.9 COCHRANE development **
2131 Merge libmapi-0.8 branch changes into trunk
2135 Add python install/uninstall rules to provision rather than mapiproxy-servers
2137 - Remove server Makefile rules
2140 Note: server and providers have been merged within mapiproxy,
2141 so there is no reason keeping this deprecated code.
2145 Undoing change committed in r1004.
2147 Use .po files instead of .o files for openchange tools
2149 Add --version to openchange tools
2151 Add COPYING file with GPLv3 license
2155 - Add RenameProfile function to IProfAdmin API
2156 - Remove pointless CopyProfile from IProfAdmin API
2157 - Add --rename option to mapiprofile tool
2158 - Update man page to reflect this addition
2160 (close trac ticket #124)
2162 Fix libmapi from crashing when mapi_repl is NULL.
2164 Update Samba4 git rev to fix the charcnv segfault met in openchange
2168 Try to find the Samba python modules if they're not installed in the system
2173 - Fix Subscribe semantic bug and add WholeStore boolean parameter
2174 - propagate API change to tools/torture callers
2176 - Add assessor functions to set dumpdata and debug level in libmapi
2177 (SetMAPIDumpData and SetMAPIDebugLevel)
2178 - OpenChange tools modified to use these function rather than set these
2179 parameters on their own
2181 - Fix --debuglevel segfault in openchange tools
2182 - Enable logging to stdout in MAPIInitialize
2186 * OpenChange libmapi function now returns MAPI error instead of -1
2187 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
2188 - add doxygen documentation for some missing functions/files
2190 - Missed this event->tevent change in previous commit
2192 - Update openchange to use latest Samba4 master git rev (990491d)
2193 - Fix references to tevent_context structures
2194 - Fix iconv_convenience init in MAPIInitialize
2195 - Remove errorchecks mapitest module warning
2198 Use tevent_context_init.
2204 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
2205 using profile's mailbox string directly. This commit fixes the bug.
2207 - Add EcDoConnect and EcDoDisconnect preliminary support to
2208 dcesrv_exchange_emsmdb.c
2209 - Add internal session management mechanism to EMSMDB server
2210 - Add init and unbind modules function to EMSMDB server
2211 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
2214 Fix valgrind errors caused by using free'd memory.
2218 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
2219 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
2220 0xB (opnums using LZ based compression).
2222 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
2226 - Preliminary implementation of NspiGetProps NSPI server function
2227 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
2228 - Use correct ldb context (users or conf) depending on where MId is
2229 located (on-memory or on-disk)
2230 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
2232 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
2234 - Preliminary implementation of NspiDNToMId NSPI server function
2235 - Add emsabp_search_legacyExchangeDN to search for a record given its
2236 legacyExchangeDN attribute.
2238 - Preliminary implementation of NspiQueryRows NSPI server function added
2239 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
2240 rather assuming it is NULL terminated
2241 - Add support for "referenced" property tags
2242 - Add support for PR_MV_STRING8
2243 - Add emsabp_search_dn which search for a DN within AD and return the
2244 associated LDB message
2245 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
2246 emsabp_property array
2248 Prevent from trying to add a NULL element to profile database and segfault on strlen
2250 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
2252 - Preliminary implementation of NspiGetMatches NSPI server function
2253 - Make use of a on-memory TDB database for Ephemeral Entry IDs
2254 - Add TDB traversal routines to retrieve DN associated to MId
2255 - Move lp_ctx within emsabp_ctx for convenience
2256 - Add EphemeralEntryID to Binary_r routine
2257 - add emsabp_query (Find attribute matching given property tag and
2258 return associated data)
2259 - add emsabp_fetch_attrs which builds a SRow array given a MId and
2260 requested property tags.
2261 - add emsabp_search which searches AD given input search criteria
2262 - add a preliminary Property Tag to AD attribute mapping + associated
2263 functions in emsabp_property.c
2265 Note: This NspiGetMatches is limited to MAILUSER which means we only
2266 look for users (located within users.ldb). This limitation will be
2267 removed when we have a preliminary working emsmdb server, so we can do
2268 more extensive NSPI server tests.
2270 Add sanity check to get_SPropValue_SRowSet, prevents the function
2271 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
2273 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
2274 with NULL ppOutMIds is returned.
2279 - Preliminary NspiGetSpecialTable implementation added to NSPI
2280 server/EMSABP provider: Hierarchy Table supported (required during
2282 - add PT_BINARY support for mapidump_SPropValue
2283 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
2289 Add new Display Type values (used by EMSABP provider)
2291 Change DEBUGLEVEL for RfrGetNewDSA
2293 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
2294 - mapiproxy-servers-install now installs openchange python scripts and ldif file
2298 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
2299 This structure is required for NTLM_AUTH_IS_OK macro
2301 - Add doxygen comments for all OpenChange server modules
2302 - Fix doxygen return value for exchange_nsp
2304 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
2305 - Add exchange handle enum to dcesrv_mapiproxy.h
2306 - Add authentication verifier macro to libmapiproxy.h
2307 - Add preliminary EMSABP Address Book Provider implementation:
2308 * supports initialization, destructor (talloc)
2309 * implements user and codepage check routines
2310 * retrieve NSPI server GUID
2311 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
2312 - Add internal session mechanism management to NSPI server
2313 - Add init and unbind modules function to NSPI server
2314 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
2315 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
2317 OpenChange configuration schema updated with Addressing schema
2318 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
2320 Execute server modules init function when loaded
2323 A few API documentation fixes.
2328 Add documentation for MAPIProxy 'server mode'
2333 - Implement mapiproxy server mode architecture
2334 - Add server modules management API
2335 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
2336 - Add temporary provision Makefile rule
2341 Initial text was correct - rollback
2346 Ensure that GetLastError() also returns the correct value.
2348 Start changing the MAPI_RETVAL_IF() usage to two new macros:
2349 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
2351 simple_mapi.c is the only one converted at this stage.
2353 Also added a set of unit tests that verify at least some initial
2356 Remove unreachable code.
2358 Partly resolves ticket #124
2363 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
2365 mapiproxy documentation update: 3 questions added to FAQ section
2367 Patch from Corentin Chary:
2368 - Add PR_CONTENT_FILTER_SCL property to libmapi
2370 - Update openchange to work with samba4 master git rev f308c2f
2371 - Replace reference to events.h with tevent.h
2372 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
2377 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
2378 Update openchangeclient to reflect these changes.
2383 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
2385 Fix PIC object flags for SWIG build. Patch by metze.
2390 User %u format specifier for unsigned integer.
2392 Make return value match signature.
2394 Miscellaneous minor cleanups. Mainly making return types
2395 match signatues, format conversion (%u for unsigned values) and
2396 matching up result variable types (bool instead of enum MAPISTATUS).
2398 Return an enum MAPISTATUS, instead of a bool, to match function signature.
2400 Use %u instead of %d for unsigned values.
2405 Another minor APIdox edit.
2407 API documentation tweak.
2415 More apidox triviality.
2417 Trivial APIdox edits.
2419 Supplement the user's PKG_CONFIG_PATH rather than
2423 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
2425 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
2427 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
2432 Actually use pymapi variables in Makefile.
2434 Add configure flags for building and installing Python MAPI bindings (disabled by default).
2439 Add namespace prefix to scanner.
2444 - spnego / gssapi_krb5 authentication now available for mapiprofile
2445 - add the --realm | -R option
2446 - update mapiprofile man page
2451 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
2455 Don't generate / install man3 pages for libmapi++ or mapitest.
2457 Resolves ticket #121.
2459 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
2462 Allow retrieving id and session of MAPI objects.
2464 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
2466 Add stubs for Session class.
2468 Add infrastructure for MAPI python module.
2470 Look for python and python-config binaries.
2472 Remove empty directory.
2476 Remove obsolete --properties option and related code
2481 Fix RecipientRow member's order
2486 - Update to latest samba4 git master revision (3508a66)
2487 - Fix references to samr info24 struct
2488 - Add support for assoc_group_id proxy
2489 - Add support in mapiproxy for bind/alter connections using assoc_group_id
2490 - Update mapiproxy documentation
2495 Improve building. Partially addresses #94.
2497 More work required on this as we work on the
2498 portability in the future.
2500 Expose the underlying session.
2505 Remove unused --priority option.
2507 These offsets / values can be negative, so we shouldn't
2508 use unsigned int type to represent them.
2513 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
2515 This patch first tries to forge EssDN Logon string from "o" and "ou"
2516 attributes stored in the profile. If Logon fails with ecUnknownUser,
2517 then try to open the mailbox using the mailbox attribute stored in
2523 Document the --label option.
2528 Make openchange compile and work against latest samba4 master git rev (58db2be)
2531 Remove check for unused type 'uint_t'.
2536 More tweaks on the openchangeclient man1 page.
2538 More updates for man1 page for openchangeclient.
2539 Still doesn't fully address #113.
2541 Update the openchangeclient man1 page.
2543 Partly addresses ticket #113.
2545 There is still some work to do on this.
2547 Fix a typo, and try to make the descriptions more
2553 Initial version of man1 page for mapitest
2555 Initial man1 page for exchange2ical utility.
2560 Update man1 page for openchangepfadmin
2562 Minor updates for the man pages.
2567 Fix build errors: wrong number of arguments for ocpf_propvalue
2569 Fix warnings when compiling with -Wextra
2571 Fix warnings when compiling with -Wextra
2573 Fix warnings when compiling with -Wextra
2576 Complete initializers here.
2581 Update to reflect latest state of mapiprofile.
2586 Prevent segfault when running mapitest. Looks like the we can
2587 return MAPI_E_SUCCESS even if one of the property values is
2588 MAPI_E_NOTFOUND. That error then get turned into a char*, and
2591 Also fix a possible bug relating to operator precedence, and
2592 a couple of warnings (one for signed / unsigned comparison, and
2593 the other for an unsigned value never being less than zero).
2598 Enable output to stdout.
2600 Resolves ticket #106.
2602 Thanks to raboof for the report and fix.
2607 Fix missing initialisers (issue #110).
2609 Also fix some signed/unsigned warnings.
2611 Fix problems with incorrect initialisers (#110) and
2612 operator precedence.
2614 Also fix a couple of places with signed/unsigned confusion.
2616 Partial fix for issue #110, and a couple of very minor cleanups.
2623 We probably want to return here, not do nothing.
2628 Fix empty patch function problem: add a retval
2633 Explain the boost-thread trick.
2635 Minor documentation tweaks.
2640 - remove usage of global_loadparm in libmapiadmin
2641 - make use of session context rather than global_mapi_ctx in libmapiadmin
2642 - use local context rather than mapiadmin context in libmapiadmin
2643 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
2644 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
2645 - remove global_loadparm in torture test and replace it with torture context
2646 - fix dcerpc_init to match latest samba4 API
2647 - update samba4 version required to build openchange
2650 More API documentation tweaks.
2652 More API documentation tweaks.
2654 Some API dox fixes for libmapi++.
2657 Remove unnecessary patching of lib/events/events.h.
2662 Update to a more recent Samba4.
2665 Remove some usages of deprecated global_loadparm.
2667 Cope with new argument to dcerpc_log_packet().
2672 Fix includes for DEBUG(), fix some more warnings.
2674 Use same_net_v4 rather than deprecated same_net().
2676 Fix Samba 4 git revision.
2678 Fix includes - debug.h can only be included once.
2680 Include debug header.
2682 Cope with API changes in Samba functions.
2684 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
2689 Fix OpenMsgStore binding in swig perl and fetchmail script
2694 Fix pointless const definition for GetFreeBusyYear return type
2698 - Add the IsFreeBusyConflict convenient function which checks if a
2699 given date conflicts with existing FreeBusy Busy/OOF events
2701 - Modify openchangeclient --sendappointment behavior to check whether
2702 start or end date conflicts with FreeBusy published data for the
2705 - Add the --force option to openchangeclient to override this behavior
2707 - Fix a counter bug in mapidump_freebusy_events
2709 Fix doxygen typo error
2711 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
2712 data in public folders for a given user. Note: Ambiguous name is not
2713 supported at the moment.
2715 - Add convenient FreeBusy mapidump routines
2717 - Add FreeBusy read support to openchangelient
2719 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
2720 property.c functions
2722 - Add OpenUserMailbox which let developers open other mailboxes
2723 instead of the default profile one.
2725 - Add GetABRecipientInfo: convenient function which retrieves Address
2726 Book information for a given recipient
2731 - Add libmapi implementation for DeletePropertiesNoReplicate
2732 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
2734 Fix doxygen documentation
2739 - Implement multisession into libmapi
2740 - Update openchange tools and suite to reflect these changes
2741 - Fix SRow_addprop behavior
2743 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
2744 now take a mapi_session parameter.
2747 Use my openchange.org email address.
2752 - Add a session management API for mapiproxy modules. Similar code
2753 already existed for mpm_cache module. Common functions are now
2754 available to all mapiproxy modules through libmapiproxy
2756 - replace smbd with samba in mapiproxy documentation
2758 - Cache calendar, contact, journal, note, task and drafts folders IDs
2759 when GetDefaultFolder call is performed on one of these folders and
2760 keep them until obj_store is released.
2762 - Add a reverse lookup routine which says whether a given FID belongs
2763 to a default folder and which olFolderType it is.
2765 - Remove pointless memory context in GetDefaultFolder
2766 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
2768 Restore install rule for mapi profiles ldif files in
2769 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
2770 tries to create a new mapi profile store.
2774 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
2775 - mapi_object_copy routine added to mapi_object.c
2780 Fix missing Month field in LogonTime structure
2784 propagate IDL warning fix to property.idl
2787 Add target for building python API documentation.
2791 Fix samba4 release and git revision
2793 Fix installsamba4.sh script paths
2798 Install OpenChange python modules.
2800 Check for python dir during configure.
2802 ignore generated files.
2804 Stop installing js files.
2806 Use autoconf cache prefix.
2808 Use newer version of Samba 4.
2812 Remove dcesrv_exchange.so from server Makefile rule and
2813 move mapiproxy from TOOLS to SERVER.
2815 dcesrv_exchange and providers Makefile rules are orphan, planned
2816 to be removed (with their associated code) when emsabp merge process
2817 into mapiproxy is over.
2821 Export the Binary_r structure.
2825 Use more descriptive variable names in messages example code.
2827 Add a description of messages to libmapi++ API documentation.
2829 Add messages binary to the ignore list.
2831 Add new example showing libmapi++ message handling, and
2832 associated API documentation and build system changes.
2836 Update the API documentation main page for libmapi++
2840 Add foldertree binary to the ignore list
2842 - Add missing Input parameter
2843 - Add sanity check on ppNames
2846 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
2847 - Add a NspiGetSpecialTable test for Address Creation Template
2850 Fix valgrind-reported error, per ticket #101.
2852 Make sure we clean up after mapitest runs.
2858 - Add msExchUserAccountControl attribute to extended user record
2859 - openchange_newuser can now create/enable/disable an OpenChange account
2861 Exit the test if the WriteStream operation fails
2863 Fix ncacn_ip_tcp binding string for OpenChange server object
2865 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
2867 Fix pipe function check and use ndr autogenerated defines rather than static strings
2868 Fix calls to NspiDNToMId
2871 Make sure we set the body and body format properties, to
2872 ensure that the message is shown correctly with
2873 openchangeclient -F.
2878 - Rename oc_* python scripts to openchange_*
2879 - Add Full Exchange 2003 schema (classes and attributes)
2880 - Full Exchange 2003 modified classes and attributes support
2881 - Add prefixmap OID for some Exchange classes and attributes
2882 - Add missing ADSC classes and attributes
2883 - Improve configuration LDIF file with new objects
2885 NOTE: provision.py should find a way to handle firstorg properly
2886 NOTE: oc_provision_configuration.ldif is still incomplete
2889 API documentation improvements.
2893 Add an example to the libmapi++ documentation, and
2894 the right build magic and doxygen linkage.
2896 Minor API documentation fix
2900 Add forgotten part of API documentation fixes for mapitest.
2902 Improve mapitest API documentation.
2906 Use new DeleteFolder flags to clean up folders on deletion.
2908 This doesn't completely resolve ticket #84, but it does help.
2910 Ignore API documentation.
2912 Add Doxyfile to ignore list.
2914 Add initial support for Doxygen API documentation
2919 Implement the remainder of the standard public folders.
2923 Only do header line removal at the start of the file
2924 (lines 20 through 40 seems like a good compromise).
2926 libmapi++ is C++, not C, so we should not optimise
2927 Doxygen output for C.
2931 - Update the Logon_repl IDL (0xFE) and implementation
2932 - Add new folders to the mapi_obj_store for PF folders
2933 - rename pf_finder to pf_search
2936 Suppress some more unwanted headers.
2940 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
2944 - Update the EmptyFolder IDL
2946 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
2947 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
2949 Link libmapi++ documentation to main apidocs page
2951 Update GetAttachmentTable IDL and remove the unknown field
2953 - Update DeleteFolder IDL and implementation
2954 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
2955 - Sanity checks added at the beginning of the function
2957 - Rename GetRowCount to QueryPosition
2958 - IDL, implementation, documentation and openchange code updated
2959 - ActionType enum fields prefixed with 'ActionType_'. Original
2960 values were causing conflicts while building Perl bindings with
2961 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
2963 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
2965 - Update SaveChangesMessage IDL and implementation
2966 - Add a SaveFlags parameter to SaveChangesMessage function
2967 - update openchange code to reflect this change
2970 Build fix / fix for ticket #99.
2972 Filter out some new #include lines.
2974 This needs to be applied to other modules too.
2978 Update SRow and SRowSet IDL
2980 Delete obsolete input_locale and instance_key structures
2982 Fix WStringArray_r IDL
2984 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
2985 - LPWSTR structure removed
2987 Rename SDateTimeArray to DateTimeArray_r
2989 Rename SGuidArray to FlatUIDArray_r and fix the IDL
2991 Rename MV_LONG_STRUCT to LongArray_r
2993 Rename SBinary to Binary_r
2995 - Add removal of libmapi++ Doxyfile in make distclean rule
2996 - Add Doxyfile to svn:ignore
2998 Rename SShortArray to ShortArray_r
3000 - Move from SLPSTRArray to StringArray_r
3001 - LPSTR structure removed
3003 Rename MAPIUID to FlatUID_r
3005 Fix lexer warnings during compilation (ticket #100)
3007 - Update the EcDoConnect IDL (ref. ticket #99)
3008 - Add new fields to the emsmdb info structure
3009 - Add doxygen comments to libmapi/emsmdb.c
3012 Reduce warnings when compiling with 64-bit arch.
3014 Initial checkin of infrastructure for libmapi++ API documentation.
3018 - MAJOR NSPI protocol and libmapi stack update
3019 - All NSPI protocol functions implemented
3020 - NSPI stack fully documented
3021 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
3022 - NspiDNToEph renamed to NspiDNToMId
3023 - instance_key removed from nspi_context and set as a parameter to NSPI functions
3024 - SPropertyRestriction renamed to PropertyRestriction_r
3025 - FlagList structure removed and replaced by a SPropTagArray
3026 - MAPI_SETTINGS removed and replaced by a STAT structure
3027 - new MAPI property tags added to libmapi/conf/mapi-properties
3028 - NSPI module added to mapitest
3031 Clean up on failure.
3033 Clean up on failure.
3035 Minor improvements to ensure cleanup on failure.
3037 API documentation fix
3039 API documentation fix.
3041 API documentation fix.
3043 API documentation fix.
3045 API documentation fixes.
3049 API documentation fixes.
3053 Fix EMSMDB 0xb function name
3055 - update EcRRegisterPushNotification IDL
3057 - implement complete MAPI notifications
3058 - update libmapi to reflect these changes
3059 - make openchangeclient prints a brief summary for each notification found
3060 - update ulEventMask used in openchangeclient
3064 - Rename Advise MAPI call to RegisterNotification
3065 - Update RegisterNotification IDL and implementation
3069 - Fix Restrict IDL and implementation
3070 - Add a new parameter to the Restrict function
3073 Add mapi_nameid.h to the ignore list
3075 - Replace libmapi/mapi_nameid.h with a generated mparse file
3076 - Add a mapi_nameid.h parser to mparse.pl
3077 - Add canonical names for named properties
3078 - GetProps and SetProps resolves named properties if they exist
3079 - named properties can now be set directly and make mapi_nameid API be
3081 - replace named property tags hex value with their canonimal names
3082 - replace several use of the mapi_nameid API with smaller code
3084 - Add new IDL file (property.idl) to push/pull structures from binary
3085 blobs and not directly related to any MAPI calls. Include the
3086 generated property.h file into libmapi.h
3088 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
3089 parsing) and mapidump_SPropValue
3091 - Add functions to property.c to retrieve RecurrencePattern,
3092 TimeZoneStruct and GlobalObjectId structures (see property.idl).
3094 - add a preliminary version of exchange2ical tool. This version only
3095 dumps calendar folder appointments into ICS file on standard output.
3099 - Update mapi-nameid-properties with a more complete set of properties
3100 - Add a header to mapi-nameid-properties for sanity purposes
3101 - Move named properties with PT_STRING8 type to PT_UNICODE
3102 - update openchange code to reflect these changes
3103 - Add PSETID_Attachment to mapidefs.h
3107 Add missing check on password for the create command
3109 Fix incorrect usage of realm in mapiproxy
3113 Check for provider_rpc_connection retval for RFR functions.
3115 Update Doxyfile to parse mapiproxy/modules files and
3116 include documentation on static functions.
3118 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
3119 Exchange server name with mapiproxy one.
3120 - documentation updated to reflect these changes
3121 - new FAQ question added
3122 - developer documentation improved
3124 Add the RFR mapiproxy file.
3126 - Implement RfrGetNewDSA DN replacement in mapiproxy
3127 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
3128 - update mapiproxy documentation to reflect these changes
3132 - Add implementation of the NSPI Referral protocol (exchangeRFR)
3133 - update dcesrv_exchange and mapiproxy prototypes for RFR
3134 - add references to the RFR pipe in mapiproxy
3135 - prefix NSPI client connections with a RfrGetNewDSA call
3136 - add RFR functions implementation in libmapi/IMSProvider.c
3137 - add a --getfqdn option to mapiprofile
3138 - fix a minor mapiprofile option parsing bug
3142 Fix mapiproxy dummy module unbind prototype
3144 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
3145 - EcDoRpc indent updated
3149 Get rid of initialization order warning
3153 - add unbind hook for mapiproxy
3154 - add ahead mapiproxy mode
3155 - add read ahead in cache module
3156 - add synchronization mechanism in cache module
3157 - update mapiproxy documentation to reflect these changes
3161 Temporarily comment out installation of files removed
3166 Fix arguments, paths in provision scripts.
3168 Merge python provision/newuser scripts.
3170 Simplify installation of manpages a bit.
3174 Add configure check for libboost-thread. Add libmapi++ to the build
3175 only if it is available.
3179 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
3180 - Created session::login() members.
3181 - test applications use default profile.
3185 - Import Alan Alvarez work from libmapi++ into trunk
3186 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
3188 - Add libmapi++ to the build system
3189 - Add a patch function to installsamba4.sh: rename private to
3190 private_data in samba4 events.h header file
3191 - Change #include directives so it uses <libmapi++ ... rather than
3196 - Add a statitic function monitoring streams over OpenStream and Last
3197 ReadStream operations. Monitoring stream Release is not relevant
3198 since Outlook does not close the handle directly after last
3199 ReadStream operation. Should put in evidence difference between
3200 non-cached(1st retrieval) and cached (further retrieval).
3202 - Fix a few memory leaks
3206 - Commit initial revision for the mapiproxy cache module
3207 - Update mapiproxy hook API for the dispatch routine
3208 - Introduce the mapiproxy structure for modules to control top-level
3210 - Update mapiproxy documentation to reflect these changes
3214 * Fix remaining ByteRead parameter size for ReadStream operations.
3218 * Improve/Update Open/Read/WriteStream IDLs
3219 * Fix ByteRead parameter size for ReadStream operation.
3223 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
3226 Propagate r666 changes to OpenMsgStore and fix build
3229 Minor rename of bitmap value to avoid conflict with
3230 Private as a class name.
3234 Minor change: remove old debugging string from mapitest
3236 Fix incorrect header
3238 Remove deprecated mapi_handles API
3241 Initial checkin of some uno (static checker) support
3244 There will be a script to run uno with the right options,
3245 but that requires more work.
3249 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
3250 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
3252 - Call mapi_object_release in GetDefaultFolder
3253 - Remove pointless references to mapi_object_t
3256 Fix little memory leak.
3260 Fix invalid OpenFolder calls in mapitest modules
3262 Remove references to SaveChanges in doxygen see also statement
3264 - Rename SaveChanges to SaveChangesAttachment (0x25)
3265 - Update SaveChangesAttachment IDL
3266 - Update references to SaveChanges
3268 - Fix the huge memory leak described in Ticket #91
3269 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
3274 - Add mapi_get_errstr auto-generated routine which returns the MAPI
3276 - Add print routine for MAPI retval in mapitest
3277 - Add a color mode (--color) which prints either green or red MAPISTATUS
3278 - Update mapitest modules to use these new routines
3281 Minor API documentation fix.
3287 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
3289 - Report and make consistent usage of PropertyProblem in the IDL:
3290 SetProps, DeleteProps and CopyProperties
3292 - Remove unknown field in GetProps and GetPropsAll and replace them
3293 with the correct IDL mapping.
3295 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
3297 - Minor typo fix in IMAPIProp.c
3299 Improve CreateMessage request IDL
3301 Improve OpenMessage response IDL
3303 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
3305 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
3306 IDL: make these call able to check whether the folder is ghosted or
3309 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
3311 SeekRow and SeekRowBookmark IDL improved
3313 Improve the SetColumns IDL: remove unknown fields
3317 Minor code convention fix
3319 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
3320 from segfault when invalid dcerpc response is received.
3322 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
3323 Requires investigation
3326 Implement GetIdFromLongTermId and GetLongTermIdFromId
3327 functions (ROP:0x43 and 0x44), and associated mapitest.
3329 Documentation typo fix.
3331 Change the QueryNamesFromIDs() call to match
3332 MSDN, including changing the name to QueryNamedProperties().
3334 Also implement mapitest for QueryNamedProperties(),
3335 GetNamesFromIDs() and GetIDsFromNames().
3337 Update torture test to match.
3341 - Build system update: use samba4-alpha5 release with wget method
3342 - introduce 'make samba' and 'make samba-git'
3346 Make sure we have names[] array large enough.
3348 Problem identified using default uno run.
3354 Fix a small errno bug in GetBestBody
3355 Add dump-data and debug options to exchange2mbox
3359 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
3360 - remove sed hack, modifications applied in samba4 trunk
3361 - update required samba4 git rev required
3368 Minor documentation update: remove deprecated reference to ./bin/smbpython
3370 Fix torture suite entry point name
3371 Fix torture module installation path
3373 - Add implementation for the BestBody algorithm
3374 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
3375 - Remove trailing }}\0 from lzfu code
3376 - Update openchange tools to use GetBestBody rather than
3377 the initial check on PR_MSG_EDITOR_FORMAT
3379 Add a very basic stat module for mapitest: gives a quick overview
3380 of tests which failed at the end of the report.
3382 - Defines a global stream size in mapitest.h
3383 - Decrease stream size from 0x4000 to 0x3000
3384 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
3389 Fix OC_CHECK_SAMBA_VERSION string
3391 - Move samba4_ver.sh from top dir to script
3392 - update parts of openchange relying on samba4_ver.sh
3394 Add configure check for lib Z
3397 - Temporary fix ldb.pc problem and patch ldb.pc.in
3398 - Update samba4 version to the latest revision
3399 - Add libmapiproxy to svn:ignore proplist
3402 Try a different git revision, just for now.
3406 - Update Samba4 version needed
3407 - Change entry point function from init_module to samba_init_module
3408 - update documentation
3412 Fix calls of ldb_init() as required by newer versions of Samba.
3416 Support newer versions of Samba4.
3420 Add some other standard GUIDs
3428 Use version and soversion in mapiproxy library.
3430 Make modules directory overridable.
3434 Change API as identified on devel mailing list.
3437 After some investigation into an error reported by valgrind, I'm proposing an
3438 API change for the MoveCopyMessages() function.
3440 The signature is currently
3441 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
3442 *obj_dst, mapi_id_t *message_id, bool WantCopy)
3444 The problem is the message_id array. The subtle part is that it needs to be
3445 terminated with a null mapi_id_t*, because of this:
3446 for (request.count = 0; message_id[request.count]; request.count++);
3448 That is a bit error prone - enough so to be wrong in the mapitest.
3450 Now we could just fix the mapitest and document the requirements, or we could
3451 change the signature.
3453 Two ideas for a different signature:
3454 1. We could add a uint16_t count to the signature, that says how long the
3456 2. We could use a better data structure than mapi_id_t*. I'm suggesting
3458 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
3459 mapi_object_t *obj_dst,
3460 mapi_id_array_t *message_id,
3465 Add mapitest coverage for CopyTo operations on
3466 folders and attachments, and update API docs.
3468 Also fix one place where we inadvertently used
3469 CopyProps instead of CopyTo...
3473 Typo fixes in comments.
3475 Minor documentation updates.
3477 Clean up created message for SpoolerLockMessage() test.
3481 Update samba4 version test.
3485 Make sure properties are copies into the last valid
3486 location in the extended array (i.e. count-1) not the
3489 Also, make sure we cast the data to a uint8_t for
3490 conversion to boolean.
3492 Also fix compile warning about returning integer instead
3495 We may read up to 0x1000 bytes, so ensure there is
3496 enough room to add the terminating null.
3498 Minor cleanup of the talloc context for FreeBookmark().
3500 Also change around some code to protect things a bit
3501 better against null pointer inputs.
3505 Implement a bit more mapitest for CopyTo (0x39), in
3508 Also make it clean up and report failures properly.
3512 Implement the CopyTo operation (0x39), including initial mapitest.
3513 JK previously committed the IDL for this.
3515 Also make CopyProps (0x67) use an appropriate data structure for
3516 its IDL and update implementation to match.
3520 Minor documentation updates/corrections.
3524 Introduce a default case for MAPI Restriction. In some circumstances -
3525 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
3526 property tag which value is set to 0xFF. However 0xFF doesn't match
3527 any restriction case.
3531 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
3533 - Add IDL for ReloadCachedInformation (0x10) MAPI call
3535 - Add IDL for CopyTo (0x39) MAPI call
3537 - Update the Samba4 GIT revision needed to run openchange properly
3539 - import mapiproxy project from mapiproxy branch
3540 - add custom proxypack MAPI call
3541 - remove deprecated dcesrv_exchange_remote
3544 Add missing part of mapitest for SetReadFlags
3546 This should have been part of r578.
3548 mapitest for SetReadFlags
3550 Implement SetReadFlags (operation 0x66).
3552 Also minor API docs fix.
3554 Move some test infrastructure from the oxctable.c module
3555 into the common area.
3557 Fix IDL error for SetReadFlags, and use existing flags
3558 define (MSGFLAGS_READ) instead of creating a new set.
3560 Build fix for relocation of mapiproxy/ to be under the
3561 top level directory (instead of under the utils/
3566 merge from mapiproxy branch:
3567 * ndr_push Logon_req manually
3569 merge from mapiproxy branch:
3570 * Add IDL and server boiler template for EcDoConnectEx (0xA)
3573 * Fix ndr_push_mapi_response code in ndr_mapi.c
3575 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
3576 ndr_mapi.c. Handles special Notify and Pending cases
3578 * Handle op_MAPI_Pending case properly in
3579 ndr_pull_EcDoRpc_MAPI_REPL
3581 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
3582 DATA_BLOB if there is no RowCount
3584 merge from mapiproxy branch:
3585 * Fix GetReceiveFolder [out] IDL
3586 * Fix some naming convention typo
3588 merge from mapiproxy branch:
3589 * Fix SetMessagReadFlag [out] IDL
3591 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
3592 perfect, but it will prevent mapiproxy from ndr_pull error while
3593 setting message read flag on public folders messages.
3595 merge from mapiproxy branch:
3596 * Fix CreateMessage [out] IDL
3598 merge from mapiproxy branch:
3599 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
3600 * rewrite OpenMessage [in] IDL and report changes in
3601 libmapi/IStoreFolder.c
3603 merge from mapiproxy branch:
3604 * Add IDL for Pending (0x6e) MAPI call
3605 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
3607 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
3609 merge from mapiproxy branch:
3610 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
3612 merge from mapiproxy branch:
3613 * Add IDL for SyncGetTransferState (0x82) MAPI call
3615 merge from mapiproxy branch:
3616 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
3618 Note: This IDL is temporary and should be improved after completion of
3619 the merging process.
3621 merge from mapiproxy branch:
3622 * Add IDL for SyncOpenCollector (0x7e) MAPI call
3624 merge from mapiproxy branch:
3625 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
3627 merge from mapiproxy branch:
3628 * Add IDL for SyncImportMessageMove (0x78) MAPI call
3630 merge from mapiproxy branch:
3631 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
3632 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
3633 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
3635 merge from mapiproxy branch:
3636 * Add IDL for SyncImportDeletes (0x74) MAPI call
3638 merge from mapiproxy branch:
3639 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
3641 merge from mapiproxy branch:
3642 * Add IDL for SyncImportMessageChange (0x72) MAPI call
3644 merge from mapiproxy branch:
3645 * Add IDL for SyncConfigure (0x70) MAPI call
3647 merge from mapiproxy branch:
3648 * Add IDL for RegisterOptions (0x6f) MAPI call
3650 Note: This call is undocumented in Microsoft documentation, but MSDN
3651 RegisterOptions function generates this call on the wire.
3653 merge from mapiproxy branch:
3654 * Add IDL for Progress (0x50) MAPI call
3656 merge from mapiproxy branch:
3657 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
3659 merge from mapiproxy branch:
3660 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
3661 * Add IDL for GetPerUserGuid (0x61) MAPI call
3662 * Add IDL for ReadPerUserInformation (0x63) MAPI call
3664 merge from mapiproxy branch:
3665 * Add IDL for LongTermIdFromId (0x43) MAPI call
3666 * Add IDL for IdFromLongTermId (0x44) MAPI call
3668 merge from mapiproxy branch:
3669 * Add IDL for ModifyRules (0x41) MAPI call
3671 merge from mapiproxy branch:
3672 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
3674 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
3676 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
3677 work around the no-pointer deep recursion pb and remove
3678 existing nopull,nopush,noprint code from ndr_mapi.c
3680 * Fix mapi_SComment_Restriction IDL
3683 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
3684 - use mapi_LPWSTR for PT_MV_UNICODE
3685 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
3686 change its field names.
3688 - Fix emsmdb version
3689 - Change MAPI opnum enum identation -- Helps to fine down merging from
3695 Minor API documentation fixes.
3697 Update label to reflect SetReadFlags -> SetMessageReadFlag
3700 This should have been part of r529 - missed it.
3704 merging from mapiproxy branch:
3705 - Fix MV_UNICODE_STRUCT and unicode strings
3706 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
3707 mapi_LPWSTR for exchange_emsmdb
3708 - Add the NspiGetTemplateInfo IDL
3709 - Fix the NspiUpdateStat IDL
3711 Fix build: SetMessageReadFlag function name was not propagated in the
3715 Initial merge of changes for rename of SetReadFlags to
3716 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
3719 Use private_data instead of private, for C++ happiness.
3721 Minor cleanup. Using "try" confuses my c++ compiler...
3723 This is really part of r525. It moved to IMAPITable.c
3725 Update the table operations:
3726 - implement ExpandRow and CollapseRow
3727 - implement GetCollapseState and SetCollapseState
3728 - add mapitest coverage for the above, plus the Restrict call
3729 - implement ResetTable
3730 - implement FreeBookmark
3731 - add mapitest coverage for SRowSet parsing code
3733 - various API documentation bits
3736 Use right directory for samba4_ver.sh script.
3738 Use common location for Samba 4 git revision.
3742 Use PT_ERROR where appropriate.
3744 Update the SRowSet parser, fixing breakage I introduced.
3748 Update examples to reflect recent API changes.
3751 Don't rely on absolute file paths since the distribution may be installing
3754 make scripts executable.
3758 Avoid segfaulting if you ask for a specific test or tests and
3759 forgot to start the server.
3762 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
3763 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
3764 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
3765 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
3766 #############################[mapitest report]#################################
3767 [*] Date : Sun May 25 11:45:29 2008
3768 [*] Confidential mode : [no]
3769 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
3770 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
3772 [*] System Information :
3774 Kernel release : 2.6.23.17-88.fc7
3776 ###############################################################################
3780 [TEST] NOSERVER-LZFU
3781 ------------------------------------------------------------------------
3782 * uncompress_rtf2 : 0x00000000
3783 * uncompress_rtf2 : PASSED
3784 ------------------------------------------------------------------------
3785 [RESULT] NOSERVER-LZFU: [SUCCESS]
3786 ========================================================================
3788 [*] OXCTABLE-RESTRICT
3789 Server is offline, skipping test: "OXCTABLE-RESTRICT"
3790 [*] OXCTABLE-CATEGORY
3791 Server is offline, skipping test: "OXCTABLE-CATEGORY"
3795 ignores objects that contain invalid handlers in mapi_object_release().
3797 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
3801 Fix API documentation to match signature.
3805 Update QueryRows IDL and implementation to match
3808 The main work here is reworking the SRowSet parsing
3813 Typo fix - allow cleanup to work properly.
3817 Make sure it has a return value.
3821 Rename GetColumns remote operation to GetColumnsAll, and
3822 fix up IDL and implementation to match.
3824 Add some more unit test coverage, and pretty-up the
3827 Fix up breakage introduced in r493.
3830 Make sure nagios directory gets created if it didn't exist yet.
3834 Refactor the unit tests.
3836 Extract out the setup and some of the cleanup code.
3840 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
3841 - Use event_context structure
3842 - update installsamba4.sh script to revert to this revision.
3843 - update torture modulesdir reference
3846 Look a little bit harder for the Samba installation.
3850 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
3851 - Add OXCFXICS mapitest module
3855 - Fix "the very secret" openchange coding style
3856 - Add Copyright for our humble new libmapi developer ;-)
3859 Implement the CopyProperties operation, including
3860 a mapitest for this.
3864 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
3865 code maybe needs some review regarding memory.
3867 - Add the GetTransportFolder MAPI call (IDL + implementation +
3870 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
3872 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
3874 - Add GetRulesTable (IDL + implementation + mapitest)
3875 - Add the OXORULE mapitest suite
3881 Make sure config.mk is the last file removed during distclean.
3885 - Add the Abort MAPI call (IDL + implementation)
3887 OpenChange doesn't support yet asynchronous operation which explains
3888 why no associated mapitest test has been implemented. This should be
3891 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
3892 - Fix some typo in mapitest doxygen
3894 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
3895 - Fix some doxygen stuff
3896 - add a common function within mapitest which looks for a folder name
3897 within a container and return the opened folder object on success.
3899 Add auto-generated Doxyfile to the svn ignore list
3901 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
3903 - Uninitialize MAPI and general memory context at the end of mapitest
3906 Clean up / flush the stream after use.
3908 Saves a bit more "still reachable" in valgrind too.
3912 - Rename CopyMessages to MoveCopyMessages
3913 - Improve IDL + implementation and mapitest added
3916 Make sure the version shown for mapitest documentation
3917 is automatically set to match the package version.
3919 complete the rest of the API documentation autonumbering.
3922 Remove duplicate use of $(SHLIBEXT).
3924 Avoid parallel builds for now.
3928 Fix GetContentsTable binding in perl swig
3930 - Improve the GetHierarchyTable and GetContentsTable IDL and public
3931 IDL implementation (new parameters in,out)
3934 Initial part of automatic list numbering for doxygen comments.
3936 This doesn't work correctly with the current apidocs.css, which
3937 turns the list numbers into bullet points for reasons I don't
3942 - Improve the DeleteMessages IDL request
3944 - Update libmapi version from 0.7 to 0.8
3946 - Public API change for the GetReceiveFolder function; now takes a
3947 message class as 3rd parameter.
3949 - Improve GetSearchCriteria request IDL (unknown removed)
3950 - update libmapi copyright headers 2007 -> 2007-2008.
3952 - Improve the SubmitMessage IDL
3953 - minor indentation fixed in IMessage.c
3955 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
3957 - Add SeekStream MAPI call (IDL + implementation + mapitest)
3958 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
3960 - Add CommitStream MAPI call (IDL + implementation + mapitest)
3961 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
3962 - refactor the stream test to include all stream related operations
3963 - add a common function which generates a random ASCII blob of data
3966 Add doxygen support for the mapitest examples.
3969 Allow cleaning individual parts.
3973 - Add GetStatus call (IDL + implementation + mapitest)
3975 - Fix format string problem in mapitest headers
3977 Run offline suites by default.
3979 - Introduce the online/offline mode for suite
3980 - Fix Exchange headers print bug when server is offline
3981 - reset errno to 0 before running new test
3984 Install the libmapiadmin.h header.
3986 Fix a compile-time warning on amd64, for the second
3987 argument to the getline() call - incompatible pointer
3990 I'm assuming that size_t is equivalent to uint32_t
3991 on a 32-bit architecture, but not on a 64-bit arch.
3993 A quick test showed no difference in actual output.
3996 Remove bashisms in installsamba4.sh
4000 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
4001 - Improve some ModifyRecipients and Recipients structure naming
4005 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
4007 - Add OpenPublicFolderByName call added (IDL and implementation).
4009 - Note: the reply IDL doesn't handle Server and ServerCount yet.
4011 - Note: this call only refers to NNTP folders (e.g: folders located
4012 within "Internet Newsgroups". If developers use this call within "All
4013 Public Folders", then the call with return MAPI_E_NOT_FOUND.
4015 - Call not added to mapitest cause it require RightsAuthor permissions
4016 on Internet Newsgroups which is not the case by default.
4018 - dump-data and debug options added to mapitest
4019 - FOLDER suite renamed to OXCFOLD (naming convention)
4021 Rename module folder to oxcfold
4023 Replace the existing mapitest tool with a new implementation. It is
4024 less complete but more modular.
4027 Add proto headers to ignore file.
4031 OpenFolder request: replace unknown field with OpenModeFlags
4033 - Rename 0xFE opnum from OpenMsgStore to Logon
4034 - Update the Logon request IDL
4037 Add BEGIN_DECLS for private_proto.h.
4039 Add forgotten part of rev435.
4041 Add unit test framework for compressed RTF decoding.
4043 Refactor lzfu.c to improve testability.
4047 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
4048 to some incorrect sanity check tests.
4050 - Remove deprecated fuzzer_msgstore torture test
4051 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
4055 A couple of minor fixes to make it read better.
4058 properly clean up sofiles
4060 Import exchange nagios check script by Bill Edmunds.
4062 Add support for creating libocpf soname symlink.
4064 Use standard include for uint64_t definition.
4066 Cleanup talloc and tdb before building samba4.
4070 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
4072 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
4073 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
4075 Add reference to the ocpf lib within the pc file.
4079 Remove duplicate SWIG instructions (already covered by stdint.i).
4081 Ignore files created by swig.
4083 Use config.mk in swig/perl/Makefile.
4085 Allow sambaprefix and prefix to be different. Allow building with unknown
4086 Samba git revisions (will still warn though).
4088 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
4092 Add domain to the mapiprofile dump output.
4094 Fix OpenMessage IDL and GetRecipientTable fetched data
4096 -This line, and those below, will be ignored--
4099 M trunk/exchange.idl
4100 M trunk/libmapi/IStoreFolder.c
4101 M trunk/libmapi/emsmdb.c
4102 M trunk/libmapi/IMessage.c
4106 Fix typo, change samba-config -> samba-hostconfig.
4110 - Add openchangepfadmin to make install
4111 - Add openchangemapidump and locale_codepage to make clean
4115 Merge the samba4-latest branch.
4119 Revert so version number to 0.7
4121 Fix Perl bindings: update mapidump_message
4123 ** Start libmapi-0.8 ROMULUS development **
4125 Add ChangeLog and apidocs to the releases
4127 - Delete unmaintained regression suite
4128 - Fix typo error in torture-clean rule
4130 Add modified release script originally from abartlett/samba4
4132 - Check for specific Samba4 git revision in configure.ac
4133 - Prefix locale functions with lcid and make them _PUBLIC_
4136 API documentation update.
4143 Add installation script for samba4
4145 - Apply the nspi pointer patch - make openchange works with
4146 samba4-alpha3 git 41309dc
4151 Move the top level API documentation to an "overview"
4152 section and add a redirect to that overview.
4154 This keeps the doxygen output more nicely separated for
4157 Also, generate the man pages where the install expects
4162 - Fix strsep bug in openchangeclient
4163 - Add RECIPIENT support to libocpf
4165 - escape/unescape strings support added
4166 - PT_MV_STRING8 type added to OCPF write API
4170 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
4171 (based upon patch from lofi@mountproc.org)
4172 - makes the workstation parameter of mapiprofile optional (use
4173 gethostname if not defined by the user on command line)
4175 - Fix an allocation memory problem in cast_SPropValue
4176 - update svn:ignore proplist
4180 Update the documentation build so it keeps generating an embedded
4181 website in with apidocs/html as root directory.
4183 - Add support for PT_UNICODE and PT_SHORT to libocpf
4184 - Initial implementation of the libocpf write API
4185 - Update libocpf documentation
4186 - add --ocpf-dump option in openchangeclient
4187 - Fix realdistclean rules for server
4188 - add cast_SPropValue function to libmapi/property.c which cast
4189 mapi_SPropValue to SPropValue
4192 Split API documentation into two separate sections - one
4193 for libmapi and one for libocpf.
4195 Also add in a top level intro page.
4199 New build system which gathers a list of things that can be built with
4200 the libraries/utilities the user has installed and build that when
4205 Add missing allocation for OLEGUID
4207 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
4208 makes ocpf-syntax "exclusive" (quit after performing the operation).
4211 r371 was bad. What was I thinking with that nonsense!
4213 Revert to something sane.
4215 Make the ./bin/ directory if it doesn't exist.
4217 This should resolve ticket #33.
4221 Improve language handling when creating profiles.
4223 You can now get a list of valid languages and use either
4224 the language code ID or the language name to specify what
4225 language later versions of Exchange should reply with.
4227 Typo fix - duplicate ; at the end of the structure.
4229 Match format to unsigned int argument.
4231 Make the format specifier match the unsigned argument.
4235 propset svn:ignore update
4237 Update propset svn:ignore on doc/examples and libocpf targets
4239 - Fix ticket #29: http://trac.openchange.org/ticket/29
4241 - use access(2) to see if the database already exists
4242 - test if the profile already exists prior trying to add it
4243 - add descriptive error messages
4244 - catch CTRL-C signal and run a profile deletion routine
4247 Update API documentation for ocpf_nproperty_add().
4253 Fix mapidump_message call parameters
4257 Add fid/mid parameters to mapidump_message and changed
4258 openchangeclient_fetchitems to reflect these changes.
4260 Patch from Brad Hards <bradh@frogmouth.net>:
4261 updates the OCPF doxygen file.
4263 Patch from Brad Hards <bradh@frogmouth.net>:
4264 adds the doc/examples into the build system and enables make examples.
4266 Patch From Brad Hards, <bradh@frogmouth.net>:
4267 API documentation update and minor fix for the error value change.
4275 - Add PT_BINARY property support to OCP
4276 - Add stream support to OCPF for large PT_BINARY blobs.
4277 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
4282 - Prevent from assigning a value which type doesn't match with
4284 - Add missing substitution variable support for some named properties
4286 - Improve sample_appointment.ocpf example
4287 - Add PT_MV_STRING8 keyword to the list of supported property type
4292 Improve OCPF PT_MV_STRING8 support.
4294 - Initial revision for libocpf and its documentation
4295 - YACC support added to the build system
4296 - custom lid and string support in mapi_nameid
4297 - lookup functions added for OOM, lid and string
4298 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
4300 - PR_FID displayed in openchangeclient --mailbox
4301 - PT_MV_STRING8 support added to cast_mapi_SPropValue
4305 Patch from Brad Hards <bradh@frogmouth.net>:
4306 updates code to build with current API
4308 Patch from Brad Hards <bradh@frogmouth.net>:
4309 little update for some API dox
4313 - Add --update option to openchangeclient and allow users to modify
4314 existing messages (calendar, task, contact, note)
4315 - Add --delete option to openchangeclient and allow users to delete
4316 existing messages (calendar, task, contact, note)
4317 - Add some folder/message unique ID to mapidump outputs and send*
4318 openchangeclient functions.
4319 - Fix a bug in set_SPropValue: add sanity check on unicode
4320 string. Thanks to Suman Manjunath for this patch.
4321 - Fix mapidump_task function and identifiers of named properties used.
4325 Fix missing sanity check on priority
4327 Fix a bug in openchangeclient when tasks are created without body
4329 private flag added to openchangeclient appointments
4331 Fix folder IDs problem for Exchange 2007 SP1
4335 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
4339 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
4340 GetRecipientTable. We were extending SPropTagArray prior calling
4341 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
4342 and erroneous data to be inserted in the SRow.
4344 - Fix libmapi/socket/interface.c:
4345 - Use the latest version from Samba4 which removes reference to
4347 - Moves struct interface declaration to netif.h
4348 - Report changes to emsmdb.c notification functions.
4350 - Change GetGALTable prototype to match general libmapi policy. Remove
4351 the usage of bool and replace it with uint8_t. Possible values added
4356 - Improve NspiQueryRows IDL and implementation
4357 - Add GetGALTable implementation: fetch all the Global Address List
4359 - Add --userlist option to openchangeclient
4360 - Add a convenient and basic dumping function for Global Address List
4363 - Improve OpenMessage reply IDL
4364 - Fetch mapi recipients from OpenMessage reply
4365 - Add GetRecipientTable convenient function
4366 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
4367 GetRecipientTable implementation.
4368 - Add convenient SPropTagArray_add function
4369 - Add internal emsmdb_get_SRow routine
4373 Patch from Suman Manjunath <msuman@novell.com>:
4375 - Adds named-properties which define recurrence patterns for
4376 appointment and task.
4377 - Adds named properties for appointment timezone
4379 - Fix the SNotRestriction IDL and write custom push,pull,print
4381 - Add 2 new MAPI calls to the IDL:
4382 * GetSearchCriteria,
4384 - add sample {Get,Set}SearchCriteria torture test
4385 - add convenient mapi_id_array implementation
4386 - add GetDefaultFolder support for CommonView and Finder folders
4390 Make sure directory exists.
4394 - Fix tiny 'nail down samba4 version' bug
4395 - update the minimal Samba4 required version
4397 - Add FindRow call to the IDL
4398 - Improve mapi_Restriction support
4399 - Remove deprecated ndr_print_QueryRows function
4400 - Add a print function for fuzzyLevel
4401 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
4403 - Add couple of new MAPI tags to mapi-properties
4404 - change initial bookmark index to 3
4408 - Add 2 new MAPI calls to the IDL and mapitest:
4410 * GetReceiveFolderTable
4412 - Fix a bug in the SortTable test when no messages are returned by
4415 - Add SeekRowApprox to the IDL and mapitest
4416 - Fix some doxygen typo
4418 - New calls added to the IDL, torture suite and mapitest:
4421 - Internal mapi_object_bookmark_t implementation added to
4423 - SBinary_short default ndr_print function changed to custom
4427 Temporary fixes unexpected segfault in SortTable test. Emails sent
4428 during the Submit test have sometimes not yet been dispatched when the
4429 SortTable test begins. This fix adds a sleep(1) and an arbitrary
4430 number of attempts (5).
4432 Add 2 new MAPI calls to the IDL and libmapi:
4436 Tests for SortTable added to mapitest and the torture suite
4437 Test for AddressTypes added to mapitest.
4441 Fix perl bindings and fetchmail test
4443 2 new MAPI call added to the IDL and mapitest:
4449 - Add DeleteAttach MAPI call
4450 - Add new mapi unit tests:
4454 * GetAttachmentTable
4456 - Update mapitest README
4457 - Add some convenient functions to mapitest_common.c
4461 Add a preliminary draft of the mapitest standalone MAPI test suite.
4467 - Fix the build with the latest Samba4 version.
4469 - Add a basic libmapi/version.h auto-generated
4470 file (based on Samba4 one)
4471 - Remove some warnings when compiling the utf8
4473 - Add a emsmdb_info structure to fetch some
4474 information from the Exchange server
4476 WARNING: Please note that EMSABP is definitely broken and
4477 requires a review and update.
4480 DESTDIR should never get into any source files, that would defeat its purpose.
4484 Fix the torture suite.
4488 provide extra required argument.
4490 Store a loadparm context in the global mapi context.
4492 Deal with samba version.h's that don't contain the Subversion revision.
4496 Use SWIG-provided typemaps for stdint.
4500 Fix Content-Type field in exchange2mbox
4501 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
4505 - Improve the CreateMessage IDL
4506 - Add new parameters to IMAPIFolder CreateMessage libmapi function
4507 - Add --mkdir --rmdir options to openchangeclient
4508 - Update the CreateFolder API and openchangeclient documentation
4509 - Fix CreateFolder calls in openchange tools and torture suite
4510 - Fix gendb_search warning
4514 Add new PSETID_Address named properties
4516 Fix a few code convention typos
4518 Patch from Suman Manjunath <msuman@novell.com> applied:
4519 converts a 'struct timeval' to 'NTTIME'.
4520 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
4524 update Samba4 first revision to 26100
4527 Cope with ndr updates.
4531 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
4535 Fix profile creation in a clustered Exchange 2007 environment.
4539 Fix QueryColumns req size.
4543 ** Start libmapi-0.7 PHASER development **
4545 add --dump-data option to mapiprofile for debugging purpose
4549 openchangepfadmin (1) man page added
4551 Store messageID in the object when SaveChangesMessage is called
4553 Nail down Samba4 version for libmapi-0.6
4557 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
4558 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
4559 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
4560 - Fix a typo bug in openchangeclient body help string
4562 Update doxygen section
4566 - Add doxygen man (3) pages to installman and uninstallman rules
4567 - do not run doxygen if apidocs already exists
4571 Move documentation to doxygen
4575 Add convenient date related functions for implementors:
4576 returns a timeval struct matching a PT_SYSTIME property
4577 for improved date manipulation in 3rd party softwares
4581 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
4583 Fix make realdistclean when swig perl is enabled
4585 Fix swig perl bindins compilation: move *.o to *.po
4587 use talloc_memdup to copy const data in the body DATA_BLOB
4588 Should only provide valid pointer to talloc_free
4592 Fix the DeleteMessages [out] IDL.
4594 The remaining bytes were not part of DeleteMessages but
4595 MAPI notification (0x2a)
4599 - Add RTF support in exchange2mbox
4600 - Use openchange-tools public functions
4601 - Replace GetPropsAll calls with GetProps
4604 * Use GetProps rather than GetPropsAll for message dump
4605 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
4606 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
4608 -This line, and those below, will be ignored--
4611 A trunk/utils/openchange-tools.c
4612 M trunk/utils/openchangeclient.c
4613 M trunk/utils/openchange-tools.h
4614 M trunk/utils/openchangeclient.h
4615 M trunk/libmapi/mapidefs.h
4623 Remove useless svn:ignore
4626 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
4628 Original lzfu decompress routine fetched from libpst-0.5.2
4630 make enum MAPISTATUS variables naming uniform in libmapi
4634 Add PT_CLSID case to get_SPropValue_data
4636 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
4638 Patch from Brad Hards <bradh@frogmouth.net>:
4639 Fix compilation for x86_64 platforms.
4643 More svn:ignore updates
4645 Update of svn:ignore
4649 added the IDL license
4651 Convert OpenChange to GPLv3
4653 - Add .po files to make clean
4654 - Fix a couple of warnings in the utf8 conversion lexer
4655 - Prefer long filenames to truncated one for attachments in openchangeclient
4659 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
4661 Add PT_CLSID and PT_MV_CLSID support to the IDL
4663 - Add new named properties
4664 - Convenient function for MNID_STRING props lookup added
4667 Make .po a recognized suffix.
4671 Use -fPIC for library objects.
4675 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
4676 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
4678 - add mapi_nameid convenient interface and headers
4679 - mapi-named-properties populated, parser added to mparse.pl, file
4680 added to the build system
4682 - remove any incorrect reference to named properties in openchange
4685 - remove deprecated libmapi/mapi.h file
4686 - remove unused ulFlag parameter from IProfAdmin functions
4687 - remove unused memory context from libmapi/x500.c
4689 - support sendnote operation in openchangeclient
4690 - optimize check/list oc_element functions in openchangeclient
4692 - update swig interface
4696 - New MAPI calls: Named properties support
4699 * GetAllNamesFromIDs
4701 - Modified MAPI calls:
4704 These calls now have more granularity in libmapi with flags support
4706 - sample mapi-named-properties file introduced in libmapi/conf
4708 - Torture test suite:
4709 * suite temporary fixed (import torture_rpc_* functions from
4711 * torture_namedprops test added
4713 - SWIG Perl bindings fixed according to changes described above
4714 - minor improvements in libmapi/mapidump.c
4718 - Decrease MAX_READ_SIZE to 0x1000
4719 - Clean-up Read/WritreStream related code
4720 - add dump-data option to openchangepfadmin (debugging purpose)
4725 - remove reference to core/nterr.h
4726 - add global_loadparm reference where missing
4727 - add reference to core/error.h where needed
4730 Improve output during build.
4734 Pass loadparm contexts, should fix the build with newer Samba revisions.
4738 - WriteStream API changed: now returns the number of bytes written
4739 - WriteStream man page updated
4740 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
4741 - Set open mode to 0600 when attachments are stored on the filesystem
4746 Fix preliminary Perl bindings so it works with Samba4 alpha2
4747 and latest libmapi revision.
4749 Patch from Andrew Gaylard <ag@computer.org>:
4751 - When calling openchangeclient with the --dump-data switch, it will
4752 dump core, since the global_mapi_ctx pointer isn't initialised yet.
4753 The fix is to wait until it's set before accessing it.
4755 Patch from Andrew Gaylard <ag@computer.org>:
4756 - Leaving any blank lines before .TH directives appears to cause a blank page
4757 to be output when converting man pages to DVI files (which is a step to converting
4758 them to PDF). The following patch remove the blank line above the .TH in each man page file.
4760 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
4765 - Add objectClass to the object: container, message or attachment
4766 - Rename content to message in openchangebackup functions
4767 - add objectClass parameter to ocb_record_init
4771 - Move debug options to their correct location (after MAPIInitialize)
4772 - Improve code related to LDB transactions
4773 - Add convenient error checking macros
4777 - Add preliminary openchangemapidump draft
4778 - Fix lp_parm_* 1st parameter in the torture suite
4779 - New functions in property.c for MAPI data retrieval
4783 Use configure definition for mandir.
4787 Activate debugs this time
4789 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
4791 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
4793 Add error check for samr call.
4794 set errno with MAPI_RETVAL_IF.
4798 Make required packaged more clear (LinuxMagazin input)
4802 Remove invalid comment.
4806 - Clean-up function prototypes
4807 - Dump email when NEWMAIL notification is received
4811 Proper dependencies.
4813 Don't regenerate proto headers unless necessary.
4817 Use install for installing files/directories.
4819 Actually use replacement variable for libmagic.
4823 Remove forgotten BOOL
4825 Remove mapi_session pointer in mapi_objects
4826 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
4830 Prevent users from creation of *undeletable* folders in Outlook and
4831 perform sanity check on dirclass + display possible values.
4833 Provides a way to modify Default and Anonymous permissions for a given folder.
4835 Fix errno in getdir function + add sanity check on opt_rmdir
4837 - Fix a memory related bug in mapiadmin_add_user
4838 - Add latest howto.txt modifications from Dan
4840 - Fix bug in *UserPermission function: return when user is not found
4841 - Add sanity checks to mapi_object API functions
4842 - mapi_object_release reset errno to 0: need to release object
4843 after displaying the potential error message.
4845 Fix a mapidump_appointment bug
4846 Add PF folder support to fetch-items operation
4850 openchangeclient now support send/read/delete operation on custom PF directories.
4852 - Add libmapiadmin library draft: Add/Remove Exchange user
4853 - openchangepfadmin tool added: Public Folders management
4854 - Add Sanity check to CreateFolder
4859 Fix last references to BOOL, True and False.
4861 Fix more references to BOOL, False and True.
4863 Use standard type and values for booleans since Samba no longer exports
4864 BOOL, True and False.
4868 - Add OpenPublicFolder function to libmapi, Open Public Folder store
4869 - change torture suite API to match latest Samba4 pidl changes
4870 - utf8_convert regexp improved
4871 - minor changes: printf to DEBUG
4872 - howto.txt patch from Dan included
4873 - Samba4 torture code related to user account creation included in the
4878 Fix segmentation fault when running update prior populating the database.
4882 Remove obsolete file from the torture suite
4884 - Add Exchange Administration test to the torture suite: Create Exchange user
4886 Dan update on howto.txt
4890 - Add Exchange ACLs support to MAPI library
4891 - Add 2 new MAPI opnum: GetTable and ModifyTable
4892 - Improve mapidump functions
4896 - Improve aclocal check in autogen.sh
4897 - Fix flex binary detection in configure.ac
4905 Create libmapi.so symlink
4909 Fix mandir installation path
4910 Add ldconfig intructions to openchange installation documentation
4916 RES_AND and RES_OR preliminary implementation.
4920 - doc patch from Brad Hards
4921 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
4922 - fix a warning in property.c
4926 Add some 'const' (fixes compile warnings).
4928 Use sonames (required for the Debian packages).
4930 Add .bzrignore file.
4932 Update version number and use globally defined version number in libmapi.pc.
4936 - Add IDL implementation for restrictions Content, Property,
4937 CompareProps, Bitmask, Size, Exist.
4938 - Add Restrict MAPI call handling the restrictions above
4939 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
4940 - convenient sendmail function added to mapi_common.c
4941 - get property size function for mapi_SPropValue added to property.c
4943 test --This line, and those below, will be ignored--
4947 M torture/openchange.c
4948 A torture/mapi_restrictions.c
4949 M torture/mapi_common.c
4950 M libmapi/property.c
4951 M libmapi/IMAPITable.c
4955 Documentation update: Perl bindings installation
4959 - Add mapitags and mapicode support to Perl SWIG bindings
4960 - SPropTagArray support
4961 - SRowSet preliminary support
4962 - new constructor/destructor for mapi objects
4966 - IProfAdmin patch applied: having password outside of the profile
4968 - Perl bindings draft added to the trunk and to the build system:
4969 --enable-swig-perl=yes
4971 - datarootdir fixed in libmapi.pc.in
4975 - Add CopyMessages IDL and COPYMAIL torture implementation
4976 - Fix man page install dir according to latest Samba4 changes
4977 - Add datarootdir var to libmapi.pc.in and fix configure warning
4981 convenient function which retrieve a value from a SPropValue array
4982 given its property tag name, otherwise NULL
4986 Patch from Brad Hards <bradh@frogmouth.net>:
4987 openchangeclient man page updated
4989 - Add Windows UTF8 to classic UTF8 conversion through a lexer
4990 - openchangeclient --mailbox option changed to use it
4991 - flex and bison support added to configure.ac
4992 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
4996 - features added to openchangeclient:
4997 * --send-appointment
5001 - openchangeclient man page updated
5002 - new properties added to mapi-properties
5004 - Add man pages for simple_mapi.c functions:
5006 * GetFolderItemsCount
5008 - Remove deprecated functions from IMsgStore.c
5009 - Update man pages documentation
5011 Fix install rule in Makefile: add missing headers
5012 Move callback retval from uint32_t to int
5014 Fix notification callback retval
5016 - Advise opnum added to the IDL
5017 - Parts of the Notify response IDL implementation
5018 - Add Notification support to libmapi
5019 - Add --notifications option to openchangeclient
5023 Patch from Brad Hards <bradh@frogmouth.net>:
5024 - PR_BUSINESS_FAX_NUMBER
5025 - improves the information provided on a contact by
5030 - Fix the release call in,out
5031 - Call Release from mapi_release_object
5032 - Add sanity check to OpenMsgStore
5033 - clean up parts of the mapi_newmail test
5035 EcDoDisconnect code now sounds to work properly
5036 Tested against Exchange 2000 / Exchange 2003
5038 - Fix SpropValue property pull problem when GetProps layout is set
5039 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
5040 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
5041 - Add debuglevel and dumpdata options support to openchangeclient
5045 - Remove useless memory allocation in mapidump.c
5046 - Improve mapidump_appointment
5047 - Add sample mapidump_note
5048 - Add --fetchitems option to openchangeclient:
5049 This command offers an easy way to fetch calendar, contacts,
5050 tasks, notes and mails from the Exchange server.
5051 - Add IPF container class defines to mapidefs.h
5052 - Add and Fix property tags
5056 - Commit the EcDoRpc max_data patch proposed on the devel list
5057 - Clean up folders related functions from the torture suite
5058 (GetDefaultFolder makes this code obsolete)
5062 Add the --mailbox option to openchangeclient which recursively
5063 lists the full mailbox folder hierarchy
5065 - Add PT_SYSTTIME support to get_SPropValue_data
5066 - Add mapidump_SPropValue_date dumping function
5067 - Add PT_SYSTIME support to mapidump_SPropValue
5069 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
5072 - Add GetDefaultFolder implementation to simple_mapi.c. This function
5073 provides a convenient way to retrieve default folders ID. const
5074 olFolder values are stored in libmapi/mapidefs.h
5076 - Modify the torture test suite to reflect these changes.
5078 - OpenMsgStore now decodes all the fid returned in the response
5080 - fix a bug size in libmapi/property.c
5084 - Fix SMTP recipient in libmapi
5085 - Add SMTP recipient support to openchangeclient
5086 and the torture test suite
5087 - Fix a bug in SRow_addprop
5091 - OpenMessage IDL changed: we have a permission field.
5092 It is now set by default to 0x3 (read/write) until we
5093 change OpenMessage prototype.
5095 - Add a sanity check to MAPIInitialize when no profdb
5100 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
5102 - SetReadFlags IDL and implementation added to libmapi
5103 - Warning fixed in emsabp.h
5105 Fix a bug in openchangeclient when attachments are using
5106 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
5107 attachment filename.
5109 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
5110 private structure member to private_data for C++ compatibility.
5112 Add libmapi/simple_mapi.c designed to hold convenient
5113 functions for application development.
5115 - GetFolderItemsCount added which returns the number of
5116 total and unread messages for a given folder.
5120 - Fix a body openchangeclient bug which now prevent openchangeclient
5121 from segfault when no body is specified.
5122 - Add GetDefaultProfile call to exchange2mbox for the default
5124 - Improve fuzzer_msgtore output
5128 Add a fuzzer torture test on OpenMsgStore which
5129 test all the possible max_data value.
5131 Should help to understand if libmapi fails because
5136 exchange2mbox improved:
5137 - tdb dependency removed
5138 - message-id are now stored in the profile database
5139 - it now mirrors deletion operation from the mbox file back to the
5141 - man page updated to reflect these changes
5143 - GetProfileAttr function prototype modified. It now returns the
5144 results count for the given attribute and store values in a string
5146 - GetProfileAttr man page updated to reflect these changes
5147 - Fix mapiprofile attribute search command
5148 - migrate from open/write calls to stream ones in exchange2mbox
5151 newmail torture + notifications implementation
5157 Fix the SambaXP live demo segfault: When an ambiguous recipient is
5158 specified, it now skips the name properly and maintain a correct
5161 - Fix a bug when storing attachments into mbox
5162 - Add default path support to exchange2mbox
5166 - Update libmapi version according to the roadmap
5167 - Fix nspi_resolvenames to use default profile database and profile
5171 - Add default profile database and profile support in the torture suite.
5172 - Fix a bug in mapidump_task
5176 - Change MAPILogonEx to MAPILogonProvider and avoid potential
5177 emsmdb endpoint related problem
5178 - add sanity check on global session pointer
5182 Merged MAILOOK-branch changes r64:163 into the trunk.
5186 Remove ChangeLog, use svn log instead ;p
5190 - libmapi includes moved from libmapi/include to libmapi
5191 - Remove arguments from prototype definitions generation in mkproto.pl
5192 - __BEGIN_DECLS __END_DECLS support in header files
5193 - united libmapi/libmapi.h header file
5194 - openchange.h header removed
5195 - PIDL generated files moved to gen_ndr
5196 - compilation rule for libmapi header installation added
5197 - useless torture tests removed
5203 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
5204 Add GetAttachmentTable call
5210 Remove -Werror CFLAGS until I figure out how to fix
5211 our problem definitively.
5213 Remove static from dcesrv_exchange.c functions definition
5218 . reimplement GetProps
5219 . retrieve attachment size
5220 . modify fetchmail and fetchattach torture
5225 . add GetPropList to exchange.idl
5226 . add GetPropList implementation to IMAPIProp.c
5229 - Add fetchattach torture; Attachment size is not yet
5230 defined and 42 is used.
5231 - add 3 new EcDoRpc opnums:
5240 Forgot to add IMAPISession.c
5246 Remove spurious warnings at compile time and
5247 add -Werror -Wstrict-prototypes to CC.
5251 Dispatch libmapi functions into filenames matching
5252 the MAPI interface they belong to.
5256 Fix the attach issue by value and add torture test to
5257 the openchange torture suite.
5262 attachment torture test implementation
5268 Add a null element at the end of MAPI_REQ array
5269 so we can exit from the loop in ndr_print_mapi_request
5273 - Add the DeleteMessages IDL
5274 - New torture tests added:
5275 * OPENCHANGE-MAPI-SENDMAIL
5276 * OPENCHANGE-MAPI-DELETEMAIL
5278 These are experimental implementation
5283 subject option for delete message torture test
5287 added (recipients == null) check
5289 added default subject
5294 Add NspiResolveNames and the associated torture test.
5300 Fix nspi decoding problem due to the usage of
5301 a hyper instead of a dlong.
5305 - Add a preliminary NspiUpdateStat IDL
5306 - Fix the new server code convention naming
5307 (function prefixed with dcesrv_)
5308 - Fix a security bug in emsabp provider code
5312 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
5316 Add SetProps [out] support.
5318 Temporary allocation pb fixed in ndr_pull_mapi_response.
5319 Final fix in next commit.
5325 Fix the SetProps [in] IDL
5327 New mapi call support added:
5328 - ModifyRecipients [in,out]
5329 - SubmitMessage [in,out]
5333 Add IDL support for the following mapi calls:
5338 The SetProps IDL is still experimental and the
5339 content blob should be decoded more than the current
5346 Fix the align problem in QueryRows reply blob
5347 Add some printing output and clean useless DEBUG.
5353 Fix the OpenMessage IDL and add ndr_print support
5354 to the MAPI-FETCHMAIL torture test so we can
5359 Commit of the first experimental but working implementation
5360 of the MAPI-FETCHMAIL torture test able to retrieve mails
5361 from an Exchange Server.
5365 - Add a preview implementation of cached data system for multi MAPI calls requests
5366 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
5367 - Enhance some MAPI calls IDL
5368 - Fix some pull/print functions according to error_code and row_count values
5374 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
5375 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
5376 we have to stop processing the function IDL since no parameters follow.
5380 add MAPISTATUS to EcDoRpc_MAPI_REPL
5381 add mapi library code for:
5387 add mapi calls described above to MAPI-FETCHMAIL torture test
5391 add mapi_response to emsmdb_transaction so we can get the results
5392 check the mapi call error core in OpenMsgStore
5396 Add MAPISTATUS field in each mapi calls
5397 Add new MAPICODE (MAPI_E_CALL_FAILED)
5401 Fix the mapi_request push function
5402 Add a first approach to the MAPI client side library
5403 Add a first approach of the MAPI-FETCHMAIL torture test
5404 Fix the smb.conf.example with new fields and remove Samba4 unused ones
5410 Initial mapidump commit
5411 OpenMessage IDL fixed
5417 Unused and dummy code removed
5421 - Remove the MAPI decoding TDR layer and associated functions
5422 - Add MAPI decoding in exchange.idl at NDR layer
5423 - mapi_request / mapi_response pull/print ok
5424 - implement subcontext for async response decoding in
5426 - new MAPITAGS added related to Message envelope properties
5427 - clean up the code and remove unused files
5429 - Add new MAPI opnums and associated IDL:
5430 * [in] Release (opnum=0x1)
5431 * [in,out] OpenFolder (opnum=0x2)
5432 * [in,out] OpenMessage (opnum=0x3)
5433 * [in,out] GetContentsTable (opnum=0x5)
5434 * [in,out] GetProps (opnum=0x7)
5435 * [in,out] Secolumns (opnum=0x12)
5436 * [in,out] QueryRows (opnum=0x15)
5437 * [in,out] GetReceiveFolder (opnum=0x27)
5438 * [in,out] OpenMsgStore (opnum=0xFE)
5444 For IDL with unknown fields followed the IDL may
5445 change and the mapping of these unknown bytes incorrect.
5446 It's just based on assumptions and results of the different
5451 - The mapi_request / mapi_response pull function
5452 - emsmdb torture tests and libmapi/emsmdb.c
5454 All this code is currently broken and will be fixed
5455 when we start writing the new emsmdb torture suite
5463 Fix ndr_pull_MAPI_DATA function
5467 - Add new mapi opnums
5468 - Add a first IDL implementation for OpenMsgStore out
5472 - Enhance the handles id support in MAPI_DATA
5473 - Remove unused code
5475 EMSMDB encoding/decoding is currently broken.
5476 It will be fixed when we start the client side
5477 mapi library implementation.
5483 - Change IMAPISession.idl to mapi.idl
5484 - enhance mapi content payload decoding (multiple calls supported)
5485 - add sub EcDoRpc opnums and IDL for setcolumns (in)
5492 - new function on emsabp provider for entry id generation
5498 Old mapitables code deleted and merge of the samdb
5499 code used in openchange (emsabp_result_guid function).
5501 The following revision compiles and work fine with
5502 Samba4 revision 20341
5509 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
5515 - Fix compilation warnings based on patches provided
5516 by Stefan Huehner <stefan@huehner.org>
5517 - Fix the DSO issue for x64 platforms
5518 - Add the evolution plugin in the compilation process
5519 - remove the mapidump code (obsolete and replaced with ndrdump usage)
5525 evolution plugin moved into client/evolution for
5526 a correct and extensible naming convention.
5528 EcDoRpc IDL modified:
5529 - opnum are now 8 bits
5531 - EcDoRpc ndrdump output enhanced
5533 IMAPISession IDL modified:
5534 - Change OpenMsgStore function name to MAPI_RPC_LOGON
5535 for the 0xFE opnum operation.
5537 Fix warnings in the code.
5543 Openchange-Evolution plugin commit
5544 I reorganized openchange evolution plugin source tree.
5545 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
5546 Everything can be found in the oc-evolution directory.
5547 This is code a minimalist implementation of the camel provider for evolution.
5548 It will make appears an openchange server type in the server list handled by evolution.
5549 Still have to fix the ./configure to create a Makefile though.
5553 Fix the memory allocation problems in the emsmdb torture test
5557 Removed ascstr and directly add it to the IDL
5559 Fix the NspiQueryRows response where strings
5560 containing the user email address have to be
5563 The EMSABP provider is working ;-)
5567 The emsabp provider is now able to return multiple users
5568 when searching for part of a username.
5574 Fix the networkAddress binding strings for the
5575 Exchange object in the configuration db. The
5576 SERVER variable based on exchange:server had
5577 been added while we needed the NETBIOSNAME one
5579 Fix a segmentation fault in emsabp.c due to an
5580 unchecked pointer res->msgs. This was causing
5581 smbd to segfault when the supplied legacyExchangeDN
5582 sent by the user wasn't present in the database.
5588 Remove unused files and directory.
5589 Update Makefile.in and remove storedb compilation
5598 - provisioning (for the legacyExchangeDN of the server entry)
5602 Fix the build and remove dynconfig samba lib
5608 Unused ldif files removed + Schemas definitions updated
5612 Provisionning fixed (old ldif files cleaned)
5618 add tags rules to the Makefile
5622 add the \\pipe\\protected_storage named pipe
5623 to exchange_nsp bindings
5629 Add a dcerpc_server module in charge of the
5630 exchange interfaces registration. When this module
5631 is loaded prior the remote endpoint, it let us proxify
5632 the exchange_nsp and exchange_emsmdb ones.
5634 Change the exchange_nsp ncacn_np binding string to
5635 reflect how Exchange server is currently using it.
5637 Conform the IDL with latest pidl requirements and
5638 move the MAPI_DATA structure from exchange_nsp to
5645 Create the $prefix/modules/{dcerpc_server,torture}
5648 This fix openchange make install rule.
5652 This commit conforms openchange with the Samba4
5653 trunk and fix the autotools checks.
5655 I've modified the openchange torture file to
5656 match the current smbtorture API and the
5657 OPENCHANGE-NSPI-PROFILE test was successful.
5659 The NSPI ndrdump suite has fully been tested and
5666 This commit fix the build system:
5667 - add the -ldynconfig dependency to LDFLAGS
5668 - add header checks in configure.ac. We need them
5669 for the moment cause Samba4 doesn't install some headers
5670 required by openchange core
5671 - fix the make install
5673 - remove autotools generated files and definitively
5674 ignore them with the .svnignore file
5676 - keepref keyword removed from exchange_nsp interface
5681 + aclocal.m4 removed from repository
5682 + provisionning fixed