4 Fix OpenChange notification subsystem to handle multiple session properly
5 Patch OpenChange trunk to reflect this API change
7 Add quick and dirty doc/examples/multiple_notif.c to show how to setup
8 multiple sessions + notifications with threads.
10 Add PidTag for transport message headers
15 One more server API documentation fix.
17 More server side api documentation work.
22 Mix of api documentation fixes for server side.
24 Add MAPI_E_NOT_IMPLEMENTED.
26 This is based on information at
27 http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/d3c860a8-f131-4c7a-aa11-b9ec328d06c4
32 Implement RopOptionsData (0x6F).
34 Updates IDL, adds implementation and mapitest coverage.
36 This has no practical use, but might be useful for testing the server.
41 Add talloc leak checking options to mapitest.
46 Update man page for mapiprofile to reflect new --language option format.
51 Add special handling for PS_MAPI property name mapping.
53 This fixes a long-standing mapitest failure.
55 The logic is based on MS-OXCPRPT, section 2.2.12.2.2 PropertyIds.
57 Minor API documentation fix.
62 Build fix for example code
67 Fix format string problem #184 ticket
70 Add status reporter classes to allow redirecting the progress
73 Update man page to reflect mapitest --subunit option.
75 Implement basic subunit output protocol format for mapitest.
77 There are a couple of documentation bits to follow.
82 Trivial API dox addition.
87 Update the IDL and implementation for RopGetPermissionsTable (0x3e)
88 and RopModifyPermissions (0x40) to match MS-OXCPERM.
90 The function signature for GetTable() and ModifyTable() has changed.
91 They are now called GetPermissionsTable() and ModifyPermissions()
92 respectively, and there is an additional "flags" argument, which you
93 almost certainly want to pass as 0x00 if you are porting from some
96 Updates all users, and adds mapitest unit tests.
101 Add country codes to codepage-lcid description file
104 Remove copied code from samba (ldb) and just use the ldb
109 Allow building if popt isn't available.
112 - remove unnecessary include in libmapiadmin
113 - only build mapistore test tool if popt is available
114 - only build torture tests if popt is available.
116 The last change could be finer (e.g. only leaving out the
117 part of the torture test that actually requires popt) but
118 that seemed more fragile and generally unnecessary.
120 Resolves ticket #233.
128 Ensure we always initialise before trying to cleanup (e.g. in a failure scenario).
130 Issue identified and patch provided by Erik Hovland, minor changes by me.
132 Resolves ticket #236.
134 prop is declared within the switch statement.
136 Fix by Erik Hovland - thanks very much.
138 Resolves ticket #239.
140 Use strncpy instead of strcpy.
142 Patch by Erik Hovland, plus a minor change by me to ensure the string is null terminated.
144 Resolves ticket #237.
146 Add missing break statements
148 Patch by Erik Hovland <erik@hovland.org>
150 Resolves ticket #238.
152 Mark appropriate constructors as explicit.
154 Patch by Erik Hovland - thanks very much.
156 Resolves ticket #240.
160 Patch from Erik Hovland - thanks again.
162 Resolves ticket #242.
166 Patch by Erik Hovland - thanks very much.
168 Resolves ticket #241.
170 Make sure we actually can compile when using --enable-openchange-qt4
172 This patch ensures that $(MOC) gets set in the Makefile.
177 Add canonical names for codepage related properties (involved in
178 PT_STRING8 encoding/decoding)
183 - Add parser for codepage-lcid
185 - Add entire set of conversion functions for lcid, codepage, language
188 - mapiprofile now uses codepage/lcid matching LC_CTYPE environment
189 variable for language detection, otherwise codepage/lcid matching
190 language list. Language list is now dumped from codepage-lcid
193 - Remove deprecated util and tests directory from libmapi and from
194 build system. We now only rely on codepage_lcid.c
196 - Update openchange code (utils, mapiprofile, mapitest and
197 exchange2ical libs) to use this new API.
199 - I have not looked into icalparameter_get_language, but assuming it
200 is relying on previous API, I may have introduced a bug here. Looks
201 like the function outputs for example "en-US" while we now checks
202 for "en_US" to match setlocale output.
205 Minor API documentation adds.
207 Add unit test coverage for the GetGALTable() function.
209 This is mostly lifted from utils/openchangeclient.c
211 Switch to only building Qt4 bindings if specifically asked for.
213 This is a bit experimental for now, so lets go safer...
218 In this particular case (error returned, mapi_response shouldn't
221 Fix bug 605827 - SRowSet was free'd while still needed
226 Template file which associates Language, LCID, Locale and Codepage.
227 Furthermore commits will implement the mparse parser which will
228 auto-generate the associated C files. This should give us a reliable
229 way to use it in mapiprofile, MAPI profiles database and for
230 PT_STRING8 proper conversion purposes.
232 If anything is missing or is incorrect, updating the file will
238 Fix bug where you couldn't select another messages in the default folder without
239 changing folder first.
241 Looks like this is just a bit I forgot to update when changing from an initial
242 cut to the "more working" implementation.
247 - Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
250 - Remove deprecated utf8_convert lexer and windows_to_utf8 routine
252 - Change openchange tools to use _UNICODE tag version instead
254 - octool_get_propval now prefer UNICODE properties over PT_STRING8
255 ones (default behavior).
257 - Change mapidump_message API to take an optional mapi_object_t
258 message parameter. If the message object is specified, we can have
259 access to the subject, and recipients (to, cc, bcc) without having
260 to query them within a GetProps call.
263 Fix an ugly cut-n-paste error.
265 Add pkg-config support for libmapi++.
270 Fix ticket #123 (known as 562948 on gnome bugzilla):
271 "Unable to send mails containing UTF8 strings"
273 OpenChange was using strlen(str) * 2 + 2 to calculate the
274 expected size for utf16 string. This patch fixes this and
275 replaces it with a function that make proper utf8 to utf16
278 This commit also replaces PT_STRING8 properties in openchangeclient.c
279 with PT_UNICODE ones to ensure utf8 strings get converted properly.
284 - Add NormalizedSubject and SubjectPrefix strings to object_message_t
286 - Add a function to retrieve TypedString value
287 - Add a mapidump function for obj_message (only retrieve subject and
289 - Add --fetchsummary option to openchangeclient: Dumps properties from
290 OpenMessage response only (subject and recipients) rather than going
291 through GetProps and dumping a more complete version.
294 Move make distclean to the end again.
299 Remove a copy of the dlinklist.h header, and just use the samba
305 Install missing file.
310 Allow us to find samba python code on 64-bit machines.
315 Update EcDoConnectEx IDL to match latest specifications
318 Minor additions to "make clean" / "make distclean" to remove
319 generated python bits, and also the config.h file.
324 Implement IsMailboxFolder for public folder types.
326 Involves some refactoring of the way we handled the mapi_object_store_t,
327 such that we now talloc_zero the structure.
329 Adds mapitest coverage for these.
331 Resolves Ticket #134.
336 Add unit tests for IsMailboxFolder
338 Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.
343 Change location of .cpp.o and .ccp.po to the correct location
344 and inhibit compilation line output for moc and cpp compilation.
347 Try harder to clean up libmapi++ bits.
352 Ignore moc files and generated binary
354 Update OpenChange version to 0.10 NOMAD
356 Nomad is a mechanical explorer sent from Earth in 2002.
357 It was melded with an alien device named Tan Ru and the resulting robotic
358 hybrid began destroying anything that was imperfect including, in 2267,
362 Add documentation for qt/ subdirectory.
364 Try harder to find moc.
366 Initial commit of some Qt-style bindings.
368 This is mostly for testing, although hopefully the library will
369 emerge with a set of mostly-useful widgets for implementing
375 Quiet the build here.
377 Inadvertent removal in a previous patch.
379 Some support for ReviewBoard.
384 Update OpenMessage flags to match specification values.
386 Cleanup libmapi++ code when we "make clean".
388 Add svn ignore entries.
390 Remove inline from shared library class.
392 Fixes build on Intel C++ compiler.
397 libmapi++ is no longer a header-only library
402 Add first part of Restrictions support.
404 A little more documentation fixes.
408 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
409 In such situation, mapi_response is not allocated but has a destructor
410 associated. This fix removes the destructor whenever the error code is
411 different from MAPI_E_SUCCESS.
413 Also add a minor (probably useless) check on mapi_response pointer validity
414 before attempting any other child's free.
417 A couple of minor API documentation fixes.
422 Rename libmapi into openchange in our release script.
423 Makes more sense given the scope of our releases.
425 Fix format string warnings.
427 New ModifyRecipients IDL and implementation.
429 This patch improves the logic within the RecipientFlags bitmask
430 calculation function and make use of different MAPI properties for
433 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
436 Minor API documentation fix.
440 Fix some exchange2ical memory leaks / "still reachable" memory.
442 Fix property tag array count, so we get the language in Summary
443 lines in the ical output.
445 Add protection against null CN values.
447 Resolves ticket #232.
449 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
451 Handle all day events for UTC+ timezones.
453 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
454 the problem, and providing a patch. In the end I heavily modified the
455 patch, and implemented a much simpler version while we sort out the
456 timezone identifier problems.
461 Minor documentation update to reflect GSoC exchange2ical merge.
463 temporary fix for building on FreeBSD 7.2.
465 Remove this file - converted it to trac tasks.
469 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
471 Changed MonitorNotification to be non-blocking.
472 Also checks whether to process notifications using a callback.
474 Open Profile Store using global_mapi_ctx for the memory context. This
475 fix removes 20 context errors when running valgrind on mapitest.
477 - Fix important memory leaks in OpenChange NSPI stack. The memory
478 context modifications applied to the EMSMDB stack have been
479 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
480 temporary context passed in parameter to the nspi_* functions from
483 - Changes propagated to torture, mapitest, IProfAdmin interface and
484 ResolveNames function to match the internal API.
486 - Add missing MAPIFreeBuffer call in mapitest modules
488 Minor cosmetic change
490 Minor changes to match our coding convention more closely
492 Return (const void *) instead of (void *) where missing
494 - Fix important memory leaks within the OpenChange stack. Most of the
495 leaks came from the pipe memory context used in emsmdb_transaction
496 which was only released on MAPIUninitialize and sometimes leaded in
497 lost blocks. This fix makes extensive usage of the temporary memory
498 context used in top MAPI calls implementation. This context is
499 passed in argument to emsmdb_transaction and used for dcerpc_*
502 When we return from any libmapi call implementation, this context is
503 destroyed. This guarantee no extra memory within NDR layer is kept.
505 The only requirement for this patch to work is to make sure the data
506 we return from MAPI calls is either reparent to another memory
507 context or copied properly.
510 Add support for skipping tests that don't apply to some
513 Change the format of the server version, so it matches the Microsoft
514 way of doing versions.
519 Fix store version info assignment - Exchange version now works again
522 Clarify the developer's task when using GetPropList.
524 We were allocating the SPropTag proptag array with the session context
525 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
527 We are now using SPropTagArray pointer as parent context and clarify
528 that the developer must pass an allocated SPropTagArray pointer to the
531 Missing mapi_object_release leading in small leaks.
533 Sanitize RfrGetNewDSA function and memory usage.
535 The function was returning either a const char * passed in parameter
536 or the string returned by RfrGetNewDSA call. Furthermore we were using
537 the session pointer for the memory context. Finally the function description
538 was not matching its behavior.
540 What this patch does:
541 - use a named memory context for RfrGetNewDSA call
542 - return an allocated string on success otherwise NULL
543 - release RFR memory context properly
545 valgrind before patch (mapitest):
546 ==28876== LEAK SUMMARY:
547 ==28876== definitely lost: 0 bytes in 0 blocks
548 ==28876== indirectly lost: 0 bytes in 0 blocks
549 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
550 ==28876== still reachable: 345 bytes in 2 blocks
551 ==28876== suppressed: 0 bytes in 0 blocks
553 ==28876== For counts of detected and suppressed errors, rerun with: -v
554 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
556 valgrind after patch (mapitest):
557 ==29083== LEAK SUMMARY:
558 ==29083== definitely lost: 0 bytes in 0 blocks
559 ==29083== indirectly lost: 0 bytes in 0 blocks
560 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
561 ==29083== still reachable: 345 bytes in 2 blocks
562 ==29083== suppressed: 0 bytes in 0 blocks
564 ==29083== For counts of detected and suppressed errors, rerun with: -v
565 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
567 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
568 pull_emsmdb_property is using pointers and allocate memory to prevent from
569 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
570 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
571 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
573 valgrind before patch (mapitest):
574 ==26674== LEAK SUMMARY:
575 ==26674== definitely lost: 0 bytes in 0 blocks
576 ==26674== indirectly lost: 0 bytes in 0 blocks
577 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
578 ==26674== still reachable: 345 bytes in 2 blocks
579 ==26674== suppressed: 0 bytes in 0 blocks
581 ==26674== For counts of detected and suppressed errors, rerun with: -v
582 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
584 valgrind after patch (mapitest):
585 ==27270== LEAK SUMMARY:
586 ==27270== definitely lost: 0 bytes in 0 blocks
587 ==27270== indirectly lost: 0 bytes in 0 blocks
588 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
589 ==27270== still reachable: 345 bytes in 2 blocks
590 ==27270== suppressed: 0 bytes in 0 blocks
592 ==27270== For counts of detected and suppressed errors, rerun with: -v
593 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
596 Minor API documentation fixes.
601 - Add a macro to mparse.pl to free both mapi_response
602 and mem_ctx within OpenChange calls implementation.
603 For the moment it is only implemented in OpenUserMailbox call.
605 - Fix a memory leak in OpenUserMailbox: When the call failed
606 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
609 Minor indentation fix
612 Add some missing newlines to reduce compilation noise.
614 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
616 See the gsoc_exchange2ical branch history for commits.
618 I also made a change to address ticket #216, and
619 fixed a couple of typos.
624 Minor updates to provisioning instructions.
626 Thanks to Girish Venkatachalam for some suggestions.
631 Fix 'unused variable' warning on FreeBSD for exchange2mbox
634 Add documentation for the --freebusy option.
641 Fix segfaults in mapitest launched with exchange2010
643 Fix compilation warnings
646 Add missing -L directory specifier.
648 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
650 Patch by Brian Lu (Sun). Thanks again.
652 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
654 Fix a couple of typos that trash CFLAGS during build.
659 Automatically switch from connect to seal on the emsmdb pipe if
660 ecNotEncrypted is returned by EcDoConnect.
662 - Make OpenChange natively working with Exchange 2010
663 - Factorize binding string construction code within a single function
664 - the seal flag is mandatory to connect to Exchange 2010
665 - add seal boolean value to MAPI profile creation and mapi_profile
667 - add --encrypt option to mapiprofile to set the seal value
672 Add documentation for set_SPropTagArray().
674 Thanks to Brian Lu (Sun) for reporting.
679 This doesn't really fix ticket #149, but this should
680 at least prevent from triggering segmentation fault when
681 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
684 Trivial fix (newline) for warning on FreeBSD compiler.
686 Add support for manually creating the library symlinks for FreeBSD
688 This is a somewhat speculative commit.
690 Also fixes a couple of cosmetic whitespace issues.
695 Patch from Bryan Lu <brian.lu@sun.com>:
697 Create symbol link only on Solaris
699 This closes ticket #221 and makes it possible to compile openchange
702 Temporary bug fix in emsabp.c - If restrictions are NULL in
703 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
704 invalid res pointer leading in segmentation fault.
706 Initial fix proposed by Erik Hovland <erik@hovland.org>
708 Patch from Erik Hovland <erik@hovland.org>:
710 fid might be null. Check it before dereferencing in the
711 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
712 folder_lookup() function.
714 Patch from Erik Hovland <erik@hovland.org>:
716 NotificationData 'could' be null. Check it before handing it to
717 notification-callback(). This is important because eventually
718 NotificationData will be dereferenced in the code path.
720 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
722 Fix MAPI Warning error codes
724 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
726 bugfix: Bugs in abp_tdb layer fixed.
728 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
731 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
733 Implement NspiQueryRows() address list enumeration
735 We can now run openchangeclient --userlist on OpenChange NSPI server
736 and Outlook 2003 is able to query GAL.
738 Note: the initial patch was proposing:
739 "(&%s(showInAddressBook=*))", purportedSearch
741 I replaced it with "%s", purportedSearch only since we don't have yet
742 any showInAddressBook attribute in AD.
744 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
746 - Add server side implementation for NspiResolveNamesW
747 - Refactor and split emsabp_verify_user in two functions
749 A new function emsabp_get_account_info() implemented to fetch info
750 about given user name. emsabp_verify_user() uses the above function
751 check if authenticated account_name is valid mail account and if so,
752 account_name is cached in emsabp context for future use
754 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
756 NspiGetProps() reimplemented to match [MS-NSPI] specification more
759 As a side-effect, emsabp_fetch_attrs() was altered to return
760 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
761 the function returns more meaningful error codes - if requested MId is
762 not found this surely means InvalidBookmark rather than CorruptStore
767 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
769 Propagate dwFlags for incoming call to get EntryIDs correctly.
771 Actually we need to propagate dwFlags so that emsabp_query()
772 function to be able to determine whether EphemeralEntryID
773 or PermanentEntryID is requested to be built.
775 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
777 Implement PR_SEARCH_KEY attribute getter
779 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
781 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
783 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
785 - Extend NspiDNToMId() to search in Configuration and Domain
788 - NspiDNToMId() has been extended to cache returned data properly,
789 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
790 from Domain partition are cached in in-memory db ttdb_ctx.
792 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
794 emsabp_set_PermanentEntryID() implements MS specification more
795 closely. For reference: [MS-NSPI] and [MS-OXOABK]
797 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
799 - Change the way we initially fetched server GUID
801 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
802 initial patch and associated research:
804 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
805 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
807 Fix samdb_connect warning.
808 Add function prototype to nsp,emsmdb header files.
809 Change samdb_ctx from void * to ldb_context *
812 Update docs to match those in mapiproxy doxygen docs.
814 Roll to the latest Samba4 version.
816 This should have no noticeable difference over the
817 Samba4 alpha9 release, but its nice to use the latest
818 version, and it might make a difference on the server
823 Fix OpenChange server code and access to Samba4 databases.
824 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
825 All information can be accessed through a single access to SamDB and configuration records
826 accessed through ldb_get_config_basedn.
828 The following implementation has been tested and is working with:
829 - mapiprofile profile creation
830 - openchangeclient --mailbox
831 - Outlook 2003 account creation
832 - Outlook 2003 mailbox opening
837 Fix openchange user provisioning scripts
839 Forgot to commit this LDIF modifications for openchange provisioning
844 - Fix OpenChange server provisioning (exchange classes and attribute only)
845 - Remove deprecated provisioning steps
846 - OpenChange user provisioning is still broken at this point, but will be
847 fixed in further revisions.
852 Fix a cast warning at compilation time for libmapi++
854 - Update openchange libraries to 0.9: close trac ticket #165
855 - Propagate pkgconfig solution in trac ticket #94 to other libs
857 - Update openchange code to work with samba4-alpha9 release
858 - Apply minor fix to ldb_wrap_connect (number of parameters)
859 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
860 - Update samba4 version script to match alpha9 and related git commit
865 Ensure we get output if sqlite3 isn't found at configure time.
867 Now outputs "no" instead of a blank.
872 Fix attribution, per IRC discussion.
877 Ensure API documentation gets generated for utilities functions.
879 Some undocumented stuff in here to look at later.
881 Add additional mapidump functions for notifications
883 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
885 Maintains good test coverage for this file.
890 Avoid use-after-free for the number of rows in the SRowSet.
892 Resolves issue #212, which has the valgrind error.
897 Add test for get_proptag_value().
899 Minor cleanups for mapidump functions.
901 - Add support for dumping property tags using PT_SHORT.
902 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
903 - Minor format change for PT_BINARY (training colon)
904 - Ensure PT_SYSTIME respects the seperator value (API change)
905 - Add a conditional assert() using infrastructure introduced in r1553.
907 Implement mapitest support for all of libmapi/mapidump.c
909 Update openchangeclient for the API change.
911 Introduce a compile time definition that is set for SVN snapshot releases.
913 The intent is to use this to protect assert() calls that indicate incomplete code.
918 Improved Sun Studio compiler support.
920 Patch by Brian Lu (Sun) - thanks again.
922 Revert inadvertent part from previous commit (r1549)
924 Add coverage testing support.
926 ./configure now supports --enable-coverage, which builds with the right options
927 to support gcov. Also adds a new makefile target ("coverage") that runs the
928 required post-processing steps.
930 Also added a test script that does a range of openchange related (client side)
931 operations. This is useful for generating the test load for coverage checks.
933 So the basic recipe here is
934 1. Add the --enable-coverage option at configure time.
936 3. Install it, or otherwise ensure that coverage-enabled libs are used
937 4. generate the test load (e.g. run ./script/smoketest.sh)
939 6. Inspect the results in ./covresults
944 Add support for the SunStudio compiler.
946 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
947 ensure it all worked.
949 This approach is cleaner, allowing options to be build up separately for each compiler, and for
950 the C and C++ versions.
952 Tested on Linux with all three compilers.
957 Adding missing include.
961 Patch from Brian Lu (Sun). Thanks very much.
966 Additional portability fixes for SunOS.
968 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
970 I modified the patch to try to use autoconf where possible.
972 Resolves ticket #220.
974 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
975 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
977 Patch by Brian Lu (Sun) - thanks very much.
979 Partly resolves ticket #220 - still need to handle the first patch.
984 Fix build problem using Sun Studio compiler.
986 Reported by Brian Lu (Sun), including a patch (Ticket #219)
988 I slightly modified the patch, but nothing substantial.
993 Patches provided by raboof:
994 - Ticket #213 deprecated include directive removal
995 - Ticket #214 missing sanity check
996 - Ticket #215 fix some DEBUG macro level for sain ouput
1006 Use mapi_profile_get_ldif_path to find ldif path when one is not given
1011 Added libmapi++ wrapper function for CreateProfileStore
1016 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
1019 Should allow FreeBSD to be supported.
1024 Alternative solution to ticket #179, provided by Alan Alvarez.
1026 This alternative avoids the need for the user to clean up the string returned by what().
1028 Also includes a test case, which I've used to validate that the original (prior to r1524) code
1029 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
1031 Resolves Ticket #179 (again).
1036 Make sure that the string given by what() can be used.
1038 Patch by Erik Hovland - thanks very much.
1040 Resolves ticket #179.
1042 Ensure that the libmapi++ messages example works even if there is no
1043 PR_CONVERSATION_TOPIC (subject).
1051 Modify mapi_object_set_logon_id() to be able to report errors.
1053 Original patch by Erik Hovland, I made some changes.
1058 Implement RopReloadCachedInformation (0x10).
1060 Minor change to IDL (previously implemented), and adds
1061 implementaiton and mapitest code.
1063 Also editorial comment fix in some related mapitest stuff.
1065 Resolves ticket #186
1067 Implement GetValidAttachments ROP (0x52).
1069 Includes IDL, implementation and mapitest.
1071 mapitest also checks DeleteAttach behaviour, which I don't think we previously
1074 Also includes a comment fix in the mapitest code.
1081 Patch by Erik Hovland <erik at hovland.org>
1086 Update the properties list.
1088 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
1093 Update API to use MAPITAGS enum.
1095 Update to match API change.
1097 Use appropriate enum here.
1099 Use enum for OpenEmbeddedMessage call.
1101 Use enums where appropriate.
1103 Update users of FindRow to use enums.
1105 We are supposed to be returning a MAPISTATUS, so switch to using
1106 the OPENCHANGE_RETVAL_ERR macro here.
1108 Use appropriate enums instead of int types.
1110 Use enums instead of ints / hardcoded values.
1112 Use enum types where appropriate.
1114 Fixes warnings from Intel C compiler.
1116 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
1118 Fixes warning from Intel compiler.
1123 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
1124 not to CXXFLAGS as well.
1126 Avoids g++ warnings.
1128 Use enumerated type instead of integer.
1130 Remove unreachable code.
1132 Add "static" to avoid the need for additional declarations.
1134 Avoids noise from the intel c compiler.
1136 Namespace variable in macro, so we don't get noise about shadowing a
1139 Help icc find comparison_fn_t.
1141 Match up data types in argument and format string.
1143 Remove unused variable, and change a name to avoid a "shadowed declaration"
1149 Portability fixes for Intel C Compiler.
1151 Set CFLAGS early, otherwise AC_PROG_CC will set
1152 CFLAGS to "-O2 -g", which later has -O3 appended, which
1153 icc complains about.
1155 Check if we're really icc, and if so, turn off some warnings.
1156 Also turn off the "FORTIFY_SOURCE" define which causes problems
1157 with missing builtins.
1159 The warnings can (and should) be turned back on later, after we
1160 fix the current issues.
1165 Correct diagnostics messages.
1170 Remove explicit -Wstrict-aliasing=3 from command line.
1172 This is implied by gcc -Wall option, and icc produces nuisance warnings
1173 with it enabled (related to the -W option, not the code being compiled).
1175 Fix some memory leaks and a bug in mapiprofile.
1177 I introduced the bug in r1467, there could be others that are similar.
1182 Minor rewording of description
1189 Move initialisation up, to make sure everything is valid in the failure paths
1191 Patch by Erik Hovland. Thanks once again.
1193 This closes out ticket #178.
1195 Remove unreachable code.
1197 Patch by Erik Hovland. Thanks again.
1199 This is the second part of ticket #177. This completes the checkin of that ticket.
1201 Remove unreachable code.
1203 Patch by Erik Hovland. Thanks very much.
1205 This is the first part of ticket #177.
1210 Ensure that we check the result of the operation we just performed.
1212 Patch by Erik Hovland. Thanks very much for continuing to provide these.
1214 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
1216 Make sure that return values are checked and report that given status if there is an error.
1218 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
1222 More cleanups of memory leaks for setting up database and an associated failure case.
1224 fix leak in openchangeclient
1226 (as seen with valgrind of "openchangeclient -m")
1228 Fix memory leak in mapiprofile utility
1233 Ensure that when we pass --profile to mapitest, that profile
1234 gets used instead of the default.
1236 Also fix a small memory leak when using --profile, and add some
1239 Fix error handling case.
1241 Patch from Erik Hovland - thanks very much.
1243 Resolves ticket #175.
1248 Remove unused enum values.
1250 Remove unused code - no simple tests.
1255 Update the script version of samba4 to alpha8.
1260 Add tevent to dependencies.
1265 Remove unused headers.
1267 Patch by Erik Hovland - thanks very much,
1269 Resolves ticket #164.
1271 Apply patch from Erik Hovland, from ticket #162.
1273 From the original patch:
1274 "The problem is that when you do stat first w/ a file string anyone can
1275 exploit the time in between to do whatever they want with the file that
1276 the string is a name for. Instead, try to open straight away. Then fstat
1277 w/ the file descriptor."
1279 I think the patch is fine, although I didn't run the torture test.
1284 Avoid duplicate call to mapi_object_get_logon_id
1286 Based on a patch proposed by Erik Hovland, but adapted to follow the
1287 pattern used in OpenStream().
1289 Resolves issue #163.
1291 Applied modified version of patch from Erik Hovland to address unused variables.
1293 See http://trac.openchange.org/attachment/ticket/160/unused-values for
1298 My version removes variables (rather than commenting them out) since we don't need
1299 them now. I also updated the documentation for options that are no longer available
1301 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
1302 in r808 (to resolve #103), and looks like it might have been used for debugging - no
1303 impact on the code. I pulled out the whole lot.
1305 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
1307 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
1309 Fix potentially unused variable.
1311 Tested with mapitest (even though nothing should have been affected) and
1312 with libmapixx-test and libmapixx-attach under valgrind.
1314 Patch is remaining part of http://trac.openchange.org/ticket/153
1316 Thanks to Erik Hovland for the patch.
1321 Remove dead / unused code.
1323 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
1325 Original patch by Erik Hovland - thanks again.
1327 Update test case to reflect new behaviour
1332 Link libmapistore against tdb.
1334 Update copies of config.guess and config.sub.
1336 Link libmapiproxy against tdb.
1338 Declare a SOVERSION for libmapistore.
1340 Use LDFLAGS when linking exchange2ical.
1342 Create symlink for libmapistore.
1344 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
1346 Fix typo in variable name.
1351 Fix typo in Python variable name.
1353 Keep separate flags for libraries around in config.mk.
1355 Link libmapiserver against all libraries.
1360 Add some PidTag* mapping involved with Recipients and RecipientRow
1365 Patch from Erik Hovland <erik@hovland.org>:
1367 Initializes variables to make sure they aren't used uninitialized.
1371 - Add sanity check on mapitest_common creation routines within
1374 - Apply patch from Erik Hovland <erik@hovland.org>: check return
1377 Patch From Erik Hovland <erik@hovland.org>
1379 In torture_rpc_mapi_sendattach a call is made to the system function
1380 read at line 199. The return value of read is assigned to read_size,
1381 which happens to be of unsigned type. So if read returns -1 (which it
1382 can) it will not be noticed. The patch changes the type to ssize_t
1383 (signed) and checks for -1 as well as zero to break out of the loop.
1387 Patch from Erik Hovland <erik@hovland.org>
1389 1. In mapiproxy, the directory handle dir will be leaked after it is
1391 2. exchange2mbox main() should use exit at line 785 just like all of
1392 the other error paths so that we don't leak anything
1396 Patch from Erik Hovland <erik@hovland.org>
1398 Adds a #include config.h to suppress compiler warnings for vasprintf
1400 Patch from Erik Hovland <erik@hovland.org>:
1402 Make sure pointers are valid before dereferencing
1403 1. lpProps 'might' be null
1404 2. Add folder to variables checked before moving on.
1405 4. Check nprop->guid before giving to strcmp, two times
1406 6. Check definition before handing to strlen (which will dereference
1407 it) Reworked this one to include talloc_free
1408 7. Check MessageClass? before handing to strncasecmp
1409 8. Check backend, return if null.
1410 10. Don't print out anything if lpProp is null
1411 11. Check attach_size before dereferencing
1416 Fix pull structure for QueryRows reply when no RowData is available
1421 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
1425 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
1426 blob. However it doesn't yet support Chained calls.
1428 - Add AuxInfo/AUX_HEADER structures and IDL
1430 - Refactor mapi_request and mapi_response: move obfuscate_data calls
1431 up to the EcDoRpc layer
1436 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1438 call ProcessNotification() after each successful
1439 emsmdb_transaction() in all the libmapi calls.
1441 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1443 Mapi notifications can occurs inside any emsmdb_transaction; currently
1444 only the notification send by the server inside the
1445 emsmdb_transaction_null() in MonitorNotification() are
1446 parsed/processed/delivered to the appropriate callback.
1448 To be able to process all the received notifications, the notification
1449 structure must comprise the private data to be passed to the
1450 notification callback, since in the average mapi call this data is not
1451 available. This patch modifies the Subscribe() call and the
1452 mapi_notification structure, adding the private_data parameter (also the
1453 related Subscribe() calls are update) and add a libmapi call
1454 (DispatchNotifications) to force the notification dispatching in
1455 a [quite] non blocking way
1460 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
1462 ProcessNotification() is ignoring the handle value contained into the
1463 processed notifications. This means that if many Subscribe() calls are
1464 performed on different folders but with the same flags, all the
1465 registered callback are [incorrectly] signaled with each received
1468 The attached patch match the handler contained into the notification
1469 message against the notification object handle to avoid such
1475 Make sure delayed authenication is not called when server mode is enabled
1478 Update property list to reflect current OAB props.
1480 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
1482 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
1484 Also remove duplicate close() of file descriptor.
1496 Implement RopTransportNewMail (0x51).
1498 Includes IDL, libmapi implementation, and basic mapitest coverage.
1500 Also fix a few doxygen / formatting things.
1505 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
1506 This commit fixes the ecWrongServer (0x478) error users encounter
1507 while running openchange based software in a clustered Exchange
1513 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
1515 Includes IDL, implementation and mapitest tests.
1520 Fix Search notifications.
1522 MS concurred that the docs are wrong.
1524 Patch by Paolo Abeni - thanks very much for the
1525 investigation and the patch.
1527 Update GetStoreState documentation.
1529 Implement RopSetPropertiesNoReplicate (0x79).
1531 IDL was already done. mapitest for DeletePropertiesNoReplicate was
1537 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
1539 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
1544 Implement RopHardDeleteMessages (0x91).
1546 Includes IDL, implementation and mapitest.
1549 Ignore generated property file.
1554 Add PT_ACTIONS to list of data types.
1556 Not fully/correctly handled yet.
1561 - Add dcerpc_mapiproxy:delegated_auth option
1562 This option delays mapiproxy-remote server authentication when
1563 the client sends the first request on a given pipe. This is
1564 mandatory in order to have delegated credentials to work.
1566 - Factor remote connection into mapiproxy_op_connect
1571 Add session state to the notification.
1572 Patch by Paolo Abeni - thanks for the investigation and fix.
1574 Also remove a stray debug message.
1576 Add a new mapitest suite for OXCNOTIF (Core Notifications).
1578 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
1583 Update IDL for ModifyRules (0x41) and add IDL for
1584 UpdateDeferredActionMessages (0x57).
1586 This is a checkpoint commit, pending further investigation
1587 into how we handle PtypRestriction and PtypRuleAction.
1592 Mapitest cleanups - remove GetLastError(), and other minor edits.
1594 Implement LockRegionStream and UnlockRegionStream ROPs.
1596 These appear to be a relatively recent addition to the
1597 documentation, possibly only used in Exchange 2007 / Outlook
1600 This is complete except for testing of whether the locking
1606 Use parent folder full replica ID: 2 bytes instead of 1 byte
1608 - Add Implementation for Logon redirect response buffer in OpenChange IDL
1609 - Update libmapiserver size calculation routine for Logon call to handle this case
1614 Add session and logon_id to the list of parameters to copy between objects.
1615 This patch fixes a problem in openchangeclient when using the --folder parameter.
1618 Remove code relating to free'ing the bookmark returned
1619 by SetCollapseState. Initial investigations with MS
1620 lead me to believe that you can't free that resource.
1622 May be more work in this area as investigation continues.
1627 Fix memory leaks for functions relying on pull_emsmdb_property
1632 Fix emsabp valgrind errors
1637 Make it possible to specify a version number for release different
1638 from major/minor from configure.ac
1643 Make it possible to open and control up to 255 mailboxes within a
1644 single MAPI session.
1646 It implements an internal management of a logon_id array at session
1647 level + enable transparent transport/copy of current logon_id value
1648 among MAPI calls + finally transparently free the logon_id value when
1649 the store object (PF or mailbox) is being released.
1651 - Retrieve recipients from OpenEmbeddedMessage reply
1652 - Test the implementation in mapitest
1653 - Avoid potential memory leak: steal context for returned ulPropTags.
1658 Be more tolerant with Logon request flags
1660 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
1661 This case still needs to be fixed though.
1663 Delete debug message
1665 Create a default GetProps reply on error
1670 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
1671 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
1672 Set errno to retval to work around this problem.
1675 NSPI-GETIDSFROMNAMES
1677 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
1678 has been worked-around by setting QueryFlags to NoStrings to limite the results
1679 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
1680 add additional tests to do full coverage.
1682 Fix GetNamesFromIDs IDL and implementation.
1684 Note: We should probably update the function prototype
1685 so it takes a mapi_SPropTagArray rather than a single property.
1688 Protect against bad results from GetGALTable().
1690 Resolves ticket #142
1695 Patch from Paolo Abeni: Add sanity check to Subscribe
1696 and prevent applications from crashing if notify context
1702 Ensure NSPI server functions have a valid dcesrv_handle
1704 Add quick/additional configuration information on how to setup openchange server
1706 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
1707 segfault when parent object is meant to come from GetContentsTable.
1709 - Fix NspiGetMatches server reply when specified username is invalid and
1711 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
1712 a talloc_free bug leading to segfault on failure.
1714 Prevent from registering same mapistore backend multiple times
1722 Add skeleton for GetRulesTable
1724 - return MAPI_E_SUCCESS when QueryRows reply count is 0
1725 - Move Reminders from IPM Subtree to Mailbox root
1727 - Add QueryPosition implementation
1728 - Move from offset to numerator/denominator couple for table objects
1730 Outlook now opens properly using openchange server and display the
1731 mailbox folder list with icons ;-)
1733 - Add skeletons for Restrict, SortTable, FindRow calls
1734 - Introduce emsmdb provider table object
1735 - Add preliminary table implementation for system/special folders
1736 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
1737 - Improve creation of GetProps reply blob for Mailbox folder
1738 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
1739 - Remove some usage of ldb_filter and use format string instead
1740 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
1741 so openchange server is able to return failed replies to MAPI clients
1742 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
1744 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
1746 Still preliminary but anyway worthwhile enough to be mentioned ...
1748 - Add a function to count subfolders of a container
1749 - Add a function to wrap MAPI tables over openchangedb
1750 - Factorize code used to fetch property values from LDB records
1752 - Add default properties to folder records while provisioning mailbox
1753 - Add few more mapping for PR_* to PidTag
1754 - Add a new MAPI property to the list
1756 Avoid openchangeclient --mailbox to segfault when run vs openchange server
1759 Remove some ldb_filters, and just use varargs into ldb_search
1761 warning fix for 64-bit arch.
1763 Revert previous commit.
1765 Experimental commit to fix build problems resulting
1766 from property changes.
1771 - Add PidTagDisplayName property to Mailbox object
1772 - Add PidTagParentFolderId to all system/special folders
1774 - handles array depends if a valid mapi_repl exists. This commit
1775 fixes the destructor semantics.
1776 - Fix a mapitest segfault encountered while run vs openchange server
1777 - Return 1 in SRowSet_propcpy if an error was encountered.
1779 Fix libmapi stack segfault when MAPI calls returns
1780 with error_code different from MAPI_E_SUCCESS.
1782 Do not process NSPI request if we can't find the handle
1784 Remove unnecessary ldb_filter parameter and replace it
1785 with ldb_search format string.
1790 - GetPropertyIdsFromNames skeleton added
1792 - Fix how Release replies are handled in mapi_repl[] array
1793 - Remove Release size calculation
1794 - Fix QueryRows size in libmapiserver
1795 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
1796 - GetHierarchyTable skeleton added
1797 - SetProperties skeleton added
1798 - CreateMessage skeleton added
1799 - SaveChangesMessage skeleton added
1805 Set mapi_response to NULL upon init ... just to get sure
1807 Fix MAPIUninitialize segfault
1815 - Add skeleton for GetContentsTable Rop
1816 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
1817 - Add libmapiserver size calculation functions for all the above
1818 - Ensure we only set objects parameter if it exists
1819 - Return when dcesrv handle is not available
1821 Merge s4-alpha7 branch back into trunk
1826 - Add several PidTag to openchange.ldb folders
1827 - Add provisioning convenient function which adds attribute/value pair
1828 to a given folder record
1829 - Replace existing special folders reference within Inbox with PidTagIpm* tags
1830 - Add new PidTag values to mapi-properties
1831 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
1832 - Add a function which builds special properties for openchangedb folders
1833 - Add PT_BOOLEAN case to openchangedb folder get property function
1834 - Keep a reference to the mailbox username within emsmdb provider context
1835 - Create and return a handle in RegisterNotification
1840 Wrong MessageClass size calculation fixed
1843 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
1845 Ignore new binary and trial output.
1850 - Fix systemfolder value for System/Special folders
1851 - Add GetProps support to System/Special folders
1853 Add auto-generated parser to the ignore list
1855 - Add auto-generated parser for MAPI property to PidTag mapping
1856 - Add some PidTag values
1857 - Add a lookup and get property functions on system folders
1859 - tuple SystemIdx in the dictionnary to workaround the ordering problem
1860 - Add ParentFolderId attribute to System Folders
1862 - Add creation of "Special folders" to mailbox provisioning
1863 - Rename fid attribute to PidTagFolderId
1864 - Rename name attribute to PidTagDisplayName
1865 - Rename ExplicitContainerClass to PidTagContainerClass
1867 Fix GlobalCount increment
1869 Fix mailbox provisioning
1872 Add test for FILETIME structure.
1874 Update docs for mapiproxy entry.
1877 Fix handling of fids.
1881 - Fix openchangedb mailbox hierarchy and introduces subfolders
1882 as described in [MS-OXOFOLDS] specifications.
1883 - Update openchangedb API to reflect this change.
1885 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
1886 to fit with MS-OXOFOLDS specifications.
1888 - Add provisioning code for GetReceiveFolder defaults
1889 - Check if mapistore content repository already exists for the user
1890 - Make mailbox creation verbose
1893 Fix parentfolder reference.
1897 Use recursive call to create folders.
1899 Simplify list iteration, PEP8, avoid using string exceptions.
1904 Fix 'dereferencing type-punned pointer' warnings
1906 - Add strict-aliasing compiler flags
1907 - Fix format string warnings on ubuntu buildbot
1909 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
1910 - Fix warnings introduced by -D_FORTIFY_SOURCE
1913 I might have been a bit hasty with that last commit...
1917 Try harder to find sqlite3.
1919 Seems to be in sqlite.pc on Ubuntu.
1921 Fix warning on 64-bit arch.
1925 - Add RopGetReceiveFolder (0x27) implementation
1926 The function respects should respect the semantics and behavior
1927 as described in MS-OXCSTOR specifications. However the python's
1928 code modification required: add ExplicitMessageClass attributes
1929 to folder records is not yet effective.
1931 - Add GetReceiveFolder size calculation function to libmapiserver
1932 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
1933 couple for a given SystemFolder within user's mailbox.
1935 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
1936 - Provision scripts: add default sqlite:// mapistore URI for system folders
1937 - Add mapistore context initialization when calling OpenFolder on SystemFolder
1938 - Add mapistore context release for folders in emsmdbp object destructor
1940 Factorize emsmdbp objects
1941 Add emsmdbp_object generic talloc destructor
1944 Add test for PT_MV_LONG.
1946 Add tests for PT_I8 and PT_BINARY
1948 Fix warning about no newline at end of file.
1950 Remove most recently added tests from "to be done" list.
1952 Add a couple more mapi_SPropValue tests.
1957 - Initialize mapistore within emsmdb provider context
1958 - Add destructors for MAPI handles and mapistore contexts
1959 - Remove emsmdbp_ctx memory context structure member and
1960 allocate directly with emsmdbp_ctx
1962 I don't see any good reason why we would pad MAPI replies with some bytes.
1963 I guess it comes from some prehistoric openchange code.
1965 Fix systemfolder assignment depending on IsSystemFolder value
1967 - Initialize OpenFolder server reply
1969 - Wrap TDB connections to mapistore (code from samba4) so
1970 multiple instances can open read/write to the same TDB database
1971 - Remove static id_mapping_context (replaced with tdb_wrap calls)
1972 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
1973 - Link mapistore with exchange_emsmdb
1975 Fix aclocal warning for AC_DEFINE comparison_fn_t
1977 Remove useless GetProfilePtr from IProfAdmin interface
1978 Closes trac ticket #131
1980 Add missing script - prevent configure from generating warning vs missing file.
1982 Remove stamp-h1 file during distclean and add it
1985 - Add server-side GetReceiveFolder (0x27) skeleton
1987 Work around the comparison_fn_t redefinition problem
1988 between libocpf and ndr.h
1990 FreeBSD doesn't have time.h daylight global variable
1993 start testing mapi_SPropValue_array.
1994 This also tests some underlying functions.
1999 Add comparison_fn_t support to ndr.h
2000 This was the latest change require to make openchange compiles under FreeBSD
2002 = samba4/openchange FreeBSD support completed =
2007 Remove duplicated post_install call
2009 Add a post_install operation on FreeBSD
2010 Make sure pidl is installed properly.
2012 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
2013 Note: this is a dirty hack which needs to be removed in the future
2015 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
2016 may not be adjusted properly.
2018 Avoid download samba4 release tarball if already available
2019 in current directory.
2021 - Add test for comparison_fn_t in configure.ac
2022 - libocpf auto-generated files include stdlib.h and prevent from
2023 having the proper comparison_fn_t typedef. This commit works around this
2024 problem and define comparison_fn_t within a private header.
2026 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
2027 Use fgetln instead when it is compiled on this OS.
2029 FreeBSD doesn't define sighandler_t but sig_t
2031 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
2033 - Add non-default search path /usr/local/{include,lib} to
2034 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
2035 - Make use of LDFLAGS while compiling openchange tools
2038 A few improvements for property handling.
2040 Also add unit tests to verify behaviour is correct.
2042 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
2044 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
2049 Check for Flex version < 2.5.35
2050 Make sure users can define the FLEX environment variable
2052 Add automake scripts for AC_CANONICAL_HOST support
2053 Needed for FreeBSD OS detection in configure.ac
2058 Fix warnings from lexer output.
2060 Fixes for warnings on 64-bit architectures.
2062 Fix warning on 64-bit architecture.
2065 Add some more tests for openchange.mailbox.
2067 Fix creation of new mailbox after provision.
2069 Always use the same URL when connecting to openchangedb.
2071 Fix arguments to openchangedb_provision.
2076 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
2079 Warning fix for 64-bit arch.
2084 Add doxygen definition for RopRelease
2086 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
2087 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
2088 - Fix size bug for serialized requests
2089 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
2090 - Make sure the GetProps reply blob is initialized whatever happen
2091 - Add a skeleton emsmdbp folder object init function
2096 Remove debug strings for GetPropertiesSpecific Rop
2098 Enable verbose output in server mode - useful during development
2100 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
2102 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
2103 - Fix GetProps size: subcontext is not added to the fixed size calculation
2105 - GetPropsSpecific size calculation function added to libmapiserver
2106 - Function to create a GetProps reply property blob added to libmapiserver
2109 Add tests for provisioning.
2111 Several cleanups in python code, add tests for schema use.
2113 Don't clear PYTHONPATH override.
2115 Remove unused imports, add extra tests.
2117 Use member variable for Ldb, rather than subclassing.
2119 Remove print statements to avoid cluttering test output.
2121 Add simple and incomplete testcase for OpenChangeDB.
2123 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
2125 Move adding a server to mailbox.py.
2127 Move ldif from oc_provision_openchange.ldif into Python.
2129 Stop providing setup_path to OpenChangeDB, as it's no longer used.
2131 Avoid using separate LDIF file when creating folder mailboxes.
2133 Avoid using separate LDIF file when creating mailboxes.
2135 Avoid passing full names object.
2137 Add check-python target.
2142 fix openchange_newuser.
2144 Use SamDB for actual SAM databases, Ldb otherwise.
2146 Remove unused parameters, don't make parameters optional if they are mandatory.
2148 remove unused parameters.
2150 make mailbox object-oriented, remove creds/lp parameters.
2152 Fix OpenChangeDB syntax.
2157 - Add a systemfolder member to the MAPI handle structure to make a difference
2158 between objects managed by mapistore and those stored within openchange.ldb
2159 (root mailbox folders).
2161 - Add opaque functions to set/get private_data and systemfolder to the MAPI
2164 Minor doxygen fix/improvement
2166 Add libmapistore object files to the ignore list
2168 - Add a very preliminary and light libmapistore implementation.
2169 mapistore only supplies init/release and add/del backend contexts.
2170 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
2171 - A temporary mapistore testing tool has been added locally for implementation checks.
2174 Use convenience function for connecting to openchange.ldb.
2176 Use standard LDB functions - openchange.ldb is not a SAM database.
2181 Implement support the SUMMARY language tag.
2183 Initial checking of libical based exchange2ical code.
2185 This has a long way to go, so think of this as more of a checkpoint
2188 See http://sourceforge.net/projects/freeassociation/ for the library, or
2189 see if your distro has a package.
2193 Add missing parameter to API documentation.
2195 Resolves ticket #130.
2197 API documentation fixes for OpenEmbeddedMessage()
2199 Implement OpenEmbeddedMessage ROP (0x46).
2203 Factor out message creation and message fill actions.
2205 Also remove GetLastError() where appropriate.
2207 Add some API documentation.
2212 Update openchangepfadmin description
2213 Fix tool relying on libmapiadmin
2220 Add more explanation for README
2222 Reimplement RTF decompression.
2224 Add unit tests from MS-OXRTFCP.
2226 Fix warnings in example code
2228 Add description for libmapiadmin
2230 Add description for libmapi / libmapi++
2232 Start on the directory descriptions.
2238 Add overview. Extracted from API docs.
2242 Outline of README file.
2244 (also using this to test buildbot without changing real code)
2248 Add Version field - avoid breaking pkg-config --list-all
2250 Fix warnings (gcc 4.2.4)
2253 Use variable for package version rather than hardcoding it.
2263 - Add an implementation of the MAPI handles management API. The API
2264 internally uses an in-memory TDB database to keep object hierarchy
2265 and a doubled chained list to associate private data to handles.
2267 The API currently provides add, search and delete facilities. Note
2268 that while untested, the delete operation is designed to recursively
2269 delete children of the 'meant to be deleted' handle.
2271 Finally the API doesn't remove TDB records but mark them as free so
2272 they can be reused across MAPI session and prevent from handle counter
2273 growing indefinitely.
2275 - Add a preliminary implementation of the Release call
2276 - Add Release size calculation to libmapiserver
2277 - Update EMSMDB provider to use MAPI handles API
2280 Minor api documentation fix.
2286 Minor API docs tweak.
2288 Token commit of tiny API docs fix.
2291 Look for GNU make harder (gmake on BSDs).
2296 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
2297 - Add common routines for OpenChange LDB context init and search
2299 - Add libmapiserver skeleton with size calculation routine for RopLogon
2300 - Change DSO linking dependencies for mapiproxy shared libraries
2301 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
2305 Remove .po and .o objects within libmapiproxy subdirectory
2307 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
2308 Fix make uninstall for AD and profiles directories
2312 Add python code and ldif files needed to create and populate the experimental
2313 openchange dispatcher database.
2315 Add 5-Minute configuration documentation for OpenChange server mode
2317 - Rebase ldif files into sub directories:
2318 * AD for OpenChange AD modifications
2319 * profiles for OpenChange IProfAdmin interface
2320 - Makes it easier figuring out LDIF files scope
2321 - Prepare setup folder for LDIF openchangedb files integration
2322 - Update install/uninstall Makefile rules for ldif files and
2323 make sure everything got removed
2328 Add support for short language names (e.g. en-AU) for lcid.
2333 Delete deprecated libmapi setup Perl script
2336 Add summary report for tests.
2338 Make mapitest return the number of failed tests.
2343 - Add pkg-config pc file for libmapiproxy
2344 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
2346 Free memory allocated by the fake subcontext in
2347 ndr_pull_mapi_response.
2349 This fix saves 300kb of memory and removes 700 loss records while
2350 valgrinding mapitest.
2352 Fix segfault - Add sanity check - when SPropTagArray is NULL in
2353 NspiQueryRows request
2355 Fix openchange_newuser name typo
2357 Fix server provisioning command line examples
2359 Fix several libmapi leaks.
2361 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
2362 and was not free'd when libmapi function released their
2363 context. Furthermore we need to release mapi_response->mapi_repl and
2364 mapi_response->handles which are now automatically free'd when
2365 mapi_response destructor is called.
2367 However note that this fix is not perfect: mapi_response memory is not
2368 free'd properly when calls exit with an error.
2370 This commit also make use of talloc_steal where necessary to keep
2371 returned fields allocated.
2375 Use named context rather than autofree
2377 Fix memory leak in emsmdb.c: Use a temporary memory context for
2378 request and length allocation in emsmdb_transaction.
2380 - This removes 827 loss records and approximatively saves 41kb of
2381 memory while valgrinding mapitest
2383 - Fix memory leak in GetDefaultProfile and GetProfileTable.
2384 - Save from 10 loss records while valgrinding mapitest
2385 - Developers are now responsible from freeing the GetDefaultProfile
2386 string the function allocates.
2387 - Apply changes to all openchange tools.
2389 Add blackbox subunit tests for mapiprofile tool
2392 One more trivial fix.
2396 (Yep, more trivial changes)
2398 Fix incorrect LCID for en-CA.
2400 (OK, its token, I admit).
2403 Don't define _GNU_SOURCE unconditionally.
2407 Prevent mapiproxy from multiple init and modules/server register
2408 when an smb client connect to the server (e.g. windows browser or smbclient)
2412 According to [MS-OXOCAL] Section 2.2.1.44.1
2413 "RecurrencePattern Structure", a monthly recurrence
2414 also has a Day specific parameter.
2419 Simply run autogen.sh rather than replicating it inside the Makefile.
2421 need to run aclocal before autoconf for the pkg-config macros.
2425 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
2426 Saves from 4 loss records while valgrind'ing mapitest.
2428 Use temporary memory context for EcDoConnect.
2429 Saves from 20 loss records when valgrind'ing mapitest.
2431 Free PropertyProblem structures returned by CopyTo.
2433 Replace deprecated talloc_init calls with talloc_named
2434 This commit removes some valgrind loss records talloc_init was responsible for
2437 Free everything when running mapitest --list-all.
2438 Valgrind however shows a loss record related to talloc_init ...
2441 Minor Intel C compiler warning fixes.
2443 Minor apidocs cleanups.
2447 Use double pointer for lp_ctx in GetLoadparmContext assessor
2449 Fix memory leak in utf8 lexer.
2451 - Remove custom iconv_convenience from pull_emsmdb_property and use
2452 lp_iconv_convenience on loadparm_context argument instead.
2454 - Change OpenChange libmapi API to reflect this change
2456 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
2457 (mostly for mapitest modules). libmapi/mapiproxy developers
2458 should never have to make use of it.
2460 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
2462 Free lpProps returned by GetProps, Fix context error in valgrind
2464 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
2465 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
2466 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
2469 Don't install mapiproxy if python wasn't found, since
2470 we wouldn't know where to install the provisioning scripts or be able
2475 Merge libmapi-0.8 branch r1015 to 1017 into trunk
2477 ** Start libmapi-0.9 COCHRANE development **
2479 Merge libmapi-0.8 branch changes into trunk
2483 Add python install/uninstall rules to provision rather than mapiproxy-servers
2485 - Remove server Makefile rules
2488 Note: server and providers have been merged within mapiproxy,
2489 so there is no reason keeping this deprecated code.
2493 Undoing change committed in r1004.
2495 Use .po files instead of .o files for openchange tools
2497 Add --version to openchange tools
2499 Add COPYING file with GPLv3 license
2503 - Add RenameProfile function to IProfAdmin API
2504 - Remove pointless CopyProfile from IProfAdmin API
2505 - Add --rename option to mapiprofile tool
2506 - Update man page to reflect this addition
2508 (close trac ticket #124)
2510 Fix libmapi from crashing when mapi_repl is NULL.
2512 Update Samba4 git rev to fix the charcnv segfault met in openchange
2516 Try to find the Samba python modules if they're not installed in the system
2521 - Fix Subscribe semantic bug and add WholeStore boolean parameter
2522 - propagate API change to tools/torture callers
2524 - Add assessor functions to set dumpdata and debug level in libmapi
2525 (SetMAPIDumpData and SetMAPIDebugLevel)
2526 - OpenChange tools modified to use these function rather than set these
2527 parameters on their own
2529 - Fix --debuglevel segfault in openchange tools
2530 - Enable logging to stdout in MAPIInitialize
2534 * OpenChange libmapi function now returns MAPI error instead of -1
2535 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
2536 - add doxygen documentation for some missing functions/files
2538 - Missed this event->tevent change in previous commit
2540 - Update openchange to use latest Samba4 master git rev (990491d)
2541 - Fix references to tevent_context structures
2542 - Fix iconv_convenience init in MAPIInitialize
2543 - Remove errorchecks mapitest module warning
2546 Use tevent_context_init.
2552 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
2553 using profile's mailbox string directly. This commit fixes the bug.
2555 - Add EcDoConnect and EcDoDisconnect preliminary support to
2556 dcesrv_exchange_emsmdb.c
2557 - Add internal session management mechanism to EMSMDB server
2558 - Add init and unbind modules function to EMSMDB server
2559 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
2562 Fix valgrind errors caused by using free'd memory.
2566 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
2567 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
2568 0xB (opnums using LZ based compression).
2570 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
2574 - Preliminary implementation of NspiGetProps NSPI server function
2575 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
2576 - Use correct ldb context (users or conf) depending on where MId is
2577 located (on-memory or on-disk)
2578 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
2580 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
2582 - Preliminary implementation of NspiDNToMId NSPI server function
2583 - Add emsabp_search_legacyExchangeDN to search for a record given its
2584 legacyExchangeDN attribute.
2586 - Preliminary implementation of NspiQueryRows NSPI server function added
2587 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
2588 rather assuming it is NULL terminated
2589 - Add support for "referenced" property tags
2590 - Add support for PR_MV_STRING8
2591 - Add emsabp_search_dn which search for a DN within AD and return the
2592 associated LDB message
2593 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
2594 emsabp_property array
2596 Prevent from trying to add a NULL element to profile database and segfault on strlen
2598 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
2600 - Preliminary implementation of NspiGetMatches NSPI server function
2601 - Make use of a on-memory TDB database for Ephemeral Entry IDs
2602 - Add TDB traversal routines to retrieve DN associated to MId
2603 - Move lp_ctx within emsabp_ctx for convenience
2604 - Add EphemeralEntryID to Binary_r routine
2605 - add emsabp_query (Find attribute matching given property tag and
2606 return associated data)
2607 - add emsabp_fetch_attrs which builds a SRow array given a MId and
2608 requested property tags.
2609 - add emsabp_search which searches AD given input search criteria
2610 - add a preliminary Property Tag to AD attribute mapping + associated
2611 functions in emsabp_property.c
2613 Note: This NspiGetMatches is limited to MAILUSER which means we only
2614 look for users (located within users.ldb). This limitation will be
2615 removed when we have a preliminary working emsmdb server, so we can do
2616 more extensive NSPI server tests.
2618 Add sanity check to get_SPropValue_SRowSet, prevents the function
2619 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
2621 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
2622 with NULL ppOutMIds is returned.
2627 - Preliminary NspiGetSpecialTable implementation added to NSPI
2628 server/EMSABP provider: Hierarchy Table supported (required during
2630 - add PT_BINARY support for mapidump_SPropValue
2631 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
2637 Add new Display Type values (used by EMSABP provider)
2639 Change DEBUGLEVEL for RfrGetNewDSA
2641 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
2642 - mapiproxy-servers-install now installs openchange python scripts and ldif file
2646 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
2647 This structure is required for NTLM_AUTH_IS_OK macro
2649 - Add doxygen comments for all OpenChange server modules
2650 - Fix doxygen return value for exchange_nsp
2652 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
2653 - Add exchange handle enum to dcesrv_mapiproxy.h
2654 - Add authentication verifier macro to libmapiproxy.h
2655 - Add preliminary EMSABP Address Book Provider implementation:
2656 * supports initialization, destructor (talloc)
2657 * implements user and codepage check routines
2658 * retrieve NSPI server GUID
2659 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
2660 - Add internal session mechanism management to NSPI server
2661 - Add init and unbind modules function to NSPI server
2662 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
2663 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
2665 OpenChange configuration schema updated with Addressing schema
2666 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
2668 Execute server modules init function when loaded
2671 A few API documentation fixes.
2676 Add documentation for MAPIProxy 'server mode'
2681 - Implement mapiproxy server mode architecture
2682 - Add server modules management API
2683 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
2684 - Add temporary provision Makefile rule
2689 Initial text was correct - rollback
2694 Ensure that GetLastError() also returns the correct value.
2696 Start changing the MAPI_RETVAL_IF() usage to two new macros:
2697 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
2699 simple_mapi.c is the only one converted at this stage.
2701 Also added a set of unit tests that verify at least some initial
2704 Remove unreachable code.
2706 Partly resolves ticket #124
2711 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
2713 mapiproxy documentation update: 3 questions added to FAQ section
2715 Patch from Corentin Chary:
2716 - Add PR_CONTENT_FILTER_SCL property to libmapi
2718 - Update openchange to work with samba4 master git rev f308c2f
2719 - Replace reference to events.h with tevent.h
2720 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
2725 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
2726 Update openchangeclient to reflect these changes.
2731 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
2733 Fix PIC object flags for SWIG build. Patch by metze.
2738 User %u format specifier for unsigned integer.
2740 Make return value match signature.
2742 Miscellaneous minor cleanups. Mainly making return types
2743 match signatues, format conversion (%u for unsigned values) and
2744 matching up result variable types (bool instead of enum MAPISTATUS).
2746 Return an enum MAPISTATUS, instead of a bool, to match function signature.
2748 Use %u instead of %d for unsigned values.
2753 Another minor APIdox edit.
2755 API documentation tweak.
2763 More apidox triviality.
2765 Trivial APIdox edits.
2767 Supplement the user's PKG_CONFIG_PATH rather than
2771 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
2773 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
2775 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
2780 Actually use pymapi variables in Makefile.
2782 Add configure flags for building and installing Python MAPI bindings (disabled by default).
2787 Add namespace prefix to scanner.
2792 - spnego / gssapi_krb5 authentication now available for mapiprofile
2793 - add the --realm | -R option
2794 - update mapiprofile man page
2799 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
2803 Don't generate / install man3 pages for libmapi++ or mapitest.
2805 Resolves ticket #121.
2807 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
2810 Allow retrieving id and session of MAPI objects.
2812 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
2814 Add stubs for Session class.
2816 Add infrastructure for MAPI python module.
2818 Look for python and python-config binaries.
2820 Remove empty directory.
2824 Remove obsolete --properties option and related code
2829 Fix RecipientRow member's order
2834 - Update to latest samba4 git master revision (3508a66)
2835 - Fix references to samr info24 struct
2836 - Add support for assoc_group_id proxy
2837 - Add support in mapiproxy for bind/alter connections using assoc_group_id
2838 - Update mapiproxy documentation
2843 Improve building. Partially addresses #94.
2845 More work required on this as we work on the
2846 portability in the future.
2848 Expose the underlying session.
2853 Remove unused --priority option.
2855 These offsets / values can be negative, so we shouldn't
2856 use unsigned int type to represent them.
2861 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
2863 This patch first tries to forge EssDN Logon string from "o" and "ou"
2864 attributes stored in the profile. If Logon fails with ecUnknownUser,
2865 then try to open the mailbox using the mailbox attribute stored in
2871 Document the --label option.
2876 Make openchange compile and work against latest samba4 master git rev (58db2be)
2879 Remove check for unused type 'uint_t'.
2884 More tweaks on the openchangeclient man1 page.
2886 More updates for man1 page for openchangeclient.
2887 Still doesn't fully address #113.
2889 Update the openchangeclient man1 page.
2891 Partly addresses ticket #113.
2893 There is still some work to do on this.
2895 Fix a typo, and try to make the descriptions more
2901 Initial version of man1 page for mapitest
2903 Initial man1 page for exchange2ical utility.
2908 Update man1 page for openchangepfadmin
2910 Minor updates for the man pages.
2915 Fix build errors: wrong number of arguments for ocpf_propvalue
2917 Fix warnings when compiling with -Wextra
2919 Fix warnings when compiling with -Wextra
2921 Fix warnings when compiling with -Wextra
2924 Complete initializers here.
2929 Update to reflect latest state of mapiprofile.
2934 Prevent segfault when running mapitest. Looks like the we can
2935 return MAPI_E_SUCCESS even if one of the property values is
2936 MAPI_E_NOTFOUND. That error then get turned into a char*, and
2939 Also fix a possible bug relating to operator precedence, and
2940 a couple of warnings (one for signed / unsigned comparison, and
2941 the other for an unsigned value never being less than zero).
2946 Enable output to stdout.
2948 Resolves ticket #106.
2950 Thanks to raboof for the report and fix.
2955 Fix missing initialisers (issue #110).
2957 Also fix some signed/unsigned warnings.
2959 Fix problems with incorrect initialisers (#110) and
2960 operator precedence.
2962 Also fix a couple of places with signed/unsigned confusion.
2964 Partial fix for issue #110, and a couple of very minor cleanups.
2971 We probably want to return here, not do nothing.
2976 Fix empty patch function problem: add a retval
2981 Explain the boost-thread trick.
2983 Minor documentation tweaks.
2988 - remove usage of global_loadparm in libmapiadmin
2989 - make use of session context rather than global_mapi_ctx in libmapiadmin
2990 - use local context rather than mapiadmin context in libmapiadmin
2991 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
2992 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
2993 - remove global_loadparm in torture test and replace it with torture context
2994 - fix dcerpc_init to match latest samba4 API
2995 - update samba4 version required to build openchange
2998 More API documentation tweaks.
3000 More API documentation tweaks.
3002 Some API dox fixes for libmapi++.
3005 Remove unnecessary patching of lib/events/events.h.
3010 Update to a more recent Samba4.
3013 Remove some usages of deprecated global_loadparm.
3015 Cope with new argument to dcerpc_log_packet().
3020 Fix includes for DEBUG(), fix some more warnings.
3022 Use same_net_v4 rather than deprecated same_net().
3024 Fix Samba 4 git revision.
3026 Fix includes - debug.h can only be included once.
3028 Include debug header.
3030 Cope with API changes in Samba functions.
3032 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
3037 Fix OpenMsgStore binding in swig perl and fetchmail script
3042 Fix pointless const definition for GetFreeBusyYear return type
3046 - Add the IsFreeBusyConflict convenient function which checks if a
3047 given date conflicts with existing FreeBusy Busy/OOF events
3049 - Modify openchangeclient --sendappointment behavior to check whether
3050 start or end date conflicts with FreeBusy published data for the
3053 - Add the --force option to openchangeclient to override this behavior
3055 - Fix a counter bug in mapidump_freebusy_events
3057 Fix doxygen typo error
3059 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
3060 data in public folders for a given user. Note: Ambiguous name is not
3061 supported at the moment.
3063 - Add convenient FreeBusy mapidump routines
3065 - Add FreeBusy read support to openchangelient
3067 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
3068 property.c functions
3070 - Add OpenUserMailbox which let developers open other mailboxes
3071 instead of the default profile one.
3073 - Add GetABRecipientInfo: convenient function which retrieves Address
3074 Book information for a given recipient
3079 - Add libmapi implementation for DeletePropertiesNoReplicate
3080 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
3082 Fix doxygen documentation
3087 - Implement multisession into libmapi
3088 - Update openchange tools and suite to reflect these changes
3089 - Fix SRow_addprop behavior
3091 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
3092 now take a mapi_session parameter.
3095 Use my openchange.org email address.
3100 - Add a session management API for mapiproxy modules. Similar code
3101 already existed for mpm_cache module. Common functions are now
3102 available to all mapiproxy modules through libmapiproxy
3104 - replace smbd with samba in mapiproxy documentation
3106 - Cache calendar, contact, journal, note, task and drafts folders IDs
3107 when GetDefaultFolder call is performed on one of these folders and
3108 keep them until obj_store is released.
3110 - Add a reverse lookup routine which says whether a given FID belongs
3111 to a default folder and which olFolderType it is.
3113 - Remove pointless memory context in GetDefaultFolder
3114 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
3116 Restore install rule for mapi profiles ldif files in
3117 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
3118 tries to create a new mapi profile store.
3122 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
3123 - mapi_object_copy routine added to mapi_object.c
3128 Fix missing Month field in LogonTime structure
3132 propagate IDL warning fix to property.idl
3135 Add target for building python API documentation.
3139 Fix samba4 release and git revision
3141 Fix installsamba4.sh script paths
3146 Install OpenChange python modules.
3148 Check for python dir during configure.
3150 ignore generated files.
3152 Stop installing js files.
3154 Use autoconf cache prefix.
3156 Use newer version of Samba 4.
3160 Remove dcesrv_exchange.so from server Makefile rule and
3161 move mapiproxy from TOOLS to SERVER.
3163 dcesrv_exchange and providers Makefile rules are orphan, planned
3164 to be removed (with their associated code) when emsabp merge process
3165 into mapiproxy is over.
3169 Export the Binary_r structure.
3173 Use more descriptive variable names in messages example code.
3175 Add a description of messages to libmapi++ API documentation.
3177 Add messages binary to the ignore list.
3179 Add new example showing libmapi++ message handling, and
3180 associated API documentation and build system changes.
3184 Update the API documentation main page for libmapi++
3188 Add foldertree binary to the ignore list
3190 - Add missing Input parameter
3191 - Add sanity check on ppNames
3194 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
3195 - Add a NspiGetSpecialTable test for Address Creation Template
3198 Fix valgrind-reported error, per ticket #101.
3200 Make sure we clean up after mapitest runs.
3206 - Add msExchUserAccountControl attribute to extended user record
3207 - openchange_newuser can now create/enable/disable an OpenChange account
3209 Exit the test if the WriteStream operation fails
3211 Fix ncacn_ip_tcp binding string for OpenChange server object
3213 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
3215 Fix pipe function check and use ndr autogenerated defines rather than static strings
3216 Fix calls to NspiDNToMId
3219 Make sure we set the body and body format properties, to
3220 ensure that the message is shown correctly with
3221 openchangeclient -F.
3226 - Rename oc_* python scripts to openchange_*
3227 - Add Full Exchange 2003 schema (classes and attributes)
3228 - Full Exchange 2003 modified classes and attributes support
3229 - Add prefixmap OID for some Exchange classes and attributes
3230 - Add missing ADSC classes and attributes
3231 - Improve configuration LDIF file with new objects
3233 NOTE: provision.py should find a way to handle firstorg properly
3234 NOTE: oc_provision_configuration.ldif is still incomplete
3237 API documentation improvements.
3241 Add an example to the libmapi++ documentation, and
3242 the right build magic and doxygen linkage.
3244 Minor API documentation fix
3248 Add forgotten part of API documentation fixes for mapitest.
3250 Improve mapitest API documentation.
3254 Use new DeleteFolder flags to clean up folders on deletion.
3256 This doesn't completely resolve ticket #84, but it does help.
3258 Ignore API documentation.
3260 Add Doxyfile to ignore list.
3262 Add initial support for Doxygen API documentation
3267 Implement the remainder of the standard public folders.
3271 Only do header line removal at the start of the file
3272 (lines 20 through 40 seems like a good compromise).
3274 libmapi++ is C++, not C, so we should not optimise
3275 Doxygen output for C.
3279 - Update the Logon_repl IDL (0xFE) and implementation
3280 - Add new folders to the mapi_obj_store for PF folders
3281 - rename pf_finder to pf_search
3284 Suppress some more unwanted headers.
3288 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
3292 - Update the EmptyFolder IDL
3294 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
3295 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
3297 Link libmapi++ documentation to main apidocs page
3299 Update GetAttachmentTable IDL and remove the unknown field
3301 - Update DeleteFolder IDL and implementation
3302 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
3303 - Sanity checks added at the beginning of the function
3305 - Rename GetRowCount to QueryPosition
3306 - IDL, implementation, documentation and openchange code updated
3307 - ActionType enum fields prefixed with 'ActionType_'. Original
3308 values were causing conflicts while building Perl bindings with
3309 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
3311 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
3313 - Update SaveChangesMessage IDL and implementation
3314 - Add a SaveFlags parameter to SaveChangesMessage function
3315 - update openchange code to reflect this change
3318 Build fix / fix for ticket #99.
3320 Filter out some new #include lines.
3322 This needs to be applied to other modules too.
3326 Update SRow and SRowSet IDL
3328 Delete obsolete input_locale and instance_key structures
3330 Fix WStringArray_r IDL
3332 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
3333 - LPWSTR structure removed
3335 Rename SDateTimeArray to DateTimeArray_r
3337 Rename SGuidArray to FlatUIDArray_r and fix the IDL
3339 Rename MV_LONG_STRUCT to LongArray_r
3341 Rename SBinary to Binary_r
3343 - Add removal of libmapi++ Doxyfile in make distclean rule
3344 - Add Doxyfile to svn:ignore
3346 Rename SShortArray to ShortArray_r
3348 - Move from SLPSTRArray to StringArray_r
3349 - LPSTR structure removed
3351 Rename MAPIUID to FlatUID_r
3353 Fix lexer warnings during compilation (ticket #100)
3355 - Update the EcDoConnect IDL (ref. ticket #99)
3356 - Add new fields to the emsmdb info structure
3357 - Add doxygen comments to libmapi/emsmdb.c
3360 Reduce warnings when compiling with 64-bit arch.
3362 Initial checkin of infrastructure for libmapi++ API documentation.
3366 - MAJOR NSPI protocol and libmapi stack update
3367 - All NSPI protocol functions implemented
3368 - NSPI stack fully documented
3369 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
3370 - NspiDNToEph renamed to NspiDNToMId
3371 - instance_key removed from nspi_context and set as a parameter to NSPI functions
3372 - SPropertyRestriction renamed to PropertyRestriction_r
3373 - FlagList structure removed and replaced by a SPropTagArray
3374 - MAPI_SETTINGS removed and replaced by a STAT structure
3375 - new MAPI property tags added to libmapi/conf/mapi-properties
3376 - NSPI module added to mapitest
3379 Clean up on failure.
3381 Clean up on failure.
3383 Minor improvements to ensure cleanup on failure.
3385 API documentation fix
3387 API documentation fix.
3389 API documentation fix.
3391 API documentation fix.
3393 API documentation fixes.
3397 API documentation fixes.
3401 Fix EMSMDB 0xb function name
3403 - update EcRRegisterPushNotification IDL
3405 - implement complete MAPI notifications
3406 - update libmapi to reflect these changes
3407 - make openchangeclient prints a brief summary for each notification found
3408 - update ulEventMask used in openchangeclient
3412 - Rename Advise MAPI call to RegisterNotification
3413 - Update RegisterNotification IDL and implementation
3417 - Fix Restrict IDL and implementation
3418 - Add a new parameter to the Restrict function
3421 Add mapi_nameid.h to the ignore list
3423 - Replace libmapi/mapi_nameid.h with a generated mparse file
3424 - Add a mapi_nameid.h parser to mparse.pl
3425 - Add canonical names for named properties
3426 - GetProps and SetProps resolves named properties if they exist
3427 - named properties can now be set directly and make mapi_nameid API be
3429 - replace named property tags hex value with their canonimal names
3430 - replace several use of the mapi_nameid API with smaller code
3432 - Add new IDL file (property.idl) to push/pull structures from binary
3433 blobs and not directly related to any MAPI calls. Include the
3434 generated property.h file into libmapi.h
3436 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
3437 parsing) and mapidump_SPropValue
3439 - Add functions to property.c to retrieve RecurrencePattern,
3440 TimeZoneStruct and GlobalObjectId structures (see property.idl).
3442 - add a preliminary version of exchange2ical tool. This version only
3443 dumps calendar folder appointments into ICS file on standard output.
3447 - Update mapi-nameid-properties with a more complete set of properties
3448 - Add a header to mapi-nameid-properties for sanity purposes
3449 - Move named properties with PT_STRING8 type to PT_UNICODE
3450 - update openchange code to reflect these changes
3451 - Add PSETID_Attachment to mapidefs.h
3455 Add missing check on password for the create command
3457 Fix incorrect usage of realm in mapiproxy
3461 Check for provider_rpc_connection retval for RFR functions.
3463 Update Doxyfile to parse mapiproxy/modules files and
3464 include documentation on static functions.
3466 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
3467 Exchange server name with mapiproxy one.
3468 - documentation updated to reflect these changes
3469 - new FAQ question added
3470 - developer documentation improved
3472 Add the RFR mapiproxy file.
3474 - Implement RfrGetNewDSA DN replacement in mapiproxy
3475 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
3476 - update mapiproxy documentation to reflect these changes
3480 - Add implementation of the NSPI Referral protocol (exchangeRFR)
3481 - update dcesrv_exchange and mapiproxy prototypes for RFR
3482 - add references to the RFR pipe in mapiproxy
3483 - prefix NSPI client connections with a RfrGetNewDSA call
3484 - add RFR functions implementation in libmapi/IMSProvider.c
3485 - add a --getfqdn option to mapiprofile
3486 - fix a minor mapiprofile option parsing bug
3490 Fix mapiproxy dummy module unbind prototype
3492 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
3493 - EcDoRpc indent updated
3497 Get rid of initialization order warning
3501 - add unbind hook for mapiproxy
3502 - add ahead mapiproxy mode
3503 - add read ahead in cache module
3504 - add synchronization mechanism in cache module
3505 - update mapiproxy documentation to reflect these changes
3509 Temporarily comment out installation of files removed
3514 Fix arguments, paths in provision scripts.
3516 Merge python provision/newuser scripts.
3518 Simplify installation of manpages a bit.
3522 Add configure check for libboost-thread. Add libmapi++ to the build
3523 only if it is available.
3527 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
3528 - Created session::login() members.
3529 - test applications use default profile.
3533 - Import Alan Alvarez work from libmapi++ into trunk
3534 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
3536 - Add libmapi++ to the build system
3537 - Add a patch function to installsamba4.sh: rename private to
3538 private_data in samba4 events.h header file
3539 - Change #include directives so it uses <libmapi++ ... rather than
3544 - Add a statitic function monitoring streams over OpenStream and Last
3545 ReadStream operations. Monitoring stream Release is not relevant
3546 since Outlook does not close the handle directly after last
3547 ReadStream operation. Should put in evidence difference between
3548 non-cached(1st retrieval) and cached (further retrieval).
3550 - Fix a few memory leaks
3554 - Commit initial revision for the mapiproxy cache module
3555 - Update mapiproxy hook API for the dispatch routine
3556 - Introduce the mapiproxy structure for modules to control top-level
3558 - Update mapiproxy documentation to reflect these changes
3562 * Fix remaining ByteRead parameter size for ReadStream operations.
3566 * Improve/Update Open/Read/WriteStream IDLs
3567 * Fix ByteRead parameter size for ReadStream operation.
3571 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
3574 Propagate r666 changes to OpenMsgStore and fix build
3577 Minor rename of bitmap value to avoid conflict with
3578 Private as a class name.
3582 Minor change: remove old debugging string from mapitest
3584 Fix incorrect header
3586 Remove deprecated mapi_handles API
3589 Initial checkin of some uno (static checker) support
3592 There will be a script to run uno with the right options,
3593 but that requires more work.
3597 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
3598 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
3600 - Call mapi_object_release in GetDefaultFolder
3601 - Remove pointless references to mapi_object_t
3604 Fix little memory leak.
3608 Fix invalid OpenFolder calls in mapitest modules
3610 Remove references to SaveChanges in doxygen see also statement
3612 - Rename SaveChanges to SaveChangesAttachment (0x25)
3613 - Update SaveChangesAttachment IDL
3614 - Update references to SaveChanges
3616 - Fix the huge memory leak described in Ticket #91
3617 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
3622 - Add mapi_get_errstr auto-generated routine which returns the MAPI
3624 - Add print routine for MAPI retval in mapitest
3625 - Add a color mode (--color) which prints either green or red MAPISTATUS
3626 - Update mapitest modules to use these new routines
3629 Minor API documentation fix.
3635 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
3637 - Report and make consistent usage of PropertyProblem in the IDL:
3638 SetProps, DeleteProps and CopyProperties
3640 - Remove unknown field in GetProps and GetPropsAll and replace them
3641 with the correct IDL mapping.
3643 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
3645 - Minor typo fix in IMAPIProp.c
3647 Improve CreateMessage request IDL
3649 Improve OpenMessage response IDL
3651 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
3653 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
3654 IDL: make these call able to check whether the folder is ghosted or
3657 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
3659 SeekRow and SeekRowBookmark IDL improved
3661 Improve the SetColumns IDL: remove unknown fields
3665 Minor code convention fix
3667 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
3668 from segfault when invalid dcerpc response is received.
3670 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
3671 Requires investigation
3674 Implement GetIdFromLongTermId and GetLongTermIdFromId
3675 functions (ROP:0x43 and 0x44), and associated mapitest.
3677 Documentation typo fix.
3679 Change the QueryNamesFromIDs() call to match
3680 MSDN, including changing the name to QueryNamedProperties().
3682 Also implement mapitest for QueryNamedProperties(),
3683 GetNamesFromIDs() and GetIDsFromNames().
3685 Update torture test to match.
3689 - Build system update: use samba4-alpha5 release with wget method
3690 - introduce 'make samba' and 'make samba-git'
3694 Make sure we have names[] array large enough.
3696 Problem identified using default uno run.
3702 Fix a small errno bug in GetBestBody
3703 Add dump-data and debug options to exchange2mbox
3707 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
3708 - remove sed hack, modifications applied in samba4 trunk
3709 - update required samba4 git rev required
3716 Minor documentation update: remove deprecated reference to ./bin/smbpython
3718 Fix torture suite entry point name
3719 Fix torture module installation path
3721 - Add implementation for the BestBody algorithm
3722 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
3723 - Remove trailing }}\0 from lzfu code
3724 - Update openchange tools to use GetBestBody rather than
3725 the initial check on PR_MSG_EDITOR_FORMAT
3727 Add a very basic stat module for mapitest: gives a quick overview
3728 of tests which failed at the end of the report.
3730 - Defines a global stream size in mapitest.h
3731 - Decrease stream size from 0x4000 to 0x3000
3732 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
3737 Fix OC_CHECK_SAMBA_VERSION string
3739 - Move samba4_ver.sh from top dir to script
3740 - update parts of openchange relying on samba4_ver.sh
3742 Add configure check for lib Z
3745 - Temporary fix ldb.pc problem and patch ldb.pc.in
3746 - Update samba4 version to the latest revision
3747 - Add libmapiproxy to svn:ignore proplist
3750 Try a different git revision, just for now.
3754 - Update Samba4 version needed
3755 - Change entry point function from init_module to samba_init_module
3756 - update documentation
3760 Fix calls of ldb_init() as required by newer versions of Samba.
3764 Support newer versions of Samba4.
3768 Add some other standard GUIDs
3776 Use version and soversion in mapiproxy library.
3778 Make modules directory overridable.
3782 Change API as identified on devel mailing list.
3785 After some investigation into an error reported by valgrind, I'm proposing an
3786 API change for the MoveCopyMessages() function.
3788 The signature is currently
3789 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
3790 *obj_dst, mapi_id_t *message_id, bool WantCopy)
3792 The problem is the message_id array. The subtle part is that it needs to be
3793 terminated with a null mapi_id_t*, because of this:
3794 for (request.count = 0; message_id[request.count]; request.count++);
3796 That is a bit error prone - enough so to be wrong in the mapitest.
3798 Now we could just fix the mapitest and document the requirements, or we could
3799 change the signature.
3801 Two ideas for a different signature:
3802 1. We could add a uint16_t count to the signature, that says how long the
3804 2. We could use a better data structure than mapi_id_t*. I'm suggesting
3806 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
3807 mapi_object_t *obj_dst,
3808 mapi_id_array_t *message_id,
3813 Add mapitest coverage for CopyTo operations on
3814 folders and attachments, and update API docs.
3816 Also fix one place where we inadvertently used
3817 CopyProps instead of CopyTo...
3821 Typo fixes in comments.
3823 Minor documentation updates.
3825 Clean up created message for SpoolerLockMessage() test.
3829 Update samba4 version test.
3833 Make sure properties are copies into the last valid
3834 location in the extended array (i.e. count-1) not the
3837 Also, make sure we cast the data to a uint8_t for
3838 conversion to boolean.
3840 Also fix compile warning about returning integer instead
3843 We may read up to 0x1000 bytes, so ensure there is
3844 enough room to add the terminating null.
3846 Minor cleanup of the talloc context for FreeBookmark().
3848 Also change around some code to protect things a bit
3849 better against null pointer inputs.
3853 Implement a bit more mapitest for CopyTo (0x39), in
3856 Also make it clean up and report failures properly.
3860 Implement the CopyTo operation (0x39), including initial mapitest.
3861 JK previously committed the IDL for this.
3863 Also make CopyProps (0x67) use an appropriate data structure for
3864 its IDL and update implementation to match.
3868 Minor documentation updates/corrections.
3872 Introduce a default case for MAPI Restriction. In some circumstances -
3873 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
3874 property tag which value is set to 0xFF. However 0xFF doesn't match
3875 any restriction case.
3879 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
3881 - Add IDL for ReloadCachedInformation (0x10) MAPI call
3883 - Add IDL for CopyTo (0x39) MAPI call
3885 - Update the Samba4 GIT revision needed to run openchange properly
3887 - import mapiproxy project from mapiproxy branch
3888 - add custom proxypack MAPI call
3889 - remove deprecated dcesrv_exchange_remote
3892 Add missing part of mapitest for SetReadFlags
3894 This should have been part of r578.
3896 mapitest for SetReadFlags
3898 Implement SetReadFlags (operation 0x66).
3900 Also minor API docs fix.
3902 Move some test infrastructure from the oxctable.c module
3903 into the common area.
3905 Fix IDL error for SetReadFlags, and use existing flags
3906 define (MSGFLAGS_READ) instead of creating a new set.
3908 Build fix for relocation of mapiproxy/ to be under the
3909 top level directory (instead of under the utils/
3914 merge from mapiproxy branch:
3915 * ndr_push Logon_req manually
3917 merge from mapiproxy branch:
3918 * Add IDL and server boiler template for EcDoConnectEx (0xA)
3921 * Fix ndr_push_mapi_response code in ndr_mapi.c
3923 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
3924 ndr_mapi.c. Handles special Notify and Pending cases
3926 * Handle op_MAPI_Pending case properly in
3927 ndr_pull_EcDoRpc_MAPI_REPL
3929 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
3930 DATA_BLOB if there is no RowCount
3932 merge from mapiproxy branch:
3933 * Fix GetReceiveFolder [out] IDL
3934 * Fix some naming convention typo
3936 merge from mapiproxy branch:
3937 * Fix SetMessagReadFlag [out] IDL
3939 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
3940 perfect, but it will prevent mapiproxy from ndr_pull error while
3941 setting message read flag on public folders messages.
3943 merge from mapiproxy branch:
3944 * Fix CreateMessage [out] IDL
3946 merge from mapiproxy branch:
3947 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
3948 * rewrite OpenMessage [in] IDL and report changes in
3949 libmapi/IStoreFolder.c
3951 merge from mapiproxy branch:
3952 * Add IDL for Pending (0x6e) MAPI call
3953 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
3955 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
3957 merge from mapiproxy branch:
3958 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
3960 merge from mapiproxy branch:
3961 * Add IDL for SyncGetTransferState (0x82) MAPI call
3963 merge from mapiproxy branch:
3964 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
3966 Note: This IDL is temporary and should be improved after completion of
3967 the merging process.
3969 merge from mapiproxy branch:
3970 * Add IDL for SyncOpenCollector (0x7e) MAPI call
3972 merge from mapiproxy branch:
3973 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
3975 merge from mapiproxy branch:
3976 * Add IDL for SyncImportMessageMove (0x78) MAPI call
3978 merge from mapiproxy branch:
3979 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
3980 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
3981 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
3983 merge from mapiproxy branch:
3984 * Add IDL for SyncImportDeletes (0x74) MAPI call
3986 merge from mapiproxy branch:
3987 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
3989 merge from mapiproxy branch:
3990 * Add IDL for SyncImportMessageChange (0x72) MAPI call
3992 merge from mapiproxy branch:
3993 * Add IDL for SyncConfigure (0x70) MAPI call
3995 merge from mapiproxy branch:
3996 * Add IDL for RegisterOptions (0x6f) MAPI call
3998 Note: This call is undocumented in Microsoft documentation, but MSDN
3999 RegisterOptions function generates this call on the wire.
4001 merge from mapiproxy branch:
4002 * Add IDL for Progress (0x50) MAPI call
4004 merge from mapiproxy branch:
4005 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
4007 merge from mapiproxy branch:
4008 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
4009 * Add IDL for GetPerUserGuid (0x61) MAPI call
4010 * Add IDL for ReadPerUserInformation (0x63) MAPI call
4012 merge from mapiproxy branch:
4013 * Add IDL for LongTermIdFromId (0x43) MAPI call
4014 * Add IDL for IdFromLongTermId (0x44) MAPI call
4016 merge from mapiproxy branch:
4017 * Add IDL for ModifyRules (0x41) MAPI call
4019 merge from mapiproxy branch:
4020 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
4022 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
4024 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
4025 work around the no-pointer deep recursion pb and remove
4026 existing nopull,nopush,noprint code from ndr_mapi.c
4028 * Fix mapi_SComment_Restriction IDL
4031 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
4032 - use mapi_LPWSTR for PT_MV_UNICODE
4033 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
4034 change its field names.
4036 - Fix emsmdb version
4037 - Change MAPI opnum enum identation -- Helps to fine down merging from
4043 Minor API documentation fixes.
4045 Update label to reflect SetReadFlags -> SetMessageReadFlag
4048 This should have been part of r529 - missed it.
4052 merging from mapiproxy branch:
4053 - Fix MV_UNICODE_STRUCT and unicode strings
4054 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
4055 mapi_LPWSTR for exchange_emsmdb
4056 - Add the NspiGetTemplateInfo IDL
4057 - Fix the NspiUpdateStat IDL
4059 Fix build: SetMessageReadFlag function name was not propagated in the
4063 Initial merge of changes for rename of SetReadFlags to
4064 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
4067 Use private_data instead of private, for C++ happiness.
4069 Minor cleanup. Using "try" confuses my c++ compiler...
4071 This is really part of r525. It moved to IMAPITable.c
4073 Update the table operations:
4074 - implement ExpandRow and CollapseRow
4075 - implement GetCollapseState and SetCollapseState
4076 - add mapitest coverage for the above, plus the Restrict call
4077 - implement ResetTable
4078 - implement FreeBookmark
4079 - add mapitest coverage for SRowSet parsing code
4081 - various API documentation bits
4084 Use right directory for samba4_ver.sh script.
4086 Use common location for Samba 4 git revision.
4090 Use PT_ERROR where appropriate.
4092 Update the SRowSet parser, fixing breakage I introduced.
4096 Update examples to reflect recent API changes.
4099 Don't rely on absolute file paths since the distribution may be installing
4102 make scripts executable.
4106 Avoid segfaulting if you ask for a specific test or tests and
4107 forgot to start the server.
4110 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
4111 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
4112 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
4113 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
4114 #############################[mapitest report]#################################
4115 [*] Date : Sun May 25 11:45:29 2008
4116 [*] Confidential mode : [no]
4117 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
4118 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
4120 [*] System Information :
4122 Kernel release : 2.6.23.17-88.fc7
4124 ###############################################################################
4128 [TEST] NOSERVER-LZFU
4129 ------------------------------------------------------------------------
4130 * uncompress_rtf2 : 0x00000000
4131 * uncompress_rtf2 : PASSED
4132 ------------------------------------------------------------------------
4133 [RESULT] NOSERVER-LZFU: [SUCCESS]
4134 ========================================================================
4136 [*] OXCTABLE-RESTRICT
4137 Server is offline, skipping test: "OXCTABLE-RESTRICT"
4138 [*] OXCTABLE-CATEGORY
4139 Server is offline, skipping test: "OXCTABLE-CATEGORY"
4143 ignores objects that contain invalid handlers in mapi_object_release().
4145 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
4149 Fix API documentation to match signature.
4153 Update QueryRows IDL and implementation to match
4156 The main work here is reworking the SRowSet parsing
4161 Typo fix - allow cleanup to work properly.
4165 Make sure it has a return value.
4169 Rename GetColumns remote operation to GetColumnsAll, and
4170 fix up IDL and implementation to match.
4172 Add some more unit test coverage, and pretty-up the
4175 Fix up breakage introduced in r493.
4178 Make sure nagios directory gets created if it didn't exist yet.
4182 Refactor the unit tests.
4184 Extract out the setup and some of the cleanup code.
4188 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
4189 - Use event_context structure
4190 - update installsamba4.sh script to revert to this revision.
4191 - update torture modulesdir reference
4194 Look a little bit harder for the Samba installation.
4198 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
4199 - Add OXCFXICS mapitest module
4203 - Fix "the very secret" openchange coding style
4204 - Add Copyright for our humble new libmapi developer ;-)
4207 Implement the CopyProperties operation, including
4208 a mapitest for this.
4212 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
4213 code maybe needs some review regarding memory.
4215 - Add the GetTransportFolder MAPI call (IDL + implementation +
4218 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
4220 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
4222 - Add GetRulesTable (IDL + implementation + mapitest)
4223 - Add the OXORULE mapitest suite
4229 Make sure config.mk is the last file removed during distclean.
4233 - Add the Abort MAPI call (IDL + implementation)
4235 OpenChange doesn't support yet asynchronous operation which explains
4236 why no associated mapitest test has been implemented. This should be
4239 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
4240 - Fix some typo in mapitest doxygen
4242 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
4243 - Fix some doxygen stuff
4244 - add a common function within mapitest which looks for a folder name
4245 within a container and return the opened folder object on success.
4247 Add auto-generated Doxyfile to the svn ignore list
4249 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
4251 - Uninitialize MAPI and general memory context at the end of mapitest
4254 Clean up / flush the stream after use.
4256 Saves a bit more "still reachable" in valgrind too.
4260 - Rename CopyMessages to MoveCopyMessages
4261 - Improve IDL + implementation and mapitest added
4264 Make sure the version shown for mapitest documentation
4265 is automatically set to match the package version.
4267 complete the rest of the API documentation autonumbering.
4270 Remove duplicate use of $(SHLIBEXT).
4272 Avoid parallel builds for now.
4276 Fix GetContentsTable binding in perl swig
4278 - Improve the GetHierarchyTable and GetContentsTable IDL and public
4279 IDL implementation (new parameters in,out)
4282 Initial part of automatic list numbering for doxygen comments.
4284 This doesn't work correctly with the current apidocs.css, which
4285 turns the list numbers into bullet points for reasons I don't
4290 - Improve the DeleteMessages IDL request
4292 - Update libmapi version from 0.7 to 0.8
4294 - Public API change for the GetReceiveFolder function; now takes a
4295 message class as 3rd parameter.
4297 - Improve GetSearchCriteria request IDL (unknown removed)
4298 - update libmapi copyright headers 2007 -> 2007-2008.
4300 - Improve the SubmitMessage IDL
4301 - minor indentation fixed in IMessage.c
4303 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
4305 - Add SeekStream MAPI call (IDL + implementation + mapitest)
4306 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
4308 - Add CommitStream MAPI call (IDL + implementation + mapitest)
4309 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
4310 - refactor the stream test to include all stream related operations
4311 - add a common function which generates a random ASCII blob of data
4314 Add doxygen support for the mapitest examples.
4317 Allow cleaning individual parts.
4321 - Add GetStatus call (IDL + implementation + mapitest)
4323 - Fix format string problem in mapitest headers
4325 Run offline suites by default.
4327 - Introduce the online/offline mode for suite
4328 - Fix Exchange headers print bug when server is offline
4329 - reset errno to 0 before running new test
4332 Install the libmapiadmin.h header.
4334 Fix a compile-time warning on amd64, for the second
4335 argument to the getline() call - incompatible pointer
4338 I'm assuming that size_t is equivalent to uint32_t
4339 on a 32-bit architecture, but not on a 64-bit arch.
4341 A quick test showed no difference in actual output.
4344 Remove bashisms in installsamba4.sh
4348 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
4349 - Improve some ModifyRecipients and Recipients structure naming
4353 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
4355 - Add OpenPublicFolderByName call added (IDL and implementation).
4357 - Note: the reply IDL doesn't handle Server and ServerCount yet.
4359 - Note: this call only refers to NNTP folders (e.g: folders located
4360 within "Internet Newsgroups". If developers use this call within "All
4361 Public Folders", then the call with return MAPI_E_NOT_FOUND.
4363 - Call not added to mapitest cause it require RightsAuthor permissions
4364 on Internet Newsgroups which is not the case by default.
4366 - dump-data and debug options added to mapitest
4367 - FOLDER suite renamed to OXCFOLD (naming convention)
4369 Rename module folder to oxcfold
4371 Replace the existing mapitest tool with a new implementation. It is
4372 less complete but more modular.
4375 Add proto headers to ignore file.
4379 OpenFolder request: replace unknown field with OpenModeFlags
4381 - Rename 0xFE opnum from OpenMsgStore to Logon
4382 - Update the Logon request IDL
4385 Add BEGIN_DECLS for private_proto.h.
4387 Add forgotten part of rev435.
4389 Add unit test framework for compressed RTF decoding.
4391 Refactor lzfu.c to improve testability.
4395 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
4396 to some incorrect sanity check tests.
4398 - Remove deprecated fuzzer_msgstore torture test
4399 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
4403 A couple of minor fixes to make it read better.
4406 properly clean up sofiles
4408 Import exchange nagios check script by Bill Edmunds.
4410 Add support for creating libocpf soname symlink.
4412 Use standard include for uint64_t definition.
4414 Cleanup talloc and tdb before building samba4.
4418 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
4420 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
4421 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
4423 Add reference to the ocpf lib within the pc file.
4427 Remove duplicate SWIG instructions (already covered by stdint.i).
4429 Ignore files created by swig.
4431 Use config.mk in swig/perl/Makefile.
4433 Allow sambaprefix and prefix to be different. Allow building with unknown
4434 Samba git revisions (will still warn though).
4436 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
4440 Add domain to the mapiprofile dump output.
4442 Fix OpenMessage IDL and GetRecipientTable fetched data
4444 -This line, and those below, will be ignored--
4447 M trunk/exchange.idl
4448 M trunk/libmapi/IStoreFolder.c
4449 M trunk/libmapi/emsmdb.c
4450 M trunk/libmapi/IMessage.c
4454 Fix typo, change samba-config -> samba-hostconfig.
4458 - Add openchangepfadmin to make install
4459 - Add openchangemapidump and locale_codepage to make clean
4463 Merge the samba4-latest branch.
4467 Revert so version number to 0.7
4469 Fix Perl bindings: update mapidump_message
4471 ** Start libmapi-0.8 ROMULUS development **
4473 Add ChangeLog and apidocs to the releases
4475 - Delete unmaintained regression suite
4476 - Fix typo error in torture-clean rule
4478 Add modified release script originally from abartlett/samba4
4480 - Check for specific Samba4 git revision in configure.ac
4481 - Prefix locale functions with lcid and make them _PUBLIC_
4484 API documentation update.
4491 Add installation script for samba4
4493 - Apply the nspi pointer patch - make openchange works with
4494 samba4-alpha3 git 41309dc
4499 Move the top level API documentation to an "overview"
4500 section and add a redirect to that overview.
4502 This keeps the doxygen output more nicely separated for
4505 Also, generate the man pages where the install expects
4510 - Fix strsep bug in openchangeclient
4511 - Add RECIPIENT support to libocpf
4513 - escape/unescape strings support added
4514 - PT_MV_STRING8 type added to OCPF write API
4518 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
4519 (based upon patch from lofi@mountproc.org)
4520 - makes the workstation parameter of mapiprofile optional (use
4521 gethostname if not defined by the user on command line)
4523 - Fix an allocation memory problem in cast_SPropValue
4524 - update svn:ignore proplist
4528 Update the documentation build so it keeps generating an embedded
4529 website in with apidocs/html as root directory.
4531 - Add support for PT_UNICODE and PT_SHORT to libocpf
4532 - Initial implementation of the libocpf write API
4533 - Update libocpf documentation
4534 - add --ocpf-dump option in openchangeclient
4535 - Fix realdistclean rules for server
4536 - add cast_SPropValue function to libmapi/property.c which cast
4537 mapi_SPropValue to SPropValue
4540 Split API documentation into two separate sections - one
4541 for libmapi and one for libocpf.
4543 Also add in a top level intro page.
4547 New build system which gathers a list of things that can be built with
4548 the libraries/utilities the user has installed and build that when
4553 Add missing allocation for OLEGUID
4555 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
4556 makes ocpf-syntax "exclusive" (quit after performing the operation).
4559 r371 was bad. What was I thinking with that nonsense!
4561 Revert to something sane.
4563 Make the ./bin/ directory if it doesn't exist.
4565 This should resolve ticket #33.
4569 Improve language handling when creating profiles.
4571 You can now get a list of valid languages and use either
4572 the language code ID or the language name to specify what
4573 language later versions of Exchange should reply with.
4575 Typo fix - duplicate ; at the end of the structure.
4577 Match format to unsigned int argument.
4579 Make the format specifier match the unsigned argument.
4583 propset svn:ignore update
4585 Update propset svn:ignore on doc/examples and libocpf targets
4587 - Fix ticket #29: http://trac.openchange.org/ticket/29
4589 - use access(2) to see if the database already exists
4590 - test if the profile already exists prior trying to add it
4591 - add descriptive error messages
4592 - catch CTRL-C signal and run a profile deletion routine
4595 Update API documentation for ocpf_nproperty_add().
4601 Fix mapidump_message call parameters
4605 Add fid/mid parameters to mapidump_message and changed
4606 openchangeclient_fetchitems to reflect these changes.
4608 Patch from Brad Hards <bradh@frogmouth.net>:
4609 updates the OCPF doxygen file.
4611 Patch from Brad Hards <bradh@frogmouth.net>:
4612 adds the doc/examples into the build system and enables make examples.
4614 Patch From Brad Hards, <bradh@frogmouth.net>:
4615 API documentation update and minor fix for the error value change.
4623 - Add PT_BINARY property support to OCP
4624 - Add stream support to OCPF for large PT_BINARY blobs.
4625 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
4630 - Prevent from assigning a value which type doesn't match with
4632 - Add missing substitution variable support for some named properties
4634 - Improve sample_appointment.ocpf example
4635 - Add PT_MV_STRING8 keyword to the list of supported property type
4640 Improve OCPF PT_MV_STRING8 support.
4642 - Initial revision for libocpf and its documentation
4643 - YACC support added to the build system
4644 - custom lid and string support in mapi_nameid
4645 - lookup functions added for OOM, lid and string
4646 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
4648 - PR_FID displayed in openchangeclient --mailbox
4649 - PT_MV_STRING8 support added to cast_mapi_SPropValue
4653 Patch from Brad Hards <bradh@frogmouth.net>:
4654 updates code to build with current API
4656 Patch from Brad Hards <bradh@frogmouth.net>:
4657 little update for some API dox
4661 - Add --update option to openchangeclient and allow users to modify
4662 existing messages (calendar, task, contact, note)
4663 - Add --delete option to openchangeclient and allow users to delete
4664 existing messages (calendar, task, contact, note)
4665 - Add some folder/message unique ID to mapidump outputs and send*
4666 openchangeclient functions.
4667 - Fix a bug in set_SPropValue: add sanity check on unicode
4668 string. Thanks to Suman Manjunath for this patch.
4669 - Fix mapidump_task function and identifiers of named properties used.
4673 Fix missing sanity check on priority
4675 Fix a bug in openchangeclient when tasks are created without body
4677 private flag added to openchangeclient appointments
4679 Fix folder IDs problem for Exchange 2007 SP1
4683 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
4687 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
4688 GetRecipientTable. We were extending SPropTagArray prior calling
4689 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
4690 and erroneous data to be inserted in the SRow.
4692 - Fix libmapi/socket/interface.c:
4693 - Use the latest version from Samba4 which removes reference to
4695 - Moves struct interface declaration to netif.h
4696 - Report changes to emsmdb.c notification functions.
4698 - Change GetGALTable prototype to match general libmapi policy. Remove
4699 the usage of bool and replace it with uint8_t. Possible values added
4704 - Improve NspiQueryRows IDL and implementation
4705 - Add GetGALTable implementation: fetch all the Global Address List
4707 - Add --userlist option to openchangeclient
4708 - Add a convenient and basic dumping function for Global Address List
4711 - Improve OpenMessage reply IDL
4712 - Fetch mapi recipients from OpenMessage reply
4713 - Add GetRecipientTable convenient function
4714 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
4715 GetRecipientTable implementation.
4716 - Add convenient SPropTagArray_add function
4717 - Add internal emsmdb_get_SRow routine
4721 Patch from Suman Manjunath <msuman@novell.com>:
4723 - Adds named-properties which define recurrence patterns for
4724 appointment and task.
4725 - Adds named properties for appointment timezone
4727 - Fix the SNotRestriction IDL and write custom push,pull,print
4729 - Add 2 new MAPI calls to the IDL:
4730 * GetSearchCriteria,
4732 - add sample {Get,Set}SearchCriteria torture test
4733 - add convenient mapi_id_array implementation
4734 - add GetDefaultFolder support for CommonView and Finder folders
4738 Make sure directory exists.
4742 - Fix tiny 'nail down samba4 version' bug
4743 - update the minimal Samba4 required version
4745 - Add FindRow call to the IDL
4746 - Improve mapi_Restriction support
4747 - Remove deprecated ndr_print_QueryRows function
4748 - Add a print function for fuzzyLevel
4749 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
4751 - Add couple of new MAPI tags to mapi-properties
4752 - change initial bookmark index to 3
4756 - Add 2 new MAPI calls to the IDL and mapitest:
4758 * GetReceiveFolderTable
4760 - Fix a bug in the SortTable test when no messages are returned by
4763 - Add SeekRowApprox to the IDL and mapitest
4764 - Fix some doxygen typo
4766 - New calls added to the IDL, torture suite and mapitest:
4769 - Internal mapi_object_bookmark_t implementation added to
4771 - SBinary_short default ndr_print function changed to custom
4775 Temporary fixes unexpected segfault in SortTable test. Emails sent
4776 during the Submit test have sometimes not yet been dispatched when the
4777 SortTable test begins. This fix adds a sleep(1) and an arbitrary
4778 number of attempts (5).
4780 Add 2 new MAPI calls to the IDL and libmapi:
4784 Tests for SortTable added to mapitest and the torture suite
4785 Test for AddressTypes added to mapitest.
4789 Fix perl bindings and fetchmail test
4791 2 new MAPI call added to the IDL and mapitest:
4797 - Add DeleteAttach MAPI call
4798 - Add new mapi unit tests:
4802 * GetAttachmentTable
4804 - Update mapitest README
4805 - Add some convenient functions to mapitest_common.c
4809 Add a preliminary draft of the mapitest standalone MAPI test suite.
4815 - Fix the build with the latest Samba4 version.
4817 - Add a basic libmapi/version.h auto-generated
4818 file (based on Samba4 one)
4819 - Remove some warnings when compiling the utf8
4821 - Add a emsmdb_info structure to fetch some
4822 information from the Exchange server
4824 WARNING: Please note that EMSABP is definitely broken and
4825 requires a review and update.
4828 DESTDIR should never get into any source files, that would defeat its purpose.
4832 Fix the torture suite.
4836 provide extra required argument.
4838 Store a loadparm context in the global mapi context.
4840 Deal with samba version.h's that don't contain the Subversion revision.
4844 Use SWIG-provided typemaps for stdint.
4848 Fix Content-Type field in exchange2mbox
4849 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
4853 - Improve the CreateMessage IDL
4854 - Add new parameters to IMAPIFolder CreateMessage libmapi function
4855 - Add --mkdir --rmdir options to openchangeclient
4856 - Update the CreateFolder API and openchangeclient documentation
4857 - Fix CreateFolder calls in openchange tools and torture suite
4858 - Fix gendb_search warning
4862 Add new PSETID_Address named properties
4864 Fix a few code convention typos
4866 Patch from Suman Manjunath <msuman@novell.com> applied:
4867 converts a 'struct timeval' to 'NTTIME'.
4868 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
4872 update Samba4 first revision to 26100
4875 Cope with ndr updates.
4879 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
4883 Fix profile creation in a clustered Exchange 2007 environment.
4887 Fix QueryColumns req size.
4891 ** Start libmapi-0.7 PHASER development **
4893 add --dump-data option to mapiprofile for debugging purpose
4897 openchangepfadmin (1) man page added
4899 Store messageID in the object when SaveChangesMessage is called
4901 Nail down Samba4 version for libmapi-0.6
4905 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
4906 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
4907 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
4908 - Fix a typo bug in openchangeclient body help string
4910 Update doxygen section
4914 - Add doxygen man (3) pages to installman and uninstallman rules
4915 - do not run doxygen if apidocs already exists
4919 Move documentation to doxygen
4923 Add convenient date related functions for implementors:
4924 returns a timeval struct matching a PT_SYSTIME property
4925 for improved date manipulation in 3rd party softwares
4929 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
4931 Fix make realdistclean when swig perl is enabled
4933 Fix swig perl bindins compilation: move *.o to *.po
4935 use talloc_memdup to copy const data in the body DATA_BLOB
4936 Should only provide valid pointer to talloc_free
4940 Fix the DeleteMessages [out] IDL.
4942 The remaining bytes were not part of DeleteMessages but
4943 MAPI notification (0x2a)
4947 - Add RTF support in exchange2mbox
4948 - Use openchange-tools public functions
4949 - Replace GetPropsAll calls with GetProps
4952 * Use GetProps rather than GetPropsAll for message dump
4953 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
4954 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
4956 -This line, and those below, will be ignored--
4959 A trunk/utils/openchange-tools.c
4960 M trunk/utils/openchangeclient.c
4961 M trunk/utils/openchange-tools.h
4962 M trunk/utils/openchangeclient.h
4963 M trunk/libmapi/mapidefs.h
4971 Remove useless svn:ignore
4974 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
4976 Original lzfu decompress routine fetched from libpst-0.5.2
4978 make enum MAPISTATUS variables naming uniform in libmapi
4982 Add PT_CLSID case to get_SPropValue_data
4984 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
4986 Patch from Brad Hards <bradh@frogmouth.net>:
4987 Fix compilation for x86_64 platforms.
4991 More svn:ignore updates
4993 Update of svn:ignore
4997 added the IDL license
4999 Convert OpenChange to GPLv3
5001 - Add .po files to make clean
5002 - Fix a couple of warnings in the utf8 conversion lexer
5003 - Prefer long filenames to truncated one for attachments in openchangeclient
5007 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
5009 Add PT_CLSID and PT_MV_CLSID support to the IDL
5011 - Add new named properties
5012 - Convenient function for MNID_STRING props lookup added
5015 Make .po a recognized suffix.
5019 Use -fPIC for library objects.
5023 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
5024 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
5026 - add mapi_nameid convenient interface and headers
5027 - mapi-named-properties populated, parser added to mparse.pl, file
5028 added to the build system
5030 - remove any incorrect reference to named properties in openchange
5033 - remove deprecated libmapi/mapi.h file
5034 - remove unused ulFlag parameter from IProfAdmin functions
5035 - remove unused memory context from libmapi/x500.c
5037 - support sendnote operation in openchangeclient
5038 - optimize check/list oc_element functions in openchangeclient
5040 - update swig interface
5044 - New MAPI calls: Named properties support
5047 * GetAllNamesFromIDs
5049 - Modified MAPI calls:
5052 These calls now have more granularity in libmapi with flags support
5054 - sample mapi-named-properties file introduced in libmapi/conf
5056 - Torture test suite:
5057 * suite temporary fixed (import torture_rpc_* functions from
5059 * torture_namedprops test added
5061 - SWIG Perl bindings fixed according to changes described above
5062 - minor improvements in libmapi/mapidump.c
5066 - Decrease MAX_READ_SIZE to 0x1000
5067 - Clean-up Read/WritreStream related code
5068 - add dump-data option to openchangepfadmin (debugging purpose)
5073 - remove reference to core/nterr.h
5074 - add global_loadparm reference where missing
5075 - add reference to core/error.h where needed
5078 Improve output during build.
5082 Pass loadparm contexts, should fix the build with newer Samba revisions.
5086 - WriteStream API changed: now returns the number of bytes written
5087 - WriteStream man page updated
5088 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
5089 - Set open mode to 0600 when attachments are stored on the filesystem
5094 Fix preliminary Perl bindings so it works with Samba4 alpha2
5095 and latest libmapi revision.
5097 Patch from Andrew Gaylard <ag@computer.org>:
5099 - When calling openchangeclient with the --dump-data switch, it will
5100 dump core, since the global_mapi_ctx pointer isn't initialised yet.
5101 The fix is to wait until it's set before accessing it.
5103 Patch from Andrew Gaylard <ag@computer.org>:
5104 - Leaving any blank lines before .TH directives appears to cause a blank page
5105 to be output when converting man pages to DVI files (which is a step to converting
5106 them to PDF). The following patch remove the blank line above the .TH in each man page file.
5108 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
5113 - Add objectClass to the object: container, message or attachment
5114 - Rename content to message in openchangebackup functions
5115 - add objectClass parameter to ocb_record_init
5119 - Move debug options to their correct location (after MAPIInitialize)
5120 - Improve code related to LDB transactions
5121 - Add convenient error checking macros
5125 - Add preliminary openchangemapidump draft
5126 - Fix lp_parm_* 1st parameter in the torture suite
5127 - New functions in property.c for MAPI data retrieval
5131 Use configure definition for mandir.
5135 Activate debugs this time
5137 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
5139 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
5141 Add error check for samr call.
5142 set errno with MAPI_RETVAL_IF.
5146 Make required packaged more clear (LinuxMagazin input)
5150 Remove invalid comment.
5154 - Clean-up function prototypes
5155 - Dump email when NEWMAIL notification is received
5159 Proper dependencies.
5161 Don't regenerate proto headers unless necessary.
5165 Use install for installing files/directories.
5167 Actually use replacement variable for libmagic.
5171 Remove forgotten BOOL
5173 Remove mapi_session pointer in mapi_objects
5174 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
5178 Prevent users from creation of *undeletable* folders in Outlook and
5179 perform sanity check on dirclass + display possible values.
5181 Provides a way to modify Default and Anonymous permissions for a given folder.
5183 Fix errno in getdir function + add sanity check on opt_rmdir
5185 - Fix a memory related bug in mapiadmin_add_user
5186 - Add latest howto.txt modifications from Dan
5188 - Fix bug in *UserPermission function: return when user is not found
5189 - Add sanity checks to mapi_object API functions
5190 - mapi_object_release reset errno to 0: need to release object
5191 after displaying the potential error message.
5193 Fix a mapidump_appointment bug
5194 Add PF folder support to fetch-items operation
5198 openchangeclient now support send/read/delete operation on custom PF directories.
5200 - Add libmapiadmin library draft: Add/Remove Exchange user
5201 - openchangepfadmin tool added: Public Folders management
5202 - Add Sanity check to CreateFolder
5207 Fix last references to BOOL, True and False.
5209 Fix more references to BOOL, False and True.
5211 Use standard type and values for booleans since Samba no longer exports
5212 BOOL, True and False.
5216 - Add OpenPublicFolder function to libmapi, Open Public Folder store
5217 - change torture suite API to match latest Samba4 pidl changes
5218 - utf8_convert regexp improved
5219 - minor changes: printf to DEBUG
5220 - howto.txt patch from Dan included
5221 - Samba4 torture code related to user account creation included in the
5226 Fix segmentation fault when running update prior populating the database.
5230 Remove obsolete file from the torture suite
5232 - Add Exchange Administration test to the torture suite: Create Exchange user
5234 Dan update on howto.txt
5238 - Add Exchange ACLs support to MAPI library
5239 - Add 2 new MAPI opnum: GetTable and ModifyTable
5240 - Improve mapidump functions
5244 - Improve aclocal check in autogen.sh
5245 - Fix flex binary detection in configure.ac
5253 Create libmapi.so symlink
5257 Fix mandir installation path
5258 Add ldconfig intructions to openchange installation documentation
5264 RES_AND and RES_OR preliminary implementation.
5268 - doc patch from Brad Hards
5269 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
5270 - fix a warning in property.c
5274 Add some 'const' (fixes compile warnings).
5276 Use sonames (required for the Debian packages).
5278 Add .bzrignore file.
5280 Update version number and use globally defined version number in libmapi.pc.
5284 - Add IDL implementation for restrictions Content, Property,
5285 CompareProps, Bitmask, Size, Exist.
5286 - Add Restrict MAPI call handling the restrictions above
5287 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
5288 - convenient sendmail function added to mapi_common.c
5289 - get property size function for mapi_SPropValue added to property.c
5291 test --This line, and those below, will be ignored--
5295 M torture/openchange.c
5296 A torture/mapi_restrictions.c
5297 M torture/mapi_common.c
5298 M libmapi/property.c
5299 M libmapi/IMAPITable.c
5303 Documentation update: Perl bindings installation
5307 - Add mapitags and mapicode support to Perl SWIG bindings
5308 - SPropTagArray support
5309 - SRowSet preliminary support
5310 - new constructor/destructor for mapi objects
5314 - IProfAdmin patch applied: having password outside of the profile
5316 - Perl bindings draft added to the trunk and to the build system:
5317 --enable-swig-perl=yes
5319 - datarootdir fixed in libmapi.pc.in
5323 - Add CopyMessages IDL and COPYMAIL torture implementation
5324 - Fix man page install dir according to latest Samba4 changes
5325 - Add datarootdir var to libmapi.pc.in and fix configure warning
5329 convenient function which retrieve a value from a SPropValue array
5330 given its property tag name, otherwise NULL
5334 Patch from Brad Hards <bradh@frogmouth.net>:
5335 openchangeclient man page updated
5337 - Add Windows UTF8 to classic UTF8 conversion through a lexer
5338 - openchangeclient --mailbox option changed to use it
5339 - flex and bison support added to configure.ac
5340 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
5344 - features added to openchangeclient:
5345 * --send-appointment
5349 - openchangeclient man page updated
5350 - new properties added to mapi-properties
5352 - Add man pages for simple_mapi.c functions:
5354 * GetFolderItemsCount
5356 - Remove deprecated functions from IMsgStore.c
5357 - Update man pages documentation
5359 Fix install rule in Makefile: add missing headers
5360 Move callback retval from uint32_t to int
5362 Fix notification callback retval
5364 - Advise opnum added to the IDL
5365 - Parts of the Notify response IDL implementation
5366 - Add Notification support to libmapi
5367 - Add --notifications option to openchangeclient
5371 Patch from Brad Hards <bradh@frogmouth.net>:
5372 - PR_BUSINESS_FAX_NUMBER
5373 - improves the information provided on a contact by
5378 - Fix the release call in,out
5379 - Call Release from mapi_release_object
5380 - Add sanity check to OpenMsgStore
5381 - clean up parts of the mapi_newmail test
5383 EcDoDisconnect code now sounds to work properly
5384 Tested against Exchange 2000 / Exchange 2003
5386 - Fix SpropValue property pull problem when GetProps layout is set
5387 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
5388 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
5389 - Add debuglevel and dumpdata options support to openchangeclient
5393 - Remove useless memory allocation in mapidump.c
5394 - Improve mapidump_appointment
5395 - Add sample mapidump_note
5396 - Add --fetchitems option to openchangeclient:
5397 This command offers an easy way to fetch calendar, contacts,
5398 tasks, notes and mails from the Exchange server.
5399 - Add IPF container class defines to mapidefs.h
5400 - Add and Fix property tags
5404 - Commit the EcDoRpc max_data patch proposed on the devel list
5405 - Clean up folders related functions from the torture suite
5406 (GetDefaultFolder makes this code obsolete)
5410 Add the --mailbox option to openchangeclient which recursively
5411 lists the full mailbox folder hierarchy
5413 - Add PT_SYSTTIME support to get_SPropValue_data
5414 - Add mapidump_SPropValue_date dumping function
5415 - Add PT_SYSTIME support to mapidump_SPropValue
5417 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
5420 - Add GetDefaultFolder implementation to simple_mapi.c. This function
5421 provides a convenient way to retrieve default folders ID. const
5422 olFolder values are stored in libmapi/mapidefs.h
5424 - Modify the torture test suite to reflect these changes.
5426 - OpenMsgStore now decodes all the fid returned in the response
5428 - fix a bug size in libmapi/property.c
5432 - Fix SMTP recipient in libmapi
5433 - Add SMTP recipient support to openchangeclient
5434 and the torture test suite
5435 - Fix a bug in SRow_addprop
5439 - OpenMessage IDL changed: we have a permission field.
5440 It is now set by default to 0x3 (read/write) until we
5441 change OpenMessage prototype.
5443 - Add a sanity check to MAPIInitialize when no profdb
5448 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
5450 - SetReadFlags IDL and implementation added to libmapi
5451 - Warning fixed in emsabp.h
5453 Fix a bug in openchangeclient when attachments are using
5454 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
5455 attachment filename.
5457 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
5458 private structure member to private_data for C++ compatibility.
5460 Add libmapi/simple_mapi.c designed to hold convenient
5461 functions for application development.
5463 - GetFolderItemsCount added which returns the number of
5464 total and unread messages for a given folder.
5468 - Fix a body openchangeclient bug which now prevent openchangeclient
5469 from segfault when no body is specified.
5470 - Add GetDefaultProfile call to exchange2mbox for the default
5472 - Improve fuzzer_msgtore output
5476 Add a fuzzer torture test on OpenMsgStore which
5477 test all the possible max_data value.
5479 Should help to understand if libmapi fails because
5484 exchange2mbox improved:
5485 - tdb dependency removed
5486 - message-id are now stored in the profile database
5487 - it now mirrors deletion operation from the mbox file back to the
5489 - man page updated to reflect these changes
5491 - GetProfileAttr function prototype modified. It now returns the
5492 results count for the given attribute and store values in a string
5494 - GetProfileAttr man page updated to reflect these changes
5495 - Fix mapiprofile attribute search command
5496 - migrate from open/write calls to stream ones in exchange2mbox
5499 newmail torture + notifications implementation
5505 Fix the SambaXP live demo segfault: When an ambiguous recipient is
5506 specified, it now skips the name properly and maintain a correct
5509 - Fix a bug when storing attachments into mbox
5510 - Add default path support to exchange2mbox
5514 - Update libmapi version according to the roadmap
5515 - Fix nspi_resolvenames to use default profile database and profile
5519 - Add default profile database and profile support in the torture suite.
5520 - Fix a bug in mapidump_task
5524 - Change MAPILogonEx to MAPILogonProvider and avoid potential
5525 emsmdb endpoint related problem
5526 - add sanity check on global session pointer
5530 Merged MAILOOK-branch changes r64:163 into the trunk.
5534 Remove ChangeLog, use svn log instead ;p
5538 - libmapi includes moved from libmapi/include to libmapi
5539 - Remove arguments from prototype definitions generation in mkproto.pl
5540 - __BEGIN_DECLS __END_DECLS support in header files
5541 - united libmapi/libmapi.h header file
5542 - openchange.h header removed
5543 - PIDL generated files moved to gen_ndr
5544 - compilation rule for libmapi header installation added
5545 - useless torture tests removed
5551 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
5552 Add GetAttachmentTable call
5558 Remove -Werror CFLAGS until I figure out how to fix
5559 our problem definitively.
5561 Remove static from dcesrv_exchange.c functions definition
5566 . reimplement GetProps
5567 . retrieve attachment size
5568 . modify fetchmail and fetchattach torture
5573 . add GetPropList to exchange.idl
5574 . add GetPropList implementation to IMAPIProp.c
5577 - Add fetchattach torture; Attachment size is not yet
5578 defined and 42 is used.
5579 - add 3 new EcDoRpc opnums:
5588 Forgot to add IMAPISession.c
5594 Remove spurious warnings at compile time and
5595 add -Werror -Wstrict-prototypes to CC.
5599 Dispatch libmapi functions into filenames matching
5600 the MAPI interface they belong to.
5604 Fix the attach issue by value and add torture test to
5605 the openchange torture suite.
5610 attachment torture test implementation
5616 Add a null element at the end of MAPI_REQ array
5617 so we can exit from the loop in ndr_print_mapi_request
5621 - Add the DeleteMessages IDL
5622 - New torture tests added:
5623 * OPENCHANGE-MAPI-SENDMAIL
5624 * OPENCHANGE-MAPI-DELETEMAIL
5626 These are experimental implementation
5631 subject option for delete message torture test
5635 added (recipients == null) check
5637 added default subject
5642 Add NspiResolveNames and the associated torture test.
5648 Fix nspi decoding problem due to the usage of
5649 a hyper instead of a dlong.
5653 - Add a preliminary NspiUpdateStat IDL
5654 - Fix the new server code convention naming
5655 (function prefixed with dcesrv_)
5656 - Fix a security bug in emsabp provider code
5660 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
5664 Add SetProps [out] support.
5666 Temporary allocation pb fixed in ndr_pull_mapi_response.
5667 Final fix in next commit.
5673 Fix the SetProps [in] IDL
5675 New mapi call support added:
5676 - ModifyRecipients [in,out]
5677 - SubmitMessage [in,out]
5681 Add IDL support for the following mapi calls:
5686 The SetProps IDL is still experimental and the
5687 content blob should be decoded more than the current
5694 Fix the align problem in QueryRows reply blob
5695 Add some printing output and clean useless DEBUG.
5701 Fix the OpenMessage IDL and add ndr_print support
5702 to the MAPI-FETCHMAIL torture test so we can
5707 Commit of the first experimental but working implementation
5708 of the MAPI-FETCHMAIL torture test able to retrieve mails
5709 from an Exchange Server.
5713 - Add a preview implementation of cached data system for multi MAPI calls requests
5714 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
5715 - Enhance some MAPI calls IDL
5716 - Fix some pull/print functions according to error_code and row_count values
5722 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
5723 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
5724 we have to stop processing the function IDL since no parameters follow.
5728 add MAPISTATUS to EcDoRpc_MAPI_REPL
5729 add mapi library code for:
5735 add mapi calls described above to MAPI-FETCHMAIL torture test
5739 add mapi_response to emsmdb_transaction so we can get the results
5740 check the mapi call error core in OpenMsgStore
5744 Add MAPISTATUS field in each mapi calls
5745 Add new MAPICODE (MAPI_E_CALL_FAILED)
5749 Fix the mapi_request push function
5750 Add a first approach to the MAPI client side library
5751 Add a first approach of the MAPI-FETCHMAIL torture test
5752 Fix the smb.conf.example with new fields and remove Samba4 unused ones
5758 Initial mapidump commit
5759 OpenMessage IDL fixed
5765 Unused and dummy code removed
5769 - Remove the MAPI decoding TDR layer and associated functions
5770 - Add MAPI decoding in exchange.idl at NDR layer
5771 - mapi_request / mapi_response pull/print ok
5772 - implement subcontext for async response decoding in
5774 - new MAPITAGS added related to Message envelope properties
5775 - clean up the code and remove unused files
5777 - Add new MAPI opnums and associated IDL:
5778 * [in] Release (opnum=0x1)
5779 * [in,out] OpenFolder (opnum=0x2)
5780 * [in,out] OpenMessage (opnum=0x3)
5781 * [in,out] GetContentsTable (opnum=0x5)
5782 * [in,out] GetProps (opnum=0x7)
5783 * [in,out] Secolumns (opnum=0x12)
5784 * [in,out] QueryRows (opnum=0x15)
5785 * [in,out] GetReceiveFolder (opnum=0x27)
5786 * [in,out] OpenMsgStore (opnum=0xFE)
5792 For IDL with unknown fields followed the IDL may
5793 change and the mapping of these unknown bytes incorrect.
5794 It's just based on assumptions and results of the different
5799 - The mapi_request / mapi_response pull function
5800 - emsmdb torture tests and libmapi/emsmdb.c
5802 All this code is currently broken and will be fixed
5803 when we start writing the new emsmdb torture suite
5811 Fix ndr_pull_MAPI_DATA function
5815 - Add new mapi opnums
5816 - Add a first IDL implementation for OpenMsgStore out
5820 - Enhance the handles id support in MAPI_DATA
5821 - Remove unused code
5823 EMSMDB encoding/decoding is currently broken.
5824 It will be fixed when we start the client side
5825 mapi library implementation.
5831 - Change IMAPISession.idl to mapi.idl
5832 - enhance mapi content payload decoding (multiple calls supported)
5833 - add sub EcDoRpc opnums and IDL for setcolumns (in)
5840 - new function on emsabp provider for entry id generation
5846 Old mapitables code deleted and merge of the samdb
5847 code used in openchange (emsabp_result_guid function).
5849 The following revision compiles and work fine with
5850 Samba4 revision 20341
5857 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
5863 - Fix compilation warnings based on patches provided
5864 by Stefan Huehner <stefan@huehner.org>
5865 - Fix the DSO issue for x64 platforms
5866 - Add the evolution plugin in the compilation process
5867 - remove the mapidump code (obsolete and replaced with ndrdump usage)
5873 evolution plugin moved into client/evolution for
5874 a correct and extensible naming convention.
5876 EcDoRpc IDL modified:
5877 - opnum are now 8 bits
5879 - EcDoRpc ndrdump output enhanced
5881 IMAPISession IDL modified:
5882 - Change OpenMsgStore function name to MAPI_RPC_LOGON
5883 for the 0xFE opnum operation.
5885 Fix warnings in the code.
5891 Openchange-Evolution plugin commit
5892 I reorganized openchange evolution plugin source tree.
5893 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
5894 Everything can be found in the oc-evolution directory.
5895 This is code a minimalist implementation of the camel provider for evolution.
5896 It will make appears an openchange server type in the server list handled by evolution.
5897 Still have to fix the ./configure to create a Makefile though.
5901 Fix the memory allocation problems in the emsmdb torture test
5905 Removed ascstr and directly add it to the IDL
5907 Fix the NspiQueryRows response where strings
5908 containing the user email address have to be
5911 The EMSABP provider is working ;-)
5915 The emsabp provider is now able to return multiple users
5916 when searching for part of a username.
5922 Fix the networkAddress binding strings for the
5923 Exchange object in the configuration db. The
5924 SERVER variable based on exchange:server had
5925 been added while we needed the NETBIOSNAME one
5927 Fix a segmentation fault in emsabp.c due to an
5928 unchecked pointer res->msgs. This was causing
5929 smbd to segfault when the supplied legacyExchangeDN
5930 sent by the user wasn't present in the database.
5936 Remove unused files and directory.
5937 Update Makefile.in and remove storedb compilation
5946 - provisioning (for the legacyExchangeDN of the server entry)
5950 Fix the build and remove dynconfig samba lib
5956 Unused ldif files removed + Schemas definitions updated
5960 Provisionning fixed (old ldif files cleaned)
5966 add tags rules to the Makefile
5970 add the \\pipe\\protected_storage named pipe
5971 to exchange_nsp bindings
5977 Add a dcerpc_server module in charge of the
5978 exchange interfaces registration. When this module
5979 is loaded prior the remote endpoint, it let us proxify
5980 the exchange_nsp and exchange_emsmdb ones.
5982 Change the exchange_nsp ncacn_np binding string to
5983 reflect how Exchange server is currently using it.
5985 Conform the IDL with latest pidl requirements and
5986 move the MAPI_DATA structure from exchange_nsp to
5993 Create the $prefix/modules/{dcerpc_server,torture}
5996 This fix openchange make install rule.
6000 This commit conforms openchange with the Samba4
6001 trunk and fix the autotools checks.
6003 I've modified the openchange torture file to
6004 match the current smbtorture API and the
6005 OPENCHANGE-NSPI-PROFILE test was successful.
6007 The NSPI ndrdump suite has fully been tested and
6014 This commit fix the build system:
6015 - add the -ldynconfig dependency to LDFLAGS
6016 - add header checks in configure.ac. We need them
6017 for the moment cause Samba4 doesn't install some headers
6018 required by openchange core
6019 - fix the make install
6021 - remove autotools generated files and definitively
6022 ignore them with the .svnignore file
6024 - keepref keyword removed from exchange_nsp interface
6029 + aclocal.m4 removed from repository
6030 + provisionning fixed