4 Prevent segfault if we don't have any appointments.
8 Also prevent leaking talloc context in a couple of error cases.
10 Merge Rev 2133 from branches/current-samba4 to trunk.
12 I inadvertently committed this to the wrong branch.
14 This pushes the fix for #229 into trunk.
24 Add a git update case in installsamba.sh script and make it available
25 within OpenChange Makefile.
30 Manually commit remaining changes from current-samba4 into trunk
32 Merge current-samba4 branch back into trunk
37 Microsoft confirmed that RopGetValidAttachments isn't supported in Exchange 2010.
39 fix missing part of r2113.
41 Fixes to better work with Exchange 2010.
43 Still some open issues to resolving bug 227.
45 Fix handling of "not applicable" tests when using --mapi-calls
47 Prior to this, if you asked for a test that was after a test that was
48 flagged as suppressed, the test you asked for didn't get run, and the
49 flagged test was reported instead.
53 Correctly handle cases where the start date of the range is after the first calendar appointment.
57 Thanks to Eric Reischer for reporting the problem and testing the fix.
62 trivial comment cleanup.
67 Move from auto-generated mapicode.h to static code.
69 Add configure.ac support for gthread implementation but give preferences to pthread
70 Add THREAD_CFLAGS to config.mk.in
71 ifdef between pthread and gthread in libmapi_private.h
73 Check for libpthread in configure.ac and make this lib optional
74 Add references to config.h in libmapi_private.h
75 Replace references to config.h with libmapi_private.h
80 - Add an exchange-version parameter to mapiprofile structure and tool
81 which let user choose between 0x0/0x2 or 0xA/0xB
82 - Tweak libmapi implementation to allow EcDoConnectEx usage
83 - Improve mapiprofile --dump to show more useful parameters
85 - Add custom NDR implementation for EcDoConnectEx to bypass pointers/array problems
86 - make use of mapi2k7_AuxInfo structure for rgbAuxOut
88 - Create a subcontext for AUX_HEADER structures to jump over unknown cases properly.
90 Handle the no obfuscation nor compression RPC_HEADER_EXT flags case
93 Trivial api documentation change.
98 Another trivial API documentation fix.
100 More trivial API documentation fixes.
102 Minor API documentation fix.
104 Implement some null pointer checks.
106 Also rewords some API documentation.
108 Original issue and patch by Erik Hovland - thanks again. I implemented it
109 with some slight changes.
114 Fix RecipientRow IDL to match MS-OXCDATA 2.9.3
116 This allows handling of addresses that contain X400 format content.
118 Patch by Samuel Sieb and I, resolves ticket #250.
123 Fix a crash in openchangeclient vs Exchange 2010:
124 When Queryrows is called on Exchange 2010 and no rows are available, QueryRows returns MAPI_E_NOT_IMPLEMENTED error (0x8004FFFF).
125 Ensure we have at least one message to fetch in openchangeclient --fetchmail prior calling QueryRows.
130 Very basic use of OpenUserMailbox in openchangeclient.
131 Doesn't handle clustered Exchange servers.
134 Rename a few function arguments to avoid doxygen warnings.
136 This is a workaround, but will allow easier checking for the future.
138 Update doxygen configuration to match latest version
140 Add missing doxygen parameter information.
142 Fix a couple of doxygen issues.
147 Use sed in Makefile to replace local headers reference in installed headers
149 Use local headers rather than installed ones
150 Propagate this behavior to torture test suites and bindings
152 Remove libmapi/defs_private.h
153 Remove references to libmapi/defs_private.h in OpenChange tree
155 Remove auto-generated headers for libmapi:
156 - Add libmapi_private.h for private definitions
157 - Use libmapi.h for public definitions
159 - Merge libmapi_private.h and defs_private.h
161 Use local headers rather than installed ones
163 Change libmapi compilation list to have ndr_exchange_c.h
164 available for other libmapi C files.
166 Remove references to libmapi/proto_private.h in OpenChange tree
167 Remove references to libmapi/defs_private.h in OpenChange tree
172 Modify the samba build script to make it more flexible.
174 Heavily based on changes provided by Andrew Tridgell. Thanks!
179 Use local includes rather than installed ones for openchange tools/utils
181 Use local includes rather than installed ones for mparse.pl
183 Use local includes rather than installed ones for mapiproxy and server components
185 Use local includes rather than installed ones
187 Use local includes rather than installed ones for libexchange2ical
188 Sanitize function declarations
190 Remove proto and proto_private.h from ignore list
192 Remove auto-generated headers for libmapiadmin
193 Use local includes rather than installed ones for libmapiadmin
195 Remove proto and proto_private.h from ignore list
197 Remove auto-generated headers for libocpf
198 Use local includes rather than installed ones for libocpf
200 Fix bug #248 misnamed PR_RECIPIENTS_FLAGS
202 Add IDL implementation for WritePerUserInformation.
204 Note: This IDL suffers from the same problems than SetMessageReadFlags. It depends on logon_id and Logon flags.
209 Add server-side preliminary ReloadCachedInformation implementation.
210 The Rop only support a specific case and it is expected to work better after
211 integration of the OCPF contexts for message transaction.
213 Missing header for stat()
218 Implement RopSetReceiveFolder
220 There is a part of this missing (relating to modification times) that will be implemented
221 as part of the RopGetReceiveFolderTable implementation.
223 This updates the mapitest code, including a change to the function signature for the
224 mapitest_print_retval_step() function to take an explicit MAPISTATUS value instead of
225 relying on GetLastError().
230 Enhance the GetReceiveFolder ROP.
232 This now tries all available MessageClass entries.
234 Enhance GetReceiveFolder mapitest.
239 Make sure objects are correctly init()'d and release()'d even in fault condition.
241 Make sure objects are correctly init()'d and release()'d even in failure case.
243 Make sure all objects are initialised, even in failure cases.
245 Trivial comment change.
247 Add a few more null pointer protections into fsocpf backend.
249 Trying to get mapitest running...
254 Add mapitest unit test for DeleteMessages with multiple messages.
256 Implement DeleteMessages ROP.
258 Adds message deletion support to mapistore core and fsocpf backend.
260 I've been testing this with OXCMSG-SAVE-CHANGES-MESSAGE from mapitest.
262 Make it a bit easier to use alternative GIT tree.
264 Ensure we return the correct MID from SaveChangesMessage
269 Fix a segfault when releasing handles. We kept
270 processing the handles list after releasing the element.
273 Add some simple tests for openchangeclient.
275 Unbreak compilation problems from previous commit.
277 Ensure we don't duplicate folder names.
279 This adds appropriate checks for both system (openchangedb) and normal (mapistore)
280 folders. The mapitest code also checks that the OPEN_IF_EXISTS flag works.
282 I had to add an additional mapitest_print_retval() variation, since successful operations
288 add support for PT_CLSID and PT_SVREID in cast_mapi_SPropValue
290 Add a memory context argument to cast_mapi_SPropValue to be less
291 dependent to libmapi and allow better memory allocation handling.
293 Propagate API change among OpenChange source tree
295 Add doxygen documentation for cast_mapi_SPropValue
298 Make sure we always set the opnum and handle, even for error cases.
300 Suppress compilation noise in a few places for consistency with the rest of the Makefile
304 Add ocpf_write support for PT_MV_STRING8, PT_MV_UNICODE, PR_MV_BINARY
307 - Add documentation for PT_MV_LONG
308 - Update PT_BINARY section
310 - Fix PT_BINARY to now parse uint8_t 0x00 - 0xFF instead of previous
311 (and incorrect) long items
313 - Add implementation for PT_MV_LONG
314 - Clean up useless code
316 Add mapidump_SPropValue for PT_MV_LONG
318 Add support for PT_MV_UNICODE type
320 Add mapidump_SPropValue for PT_MV_UNICODE
322 Add support for PT_MV_BINARY type
324 This implementation required to add a Binary_r within ocpf_context to
325 union SPropValue_CTR content consistent among recursive parsing.
327 Add PT_MV_BINARY support in cast_SPropValue
329 Add mapidump_SPropValue entry for PT_MV_BINARY
331 Do not search context if context_id is NULL
333 - Add a function to synchronize data on filesystem after a write
334 commit (close/fopen) and change open and context flags depending on
335 their previous value.
337 - If PR_MESSAGE_CLASS or PR_MESSAGE_CLASS_UNICODE is used for
338 set_SPropValue, update context type.
343 Fix warnings generating by the incorrect .tp_new first argument type
345 - Implement server-side skeleton for ReadPerUserInformation (0x63)
347 - Use external TALLOC context for cast_SPropValue rather than
348 global_mapi_ctx->mem_ctx. This was preventing from using this function
349 properly in a context different from libmapi based application
352 - Add cast_SPropValue support for PT_CLSID and PT_MV_LONG
354 - add message path + id in the indexing database for mapistore case in
357 Add default owner/full rights to new root folders created. Works with
358 Outlook 2003 (shift + delete for hard delete)
360 Add PT_SRVEID support in SPropValue (0xFB proptype)
362 Add owner / full-access rights for mailbox folders. It introduces less
363 stabilitity but offers wider range of available features.
365 Generate PidTagRights for PR_RIGHTS (used in openchangedb)
369 - Complete fsocpf_get_path implementation
370 - Register message into indexing.tdb after SubmitMessage
372 Add ocpf_server_set_type python bindings.
374 Ohhh looks like we have reached r2000 ;-)
381 <~- - , ,[].'.[] ~> ___
386 -----{. _ _ .}-------------------
388 - Add SetProps server side implementation for mapistore messages
390 - Add a preliminary set of properties within CreateMessage (not
391 complete yet) as stated in MS-OXCMSG 3.2.5.2
393 - Add SaveChangeMessages preliminary server side implementation
394 - Add SubmitMessage preliminary server side implementation
396 - add mapistore and fsocpf backend implementation for
397 SaveChangeMessages and SubmitMessage. Note: SubmitMesage is just a
400 - Add a wrapper to set OCPF file TYPE
401 - Free/Allocate type on purpose
403 storing a mapistore_message within the message object is useless for
404 the moment. Clean-up this bit introduced with last commit.
406 - Add preliminary OCPF API for server purposes (used by
409 - ocpf_server API now allows caller to dynamically update
410 properties. If the properties was already existing, updates its
413 - Update ocpf_test.py to reflect this behavior
415 - Add preliminary server side implementation for CreateMessage (server
416 + mapistore + fsocpf backedn)
418 - Add preliminary mapistore + fsocpf backend skeleton for SetProps
422 Typo fix in constant name.
426 - Only prevent file opened in read-only to use write_commit
427 - Position the stream at the beginning of the file before writing
429 Defer ocpf file creation (fopen with w+) to ocpf_write_commit
431 Add rmdir support to mapistore python bindings
433 - Add mapistore python C/API support for:
434 - add_context_indexing
435 - add_context_ref_count
439 - errstr MAPISTORE error to string conversion
441 - Update mapistore python test script to demonstrate
442 how to create a new folder using mapistore
444 I may be wrong here, but that was the only way I could pass
445 a folderID from python's layer to mapistore C/API
447 If context is manually deleted using public API, we need to remove the destructor
448 we set during context init, otherwise talloc_free segfault occurs
450 talloc_strdup SPropValue strings
452 Add preliminary python bindings for mapistore
456 Add FILETIME support for SPropValue
458 Add TypeCheck on SPropValue rather than blind cast
460 Add python binding for ocpf_write
461 Add quick test code to ensure it works as expected
463 - Use SPropValue python object in ocpf module
464 - Add a function binding to retrieve SPropValue array from OCPF file
465 - Modify sample to test this behavior
467 - Move OCPF python bindings to pyopenchange directory
468 - Install ocpf module within openchange/
470 - Check property type for SPropValue
471 - Add auto-generated pyopenchange/pymapi_properties.c to the ignore list
473 - Add preliminary OCPF python bindings
474 - Add a new pyopenchange python bindings directory:
475 - Preliminary handling of SPropValue data structure
476 - Add some python bindings test files
477 - Add a mparse parser to generate python bindings declaration for mapi
479 - Build automatically python bindings ** We need to add Python as a
480 required dependency **
483 Implement EmptyFolder and enhance DeleteFolder.
485 This still has quite a way to go, but it does mostly work for folders, including recursion.
487 Add extended test code for folder creation / deletion.
489 Add libmapiserver support for EmptyFolder size calculations.
510 Fix OOM used in sample_appointment.ocpf
512 Consolidate PSETID array and rely on libmapi definitions.
517 Add server-side skeleton for WriteStream Rop.
519 Add server-side skeleton for SetSearchCriteria and GetSearchCritera
522 Improve GetSearchCriteria IDL and work around the null restriction
523 response size in GetSearchCriteria reply by tweaking generated code
524 into nopull,nopush,noprint
526 Add generated mapistore ldif file to the ignore list
528 - Add preliminary implementation for named properties support in
529 mapistore. The API is yet very preliminary (init + get mapped
530 property ID), but is enough to return consistent data to Outlook and
531 make its behavior more reliable.
533 - mparse.pl now generates a LDIF file for the mapistore namedprops LDB
534 database which maps named properties within namespaces and store
535 default values for common/standard named properties Outlook is
538 - add a custom ldb_connect wrapper in mapistore to allow mapistore to
539 open multiple instances of the same mapi named properties ldb
542 - Complete preliminary implementation of GetIDsFromNames in oxcprpt.c.
546 - Fix some named properties
547 - Add a referenced propID value once it is mapped.
548 Will be used by mapistore to populate/generate the initial
549 nameid props database
551 Fix a bug with unmapped named properties lookup.
552 For convenience purposes GetProps accepts within input SPropTagArray
553 unmapped named properties we internally turn into mapped ones using
554 GetIDsFroNames. This behavior was incorrect cause we were looking for
555 properties within specific ranges. Replace this behavior with a global
556 lookup over named properties we know about.
558 One limitation of this fix is that custom nameid properties (not referenced
559 within libmapi/conf/mapi-named-properties) won't be lookup. However it is
560 acceptable for the moment.
563 Fix signed / unsigned issue in openchangebackup utility.
565 Fix some signed/unsigned issues in libmapi.
567 Fix up signed / unsigned issues with libocpf.
569 This changes the API to allow easy testing of failure vs results.
571 make sure that the 0 is interpreted as unsigned.
573 Fix a signed / unsigned comparison warning in libmapi.
575 Fix some signed / unsigned warnings in torture suite.
577 Avoid signed / unsigned comparison in libmapiadmin.
579 Avoid signed / unsigned comparison in openchangedb.
581 Avoid signed / unsigned comparisions in mapitest
583 Avoid signed / unsigned comparisons in FSOCPF backend.
585 Fill in initialisers.
587 Avoids warning with gcc's -Wmissing-field-initializers option.
590 Fix imports, clean up.
592 Raise exception on invalid arguments to openchange_mapistore_url.
599 Use calculated len inside the loop, instead of calling strlen each time.
603 Add new properties and PSETID
607 Change variable name to avoid shadowed variable name warning with ICC.
609 Add newline at end of file to avoid compiler warning with ICC.
613 Ensure server modules work when building with coverage enabled.
616 Consistently use spaces rather than tabs.
618 Remove string exception.
620 Remove duplication of openchange name in namespace.
624 We didn't set a valid error_code for FindRow skeleton.
626 - Add server-side skeleton for ReadStream ROP.
627 - Add preliminary sanity checks on server-side FindRow
631 Activate correct handling of retval in CreateFolder, despite Outlook
632 2007 bad behavior. Currently working on fixing this.
634 My small Outlook 2007 'Search missing ROP implementation' shouldn't
637 Add server-side skeleton for DeleteProperties Rop.
639 Implement server-size skeleton for GetPerUserGuid Rop.
641 Add server-side skeleton for GetPerUserLongTermIds Rop.
643 Add a preliminary stream object implementation
644 Add stream to emsmdbp convenient functions
646 Create a handle in OpenStream
648 Add skeleton server side implementation for OpenStream
650 Forgot to redo changes here.
652 - Undo the SetMessageReadFlag IDL change and add an explanation, so we
653 don't make the same error twice and have pointers when we want to fix
655 - Improve OpenMessage IDL and add the Reserved uint16_t bit.
656 - Replace sizeof() with known types to prevent from IDL mismatch types
659 For single process implementation, this code was fine.
660 For multi-process/contexts, when we need to cache information
661 to limit disk access, we should be using the ocpf element as
664 This patch makes it possible.
666 Fix SetMessageReadFlag IDL.
668 Add server side skeleton for SetMessageReadFlag Rop.
670 the previous "or"ed value used in LogonType union was non handled
671 properly by pidl. Replace them with static values instead. This
672 prevent Outlook rom reconnecting in different situations.
674 This was causing the ndr push error. Outlook now receive OpenMessage
679 With current implementation messages loaded and added to the mapistore
680 fsocpf private list were never released/unloaded/free'd.
682 Similar behavior would have occured in the future with folders. Add a
683 mapistore release_record function which will free/delete
684 information/data associated to a given folder/message.
686 - Add a preliminary OpenMessage reply implementation
687 - Add a function to resolve recipients against AD
688 - Add implementation of GetProps for mapistore messages
689 - Add mapistore getprops semantic
690 - Add fsocpf getprops implementation
692 Note: current implementation does not free message object and memory
693 allocation needs to be revised.
695 Note 2: openchangeclient --fetchmail works with this version :-)
697 Fix OpenMessage response size calculation. Subcontext size is already
698 calculated when we add the RecipientRow.length size to the global size.
700 - Make ocpf_recipClass public
701 - Turn path to headers to local in the lexer
704 Avoid leaking file descriptors on error.
706 Check return type for vasprintf in libocpf.
710 Change mapistore openmessage semantics to fetch/retrieve recipients
711 and properties from mapistore. Modify OpenMessage ROP to dump
712 mapistore_message structure contents retrieved from mapistore.
714 Add a function to retrieve recipients from a parsed OCPF message.
716 This is a wip commit, so there is a lot of DEBUG across the code. This
717 will go away in further commits when the implementation is complete.
719 - Add indexing API to mapistore. This API adds an indexing.tdb file
720 within user's mapistore private space and associate MID and FID to
721 their full mapistore path. Current implementation expects folder and
722 mid are repsented under their hexadecimal representation and using
723 the 0.16PRIx64 format string. It is not robust, but should do the
724 trick for the moment. Among features available:
725 - create/open the indexing database
726 - search of existing indexing context
727 - ref count assessors
728 - add/delete fid/mid records
729 - retrieve the list of folders pointing to an element (parsing
730 of the mapistore URI)
732 - Calls to the API have been added to the emsmdb provider
733 implementation for initialization and automatic attempt to add
734 entries whenever we open a folder.
736 - Add preliminary code (relying on indexing API) for OpenMessage when
737 parent handle is the store object. The entire set of cases for
738 mailbox have been included.
740 - Add mapistore code for op_openmessage operation.
741 - Add message list to the fsocpf context
742 - Add preliminary fsocpf backend code to open a message and store it
746 Refactored some of the FSOCPF backend.
748 Basically some Extract Method refactoring to improve code re-use.
750 Use PRIx64 macro to avoid compiler warning.
755 Add a new OCPF error OCPF_E_EXIST returned if a context already exist.
756 Prevent ocpf_new_context from adding a context to the list if it
759 Clean up debug code introduced while working on new libocpf version
761 - Make libocpf reentrant and use contexts/ref_count: No more globals
762 are used in libocpf, they are all specific to contexts. libOCPF is
763 now multi-process/thread friendly.
765 - Remove Makefile bison compiling option with a bison %option in
768 - Propagate libocpf changes to openchange server and utils
770 - Fix a bug in file/folder listing when we have both folders and
777 - add libmapiserver calculation for OpenMessage + related OXCDATA structures
778 - add skeleton implementation for server-side OpenMessage ROP
779 - add preliminary emsmdbp_object_message implementation/initialization
781 - Flush ocpf output when an error occurs
782 - Fix retrieval of message list in fsocpf backend
784 Add QueryRows implementation for mapistore in fsocpf backend.
786 - Add implementation for mapistore GetContentsTable
787 - Fix error reply for GetHierarchyTable
789 Fix how PT_DOUBLE data is passed among libmapi layers.
791 Fix an issue introduced in r1858. PT_DOUBLE patch is valid
792 for EMSMDB, not for NSPI. Rollback change for SPropValue
794 Add IPM.Note as a default receive folder for Inbox. This is used by
795 Outlook 2003 in the Send/Receive process.
797 Add server-side skeleton for GetAttachmentTable operation.
799 Implement SetSpooler server-side function. The function looks like a
800 skeleton ... and is one until we figure out what should be the
801 associated server-side mechanism when clients tells OpenChange server
802 they want to act as a mail spooler.
804 The LogonType cases were not handled properly
806 Replace existing method to retrieve emsabp_ctx in NSPI server code
807 with mpm session management API and comparison to actual dce_call structure.
809 Replace MAPI_E_LOGON_FAILED rather than MAPI_E_NOT_ENOUGH_RESOURCES in emsmdb server
810 code when session is not found.
816 We were adding context the list but were never removing them while the
817 context_id was added to the free list. This was causing
818 inconsistencies in mapistore context management + invalid
819 record/pointers to remain and cause OpenChange server to crash.
821 Also add commented code to CreateFolder ROP that will need to be
822 enabled when we understand related Outlook behavior.
824 Patch from Bharath Acharya <abharath@gnome.org>:
826 Print calendar items created at half hours
828 Minor warning fix - unused variable, not initialized
830 Fix a bug with invalid session leading to OpenChange server crash.
832 We are now retrieving the emsmdbp_context pointer from our session
833 management API, after a comparison check vs dcesrv_call_state rather
834 than blindling and directly from dce_call.
837 Add better error path handling for the OXCFOLD-CREATE mapitest module.
841 Extend mapistore API to have a mapistore URI associated to the backend
842 context. We want to limit creation of new contexts to the strict
845 Propagate this change to emsmdbp_object_folder_init. Only create a new
846 context if the uri intended to be opened is not already associated to
849 Handle additional LogonFlags cases for mailbox store in Logon_repl
851 Fix empty EcDoRpc replies. Outlook 2007 is now happy and stops from
852 disconnecting untimely.
854 Add server-side skeleton implementation for GetPermissionsTable
856 Pass parent mapi_handles to emsmdbp_object_folder_init rather than
859 Improve emsmdbp_object_folder_init to handle all the different folder
860 creation cases (root folder, mapistore or not, within mapistore or
861 openchangedb etc.) OpenChange server now passes mapistest folder
862 creation test properly.
864 Fix a bug with context_id and mapistore. We were passing the parent
865 context, then deleting it at some point, causing the parent object to
866 be invalid. Now makes use of a reference counter we manage to keep
869 Add a convenient function to emsmdbp_object API to retrieve the
870 contextID associated to an object.
872 It looks like we still have some issues when running both Outlook 2007
873 and Outlook 2003 at the same time with OpenChange server. There may be
874 some additional session checks to perform in the future.
876 Fix a bug in session management API:
878 The mpm_session API uses id, id2, node and context_id from the dcerpc
879 session to uniquely identify a session context.
881 However when Outlook calls EcDoConnect multiple times, it still uses
882 the same dcerpc session. With previous API we were freeing the session
883 while it was still in used - which lead in unstable and unpredictable
886 The following patch adds a ref_count to the mpm_session API and server
887 code has been changed for emsmdb and nspi server to increment the
888 ref_count when the session already exists or create a new session if
889 none is already stored.
891 Also the mpm_session code checks for the ref_count value and ensures
892 it is 0 before calling the destructor.
894 Call emsmdbp_object_folder_init in any case when creating a
895 folder. The emsmdbp_object function now do required checks and
896 initialize the folder's object properly.
899 trivial comment cleanup.
901 Minor cleanups for RopCreateFolder in the server.
903 Prefix the mapistore_uri folder name in the path with "0x"
905 Use ulFolderType (the folder) instead of ulType (ansi vs unicode) when
906 deciding which folder type to create.
908 Trivial comment fixes.
912 Complete the opendir implementation for mapistore folders. Outlook
913 doesn't crash anymore when attempting to open mapistore folders.
915 was using the wrong function emsmdbp_is_mapistore instead of
918 Commit Brad Hards's implementation for Public Folders support.
919 Personal changes wrt initial patch:
921 - remove mapistore_uri from openchangedb PF record at
922 provisioning. Only new created folders should be mapistored.
923 - Add a mailboxstore boolean to folder and mailbox emsmdbp so we can
924 select the correct basedn for searches.
925 - Fix GetProps to provide an accurate answer to Outlook when fetching
926 public folder's store specific properties.
927 - Use get_PublicFolderId rather than SpecialFolderId when we open a
933 Patch from Milan Crha <mcrha@readhat.com>:
935 Fix PT_DOUBLE support in openchange
937 Fix unicode ocpf format in ocpf_write
939 - Fix PT_I8 support in libocpf: PT_I8 support was incorrectly
940 processed as PT_DOUBLE and prevented properties with 0x0014 proptag
941 (e.g. PR_PARENT_FID) to be added properly to ocpf files.
943 - Add PR_PARENT_FID to the set of properties when creating folders
945 Fix mkdir prototype in sqlite3 backend
950 Outlook uses GetProps with the PidTagSubFolders property to check if a
951 folder has subfolders. Add this property at provisioning (set to
952 FALSE), then set it to true on system/specialfolders if folder
953 creation in mapistore went OK.
955 - Implement mkdir operation at mapistore level
957 - Update PidTagFolderChildCount of parent folder when parent is the
958 root folder of a mapistore context (folder attributes stored in
961 - Improve RopCreateFolder implementation
963 - Clean-up emsmdb_object_folder_init implementation
965 - Add a convenient function to turn ROPs parameters into MAPI
966 properties. This prevents from having endless number of parameters.
968 - Commit remaining parts of the provision changes
970 This TODO doesn't belong here
972 Add a convenient function to retrieve the distinguishedName of a
973 folder given its folder identifier. This function is useful when
974 building dn for openchangedb ldb_add operations.
976 Add PidTagComment so it can be used in openchange.ldb when root
977 folders are created with a comment CreateFolder parameter.
979 Make it possible to retrieve MailboxRoot folder using
980 olFolderMailboxRoot in GetDefaultFolders.
982 Outlook 2007 tries to create a To-Do search folder under user
983 mailbox. Creates the folder at provision time to be kind with it.
985 Set PidTagParentFolderId to 0 for mailbox root
987 The wrong index in mapi_repl was causing the crash I've investigated
988 over the past 10 hours.
990 Please always use idx for mapi_response->mapi_repl[] index ;-)
994 In current architecture, we need to retrieve root mapistore folder properties
995 from openchangedb, then use mapistore for operations such as GetHierarchyTable or
996 GetContentsTable. This was not possible with the current design where we only
997 switch between mapistore: true or false.
999 I have introduced a mapistore_root boolean associated to folder object which we
1000 set to true if the folder initializes a mapistore context (otherwise false).
1002 This boolean is used in GetProps so we retrieve mapistore container properties
1003 from openchangedb and not mapistore.
1006 Add size calculations for public folder RopLogon
1011 We'll change CreateFolder to generic code later.
1012 For the moment change from sqlite to fsopcf backend for system folders
1014 Fix handling of flagged property row in GetProps (Mailbox case).
1016 Missing break added, now makes Outlook 2003 launhes properly.
1018 Ensure PidTagAttr is valid and prevent ldb layer from segfaulting
1020 Send a flagged PropertyRow when GetProps is called with mapistore
1021 Add a nasty hack and call this fake MAPI_E_NOT_FOUND property value for
1022 GetProps if the object doesn't exist.
1024 In openchangeclient we are calling get_container_class using the parent object
1025 (Mailbox root folder) and the FID of the 2-level down folder. This causes
1026 openchange server to crash. The hack exposed above will help temporary workaround
1027 this problem while we figure out/remember the real problem: Why do we have
1028 to call the parent to retrieve the container class?
1030 Remove last references to systemfolder in libmapiproxy API
1032 release objects properly in the mailbox recursive function
1034 After we release ocpf_context, strings are destroyed.
1035 Prevent from happening by stealing the overall context and
1036 talloc_strdup strings.
1038 We'll need to find a better/encapsulated way to do this on long term.
1040 Add a small hack to handle StandardPropertyRow properly
1041 StandardPropertyRow have no errors and have a prefixing flag set to 0
1043 Get ride of the previous way to detect
1044 systemfolder/mailbox/mapistore folders.
1046 This was barely understandable and error prone.
1048 It is now replaced by a mapistore boolean set for every object
1049 + a convenient emsmdbp_object function to check mapistore value
1050 for given handle quickly.
1054 Add mapistore implementation for QueryRows ROPs relying on
1055 GetHierarchyTable objects (folders properties listing).
1057 Add fsocpf backend implementation to fetch folders properties from a
1058 .properties OCPF file stored within the folder (identified by its
1061 Customized emsmdbp table object to have:
1062 - a context_id and whether the table is within mapistore or not.
1063 - to know if the table comes from GetHierarchyTabke or
1066 Add a path element to the folder_list structure in fsocpf backend to
1067 quickly use the full path and open the .properties file.
1069 Note: current code is for developers only. It is known to have bugs
1070 (e.g. memory allocation), furthermore there is some manual
1071 openchangedb and filesystem operation to perform in order to have the
1072 commit intended results.
1074 Add a convenient function for openchange server that lets build the
1075 SPropValue array with known properties.
1077 Replace the hardcoded fsocpf_ctx->fid with a basic code searching for last elements
1078 in mapistore_uri path.
1080 Fix typo in PidTag name
1082 Add PidTagFolderChildCount
1084 Add libocpf as a dependency to mapistore_fsocpf backend
1086 Add a ulType to emsmdbp table object.
1087 We need to make the difference between folders table (hierarchy) and messages ones (contents).
1089 This is a large work in progress commit:
1091 - Do not add mapistore_uri for Mailbox and IPM Subtree. These are only
1092 openchange.ldb containers.
1094 - Fix a memory issue with emsmdbp object destruction: use a different
1095 context for folder object. This was preventing from having a valid
1096 DIR * when releasing the object at mapistore layer.
1098 - Add preliminary implementation for OpenFolder (GenericFolder) in
1099 emsmdbp server code and mapistore. It can't yet be tested properly
1100 with openchangeclient --mailbox because we need to extend QueryRows
1101 implementation first. This will be achieved in further commits
1103 We are now using mapistore_uri attribute value (valid or NULL) to
1104 detect whether it is a systemfolder (blank container) or if we need
1105 to initialize a mapistore backend context.
1107 - Add mapistore implementation of GetHierarchyTable and backend
1108 implementation for fsocpf. Since we don't have a working
1109 Createfolder/mkdir implementation yet, you need to add
1110 PidTagFolderChildCount = 1 to the folder record in openchange.ldb +
1111 manually create the directory on the filesytem.
1113 Missing mapi_object_release call added
1117 - Add libmapi as a dependency to libmapistore. We need libmapi to
1118 benefit from operations on MAPI properties.
1120 - Add a MAPISTORE_RETVAL_IF macro and a MAPISTORE_SANITY_CHECKS one
1123 - Refactor the search of the backend context given its context id in a
1124 function and propagate the change to related functions.
1126 - Add skeletons for opendir, closedir, mkdir and rmdir. Prototypes of
1127 these function may change in the future.
1129 Implement create_context and delete_context for fsocpf backend. Patch
1130 initially from Brad Hards.
1132 Add a double linked list with fid/DIR couples for folders operations
1135 Fix a bug in NSPI server which was preventing NspiGetMatches
1136 from retrieving the correct DN from the in-memory tdb database.
1138 Should fix the profile creation error users were experiencing.
1141 Add a reference to the libocpf documentation for ospf backend
1144 Add forgotten part of r1818.
1146 Support provisioning mailboxes with either fsocpf or sqlite backends.
1148 fsocpf is the default at this stage.
1154 Fix paths to related pages
1156 Patch from Brad, fix doc typo, grammar - makes it sound more English.
1160 Add API documentation for init, backend connection contexts
1161 Add programming samples
1163 Install libmapistore pc file
1165 0.2 version of mapistore documentation.
1166 Merge some of the initial mapistore wiki page content.
1167 Add a section on FSOCPF backend
1170 Various API documentation fixes. All trivial.
1172 Fix some hard-coded formatting in mapitest common code.
1174 Add a simple create / delete folder test to mapitest.
1176 I've been using this to test the basic operations.
1178 Enable DeleteFolder rop, now we have a partial implementation.
1180 Implement RopDeleteFolder, and handle the case where a folder already exists in RopCreateFolder
1182 This still only works for a top level folder.
1184 Add convenience API to obtain the FID for a given folder (by name).
1186 This is useful to tell if a folder exists, which we need to do before
1189 Also fixes a nuisance warning about printf specifiers.
1191 Extend CreateFolder size calculations to handle some of the optional elements
1193 We still don't properly handle the variable length server element.
1197 Add general overview of what mapistore is and
1198 how it can be used from a user perspective
1200 Fix doxygen warnings
1202 Refactor mapiproxy documentation into a global mapiproxy / openchange server doc.
1203 - Add a mapistore documentation skeleton
1204 - Add related pictures
1208 Add folder atomic operation to mapistore and skeleton to backends:
1209 mkdir,rmdir,opendir,closedir,readdir
1212 API documentation typo fix.
1217 - Push Brad's CreateFolder implementation after turning hardcoded fields to generic one.
1219 Note: current implementation is incorrect as it states that any folder is referenced
1220 within openchange.ldb while only system/top folders are. We have a mapistore URI for
1221 system/top folders, not for subfolders which are stored directly within specified
1224 However the implementation is almost correct when it comes to create folders directly
1225 under / in the user mailbox.
1227 - Add a 'fsocpf' mapistore backend skeleton (FileSystem + OCPF)
1228 - Fix some doxygen in mapistore sqlite3 backend
1229 - Add an op_mkdir skeleton to mapistore
1230 - Add fsocpf:// namespace test to mapistore_test
1231 - Compile fsocpf only if libocpf gets compiled
1234 Add defs_private.h so we can use PRIx64 where appropriate
1236 It makes more sense to directly return the next available and formated FID rather
1237 than the GlobalCount raw value.
1239 Add exchange username to emsmdbp_ctx structure for convenient purposes
1241 After openchange_ldb is opened, map attributes of the @ROOTDSE record
1242 with ldb_set_opaque so ldb_get_default_basedn and ldb_get_root_basedn work.
1246 Implement a convenient function to retrieve the GlobalCount value from
1247 the objectClass=server record in openchangedb - which is the next FID
1250 Note: the function currently lacks locking mechanisms. We should
1251 introduce some to prevent from race conditions.
1253 This code was originally designed by Brad. I've just refactored it.
1255 Add a rootDSE entry to openchangedb.
1256 This change makes possible to call:
1257 - ldb_get_root_basedn() to retrieve CN=server,DC=domain,DC=ext
1258 - ldb_get_default_basedn() to retrieve CN=firstou,CN=firstorg,CN=server,DC=comain,DC=ext
1260 Add server-side skeleton for ROPs:
1264 - GetTransportFolder
1266 NOTE: GetTransportFolder is using hardcoded data that will be removed
1269 Add libmapiserver size calculation for ROPs:
1271 - RopModifyRecipients
1273 - RopGetTransportFolder
1277 Fix provisioning script and push a master-git samba4 version known to compile
1278 and work properly with openchange.
1280 There is probably a small typo left in installsamba.sh post_install script to fix
1283 Update docs for new samba version.
1285 Looks like we now have real complexity requirements for passwords...
1289 Fix the container class for the Drafts folder.
1291 This is per MS-OXCSFLD
1293 Add PT_I8 for cast_SPropValue().
1297 Fix openchange vs latest samba4 git-master branch
1299 - Fix OpenChange schema: Had to split our 1-file schema into multiple
1300 files in order to be compliant with Samba4 LDB schema validation
1303 - Fix openchange provision script
1304 - Fix calls to smb_iconv_convenience_init
1305 - Fix the copied libmapi/socket code to work with latest samba4 code
1306 - Fix openchange server SIGSEGV when EcDoConnectEx is called
1308 I have tested the following to ensure nothing is broken:
1309 - mapitest with Exchange 2003. All tests are OK
1310 - openchangepfadmin (user creation/deletion OK)
1311 - openchange server provisioning
1312 - openchange server vs Outlook 2003:
1313 - profile creation OK
1314 - Outlook can open the user mailbox and display it properly
1318 Skeleton server code for DeleteFolder ROP
1320 Just add more skeleton code to select between available folder types
1322 Server side skeleton for CreateFolder operation
1327 Implement some more properties for cast_mapi_SPropValue().
1329 Patch mostly by Milan Crha, some changes by me.
1331 Use retval instead of GetLastError() in a couple of places.
1333 Add missing failure path handling.
1335 Avoid assigning a boolean result to an enum MAPISTATUS.
1337 Fixes problem noted with mapitest on OXCFOLD-MOVECOPY-MESSAGES.
1342 Add comment about the number for each ROP in the server.
1347 Make sure we can load a server module when it is built with coverage testing enabled.
1352 Fix some mapitest issues reported by valgrind.
1354 These only occur when running against the openchange server - mostly problems with failure paths.
1356 Fix up a few segfaults found when running against openchange server.
1361 Add support for EcDoRpc GetAddressTypes (0x49) and OptionsData (0x6f) to server.
1363 This is completely driven by the server provisioning - no hard coding.
1365 This makes a binary incompatible change, so if you get crashes, please try a
1371 Add PT_DOUBLE support for set_SPropValue().
1376 Add support for PT_ERROR in mapi_SPropValue casting function.
1378 Add support for a couple more types in the casting code.
1380 Also adds a development-version "OPENCHANGE_ASSERT()" that flags incomplete code.
1385 Add a convenient function to retrieve the total
1386 number of records in the Global Address List.
1388 Modify openchangeclient to expose this change in
1389 the --userlist option.
1394 Fix OpenChange notification subsystem to handle multiple session properly
1395 Patch OpenChange trunk to reflect this API change
1397 Add quick and dirty doc/examples/multiple_notif.c to show how to setup
1398 multiple sessions + notifications with threads.
1400 Add PidTag for transport message headers
1405 One more server API documentation fix.
1407 More server side api documentation work.
1412 Mix of api documentation fixes for server side.
1414 Add MAPI_E_NOT_IMPLEMENTED.
1416 This is based on information at
1417 http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/d3c860a8-f131-4c7a-aa11-b9ec328d06c4
1422 Implement RopOptionsData (0x6F).
1424 Updates IDL, adds implementation and mapitest coverage.
1426 This has no practical use, but might be useful for testing the server.
1431 Add talloc leak checking options to mapitest.
1436 Update man page for mapiprofile to reflect new --language option format.
1441 Add special handling for PS_MAPI property name mapping.
1443 This fixes a long-standing mapitest failure.
1445 The logic is based on MS-OXCPRPT, section 2.2.12.2.2 PropertyIds.
1447 Minor API documentation fix.
1452 Build fix for example code
1457 Fix format string problem #184 ticket
1460 Add status reporter classes to allow redirecting the progress
1463 Update man page to reflect mapitest --subunit option.
1465 Implement basic subunit output protocol format for mapitest.
1467 There are a couple of documentation bits to follow.
1472 Trivial API dox addition.
1477 Update the IDL and implementation for RopGetPermissionsTable (0x3e)
1478 and RopModifyPermissions (0x40) to match MS-OXCPERM.
1480 The function signature for GetTable() and ModifyTable() has changed.
1481 They are now called GetPermissionsTable() and ModifyPermissions()
1482 respectively, and there is an additional "flags" argument, which you
1483 almost certainly want to pass as 0x00 if you are porting from some
1484 older implementation.
1486 Updates all users, and adds mapitest unit tests.
1491 Add country codes to codepage-lcid description file
1494 Remove copied code from samba (ldb) and just use the ldb
1497 Resolves ticket #167
1499 Allow building if popt isn't available.
1502 - remove unnecessary include in libmapiadmin
1503 - only build mapistore test tool if popt is available
1504 - only build torture tests if popt is available.
1506 The last change could be finer (e.g. only leaving out the
1507 part of the torture test that actually requires popt) but
1508 that seemed more fragile and generally unnecessary.
1510 Resolves ticket #233.
1518 Ensure we always initialise before trying to cleanup (e.g. in a failure scenario).
1520 Issue identified and patch provided by Erik Hovland, minor changes by me.
1522 Resolves ticket #236.
1524 prop is declared within the switch statement.
1526 Fix by Erik Hovland - thanks very much.
1528 Resolves ticket #239.
1530 Use strncpy instead of strcpy.
1532 Patch by Erik Hovland, plus a minor change by me to ensure the string is null terminated.
1534 Resolves ticket #237.
1536 Add missing break statements
1538 Patch by Erik Hovland <erik@hovland.org>
1540 Resolves ticket #238.
1542 Mark appropriate constructors as explicit.
1544 Patch by Erik Hovland - thanks very much.
1546 Resolves ticket #240.
1550 Patch from Erik Hovland - thanks again.
1552 Resolves ticket #242.
1554 Fix spelling errors.
1556 Patch by Erik Hovland - thanks very much.
1558 Resolves ticket #241.
1560 Make sure we actually can compile when using --enable-openchange-qt4
1562 This patch ensures that $(MOC) gets set in the Makefile.
1567 Add canonical names for codepage related properties (involved in
1568 PT_STRING8 encoding/decoding)
1573 - Add parser for codepage-lcid
1575 - Add entire set of conversion functions for lcid, codepage, language
1578 - mapiprofile now uses codepage/lcid matching LC_CTYPE environment
1579 variable for language detection, otherwise codepage/lcid matching
1580 language list. Language list is now dumped from codepage-lcid
1583 - Remove deprecated util and tests directory from libmapi and from
1584 build system. We now only rely on codepage_lcid.c
1586 - Update openchange code (utils, mapiprofile, mapitest and
1587 exchange2ical libs) to use this new API.
1589 - I have not looked into icalparameter_get_language, but assuming it
1590 is relying on previous API, I may have introduced a bug here. Looks
1591 like the function outputs for example "en-US" while we now checks
1592 for "en_US" to match setlocale output.
1595 Minor API documentation adds.
1597 Add unit test coverage for the GetGALTable() function.
1599 This is mostly lifted from utils/openchangeclient.c
1601 Switch to only building Qt4 bindings if specifically asked for.
1603 This is a bit experimental for now, so lets go safer...
1608 In this particular case (error returned, mapi_response shouldn't
1611 Fix bug 605827 - SRowSet was free'd while still needed
1616 Template file which associates Language, LCID, Locale and Codepage.
1617 Furthermore commits will implement the mparse parser which will
1618 auto-generate the associated C files. This should give us a reliable
1619 way to use it in mapiprofile, MAPI profiles database and for
1620 PT_STRING8 proper conversion purposes.
1622 If anything is missing or is incorrect, updating the file will
1628 Fix bug where you couldn't select another messages in the default folder without
1629 changing folder first.
1631 Looks like this is just a bit I forgot to update when changing from an initial
1632 cut to the "more working" implementation.
1637 - Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
1640 - Remove deprecated utf8_convert lexer and windows_to_utf8 routine
1642 - Change openchange tools to use _UNICODE tag version instead
1644 - octool_get_propval now prefer UNICODE properties over PT_STRING8
1645 ones (default behavior).
1647 - Change mapidump_message API to take an optional mapi_object_t
1648 message parameter. If the message object is specified, we can have
1649 access to the subject, and recipients (to, cc, bcc) without having
1650 to query them within a GetProps call.
1653 Fix an ugly cut-n-paste error.
1655 Add pkg-config support for libmapi++.
1660 Fix ticket #123 (known as 562948 on gnome bugzilla):
1661 "Unable to send mails containing UTF8 strings"
1663 OpenChange was using strlen(str) * 2 + 2 to calculate the
1664 expected size for utf16 string. This patch fixes this and
1665 replaces it with a function that make proper utf8 to utf16
1668 This commit also replaces PT_STRING8 properties in openchangeclient.c
1669 with PT_UNICODE ones to ensure utf8 strings get converted properly.
1674 - Add NormalizedSubject and SubjectPrefix strings to object_message_t
1676 - Add a function to retrieve TypedString value
1677 - Add a mapidump function for obj_message (only retrieve subject and
1679 - Add --fetchsummary option to openchangeclient: Dumps properties from
1680 OpenMessage response only (subject and recipients) rather than going
1681 through GetProps and dumping a more complete version.
1684 Move make distclean to the end again.
1689 Remove a copy of the dlinklist.h header, and just use the samba
1695 Install missing file.
1700 Allow us to find samba python code on 64-bit machines.
1705 Update EcDoConnectEx IDL to match latest specifications
1708 Minor additions to "make clean" / "make distclean" to remove
1709 generated python bits, and also the config.h file.
1714 Implement IsMailboxFolder for public folder types.
1716 Involves some refactoring of the way we handled the mapi_object_store_t,
1717 such that we now talloc_zero the structure.
1719 Adds mapitest coverage for these.
1721 Resolves Ticket #134.
1726 Add unit tests for IsMailboxFolder
1728 Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.
1733 Change location of .cpp.o and .ccp.po to the correct location
1734 and inhibit compilation line output for moc and cpp compilation.
1737 Try harder to clean up libmapi++ bits.
1742 Ignore moc files and generated binary
1744 Update OpenChange version to 0.10 NOMAD
1746 Nomad is a mechanical explorer sent from Earth in 2002.
1747 It was melded with an alien device named Tan Ru and the resulting robotic
1748 hybrid began destroying anything that was imperfect including, in 2267,
1752 Add documentation for qt/ subdirectory.
1754 Try harder to find moc.
1756 Initial commit of some Qt-style bindings.
1758 This is mostly for testing, although hopefully the library will
1759 emerge with a set of mostly-useful widgets for implementing
1765 Quiet the build here.
1767 Inadvertent removal in a previous patch.
1769 Some support for ReviewBoard.
1774 Update OpenMessage flags to match specification values.
1776 Cleanup libmapi++ code when we "make clean".
1778 Add svn ignore entries.
1780 Remove inline from shared library class.
1782 Fixes build on Intel C++ compiler.
1787 libmapi++ is no longer a header-only library
1792 Add first part of Restrictions support.
1794 A little more documentation fixes.
1798 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
1799 In such situation, mapi_response is not allocated but has a destructor
1800 associated. This fix removes the destructor whenever the error code is
1801 different from MAPI_E_SUCCESS.
1803 Also add a minor (probably useless) check on mapi_response pointer validity
1804 before attempting any other child's free.
1807 A couple of minor API documentation fixes.
1812 Rename libmapi into openchange in our release script.
1813 Makes more sense given the scope of our releases.
1815 Fix format string warnings.
1817 New ModifyRecipients IDL and implementation.
1819 This patch improves the logic within the RecipientFlags bitmask
1820 calculation function and make use of different MAPI properties for
1823 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
1826 Minor API documentation fix.
1830 Fix some exchange2ical memory leaks / "still reachable" memory.
1832 Fix property tag array count, so we get the language in Summary
1833 lines in the ical output.
1835 Add protection against null CN values.
1837 Resolves ticket #232.
1839 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
1841 Handle all day events for UTC+ timezones.
1843 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
1844 the problem, and providing a patch. In the end I heavily modified the
1845 patch, and implemented a much simpler version while we sort out the
1846 timezone identifier problems.
1851 Minor documentation update to reflect GSoC exchange2ical merge.
1853 temporary fix for building on FreeBSD 7.2.
1855 Remove this file - converted it to trac tasks.
1859 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
1861 Changed MonitorNotification to be non-blocking.
1862 Also checks whether to process notifications using a callback.
1864 Open Profile Store using global_mapi_ctx for the memory context. This
1865 fix removes 20 context errors when running valgrind on mapitest.
1867 - Fix important memory leaks in OpenChange NSPI stack. The memory
1868 context modifications applied to the EMSMDB stack have been
1869 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
1870 temporary context passed in parameter to the nspi_* functions from
1873 - Changes propagated to torture, mapitest, IProfAdmin interface and
1874 ResolveNames function to match the internal API.
1876 - Add missing MAPIFreeBuffer call in mapitest modules
1878 Minor cosmetic change
1880 Minor changes to match our coding convention more closely
1882 Return (const void *) instead of (void *) where missing
1884 - Fix important memory leaks within the OpenChange stack. Most of the
1885 leaks came from the pipe memory context used in emsmdb_transaction
1886 which was only released on MAPIUninitialize and sometimes leaded in
1887 lost blocks. This fix makes extensive usage of the temporary memory
1888 context used in top MAPI calls implementation. This context is
1889 passed in argument to emsmdb_transaction and used for dcerpc_*
1892 When we return from any libmapi call implementation, this context is
1893 destroyed. This guarantee no extra memory within NDR layer is kept.
1895 The only requirement for this patch to work is to make sure the data
1896 we return from MAPI calls is either reparent to another memory
1897 context or copied properly.
1900 Add support for skipping tests that don't apply to some
1903 Change the format of the server version, so it matches the Microsoft
1904 way of doing versions.
1909 Fix store version info assignment - Exchange version now works again
1912 Clarify the developer's task when using GetPropList.
1914 We were allocating the SPropTag proptag array with the session context
1915 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
1917 We are now using SPropTagArray pointer as parent context and clarify
1918 that the developer must pass an allocated SPropTagArray pointer to the
1921 Missing mapi_object_release leading in small leaks.
1923 Sanitize RfrGetNewDSA function and memory usage.
1925 The function was returning either a const char * passed in parameter
1926 or the string returned by RfrGetNewDSA call. Furthermore we were using
1927 the session pointer for the memory context. Finally the function description
1928 was not matching its behavior.
1930 What this patch does:
1931 - use a named memory context for RfrGetNewDSA call
1932 - return an allocated string on success otherwise NULL
1933 - release RFR memory context properly
1935 valgrind before patch (mapitest):
1936 ==28876== LEAK SUMMARY:
1937 ==28876== definitely lost: 0 bytes in 0 blocks
1938 ==28876== indirectly lost: 0 bytes in 0 blocks
1939 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
1940 ==28876== still reachable: 345 bytes in 2 blocks
1941 ==28876== suppressed: 0 bytes in 0 blocks
1943 ==28876== For counts of detected and suppressed errors, rerun with: -v
1944 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
1946 valgrind after patch (mapitest):
1947 ==29083== LEAK SUMMARY:
1948 ==29083== definitely lost: 0 bytes in 0 blocks
1949 ==29083== indirectly lost: 0 bytes in 0 blocks
1950 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
1951 ==29083== still reachable: 345 bytes in 2 blocks
1952 ==29083== suppressed: 0 bytes in 0 blocks
1954 ==29083== For counts of detected and suppressed errors, rerun with: -v
1955 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
1957 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
1958 pull_emsmdb_property is using pointers and allocate memory to prevent from
1959 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
1960 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
1961 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
1963 valgrind before patch (mapitest):
1964 ==26674== LEAK SUMMARY:
1965 ==26674== definitely lost: 0 bytes in 0 blocks
1966 ==26674== indirectly lost: 0 bytes in 0 blocks
1967 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
1968 ==26674== still reachable: 345 bytes in 2 blocks
1969 ==26674== suppressed: 0 bytes in 0 blocks
1971 ==26674== For counts of detected and suppressed errors, rerun with: -v
1972 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
1974 valgrind after patch (mapitest):
1975 ==27270== LEAK SUMMARY:
1976 ==27270== definitely lost: 0 bytes in 0 blocks
1977 ==27270== indirectly lost: 0 bytes in 0 blocks
1978 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
1979 ==27270== still reachable: 345 bytes in 2 blocks
1980 ==27270== suppressed: 0 bytes in 0 blocks
1982 ==27270== For counts of detected and suppressed errors, rerun with: -v
1983 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
1986 Minor API documentation fixes.
1991 - Add a macro to mparse.pl to free both mapi_response
1992 and mem_ctx within OpenChange calls implementation.
1993 For the moment it is only implemented in OpenUserMailbox call.
1995 - Fix a memory leak in OpenUserMailbox: When the call failed
1996 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
1999 Minor indentation fix
2002 Add some missing newlines to reduce compilation noise.
2004 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
2006 See the gsoc_exchange2ical branch history for commits.
2008 I also made a change to address ticket #216, and
2009 fixed a couple of typos.
2014 Minor updates to provisioning instructions.
2016 Thanks to Girish Venkatachalam for some suggestions.
2021 Fix 'unused variable' warning on FreeBSD for exchange2mbox
2024 Add documentation for the --freebusy option.
2031 Fix segfaults in mapitest launched with exchange2010
2033 Fix compilation warnings
2036 Add missing -L directory specifier.
2038 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
2040 Patch by Brian Lu (Sun). Thanks again.
2042 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
2044 Fix a couple of typos that trash CFLAGS during build.
2049 Automatically switch from connect to seal on the emsmdb pipe if
2050 ecNotEncrypted is returned by EcDoConnect.
2052 - Make OpenChange natively working with Exchange 2010
2053 - Factorize binding string construction code within a single function
2054 - the seal flag is mandatory to connect to Exchange 2010
2055 - add seal boolean value to MAPI profile creation and mapi_profile
2057 - add --encrypt option to mapiprofile to set the seal value
2062 Add documentation for set_SPropTagArray().
2064 Thanks to Brian Lu (Sun) for reporting.
2069 This doesn't really fix ticket #149, but this should
2070 at least prevent from triggering segmentation fault when
2071 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
2074 Trivial fix (newline) for warning on FreeBSD compiler.
2076 Add support for manually creating the library symlinks for FreeBSD
2078 This is a somewhat speculative commit.
2080 Also fixes a couple of cosmetic whitespace issues.
2085 Patch from Bryan Lu <brian.lu@sun.com>:
2087 Create symbol link only on Solaris
2089 This closes ticket #221 and makes it possible to compile openchange
2092 Temporary bug fix in emsabp.c - If restrictions are NULL in
2093 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
2094 invalid res pointer leading in segmentation fault.
2096 Initial fix proposed by Erik Hovland <erik@hovland.org>
2098 Patch from Erik Hovland <erik@hovland.org>:
2100 fid might be null. Check it before dereferencing in the
2101 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
2102 folder_lookup() function.
2104 Patch from Erik Hovland <erik@hovland.org>:
2106 NotificationData 'could' be null. Check it before handing it to
2107 notification-callback(). This is important because eventually
2108 NotificationData will be dereferenced in the code path.
2110 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2112 Fix MAPI Warning error codes
2114 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2116 bugfix: Bugs in abp_tdb layer fixed.
2118 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
2121 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2123 Implement NspiQueryRows() address list enumeration
2125 We can now run openchangeclient --userlist on OpenChange NSPI server
2126 and Outlook 2003 is able to query GAL.
2128 Note: the initial patch was proposing:
2129 "(&%s(showInAddressBook=*))", purportedSearch
2131 I replaced it with "%s", purportedSearch only since we don't have yet
2132 any showInAddressBook attribute in AD.
2134 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2136 - Add server side implementation for NspiResolveNamesW
2137 - Refactor and split emsabp_verify_user in two functions
2139 A new function emsabp_get_account_info() implemented to fetch info
2140 about given user name. emsabp_verify_user() uses the above function
2141 check if authenticated account_name is valid mail account and if so,
2142 account_name is cached in emsabp context for future use
2144 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2146 NspiGetProps() reimplemented to match [MS-NSPI] specification more
2149 As a side-effect, emsabp_fetch_attrs() was altered to return
2150 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
2151 the function returns more meaningful error codes - if requested MId is
2152 not found this surely means InvalidBookmark rather than CorruptStore
2157 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2159 Propagate dwFlags for incoming call to get EntryIDs correctly.
2161 Actually we need to propagate dwFlags so that emsabp_query()
2162 function to be able to determine whether EphemeralEntryID
2163 or PermanentEntryID is requested to be built.
2165 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2167 Implement PR_SEARCH_KEY attribute getter
2169 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
2171 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
2173 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2175 - Extend NspiDNToMId() to search in Configuration and Domain
2178 - NspiDNToMId() has been extended to cache returned data properly,
2179 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
2180 from Domain partition are cached in in-memory db ttdb_ctx.
2182 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
2184 emsabp_set_PermanentEntryID() implements MS specification more
2185 closely. For reference: [MS-NSPI] and [MS-OXOABK]
2187 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
2189 - Change the way we initially fetched server GUID
2191 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
2192 initial patch and associated research:
2194 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
2195 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
2197 Fix samdb_connect warning.
2198 Add function prototype to nsp,emsmdb header files.
2199 Change samdb_ctx from void * to ldb_context *
2202 Update docs to match those in mapiproxy doxygen docs.
2204 Roll to the latest Samba4 version.
2206 This should have no noticeable difference over the
2207 Samba4 alpha9 release, but its nice to use the latest
2208 version, and it might make a difference on the server
2213 Fix OpenChange server code and access to Samba4 databases.
2214 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
2215 All information can be accessed through a single access to SamDB and configuration records
2216 accessed through ldb_get_config_basedn.
2218 The following implementation has been tested and is working with:
2219 - mapiprofile profile creation
2220 - openchangeclient --mailbox
2221 - Outlook 2003 account creation
2222 - Outlook 2003 mailbox opening
2227 Fix openchange user provisioning scripts
2229 Forgot to commit this LDIF modifications for openchange provisioning
2234 - Fix OpenChange server provisioning (exchange classes and attribute only)
2235 - Remove deprecated provisioning steps
2236 - OpenChange user provisioning is still broken at this point, but will be
2237 fixed in further revisions.
2242 Fix a cast warning at compilation time for libmapi++
2244 - Update openchange libraries to 0.9: close trac ticket #165
2245 - Propagate pkgconfig solution in trac ticket #94 to other libs
2247 - Update openchange code to work with samba4-alpha9 release
2248 - Apply minor fix to ldb_wrap_connect (number of parameters)
2249 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
2250 - Update samba4 version script to match alpha9 and related git commit
2255 Ensure we get output if sqlite3 isn't found at configure time.
2257 Now outputs "no" instead of a blank.
2262 Fix attribution, per IRC discussion.
2267 Ensure API documentation gets generated for utilities functions.
2269 Some undocumented stuff in here to look at later.
2271 Add additional mapidump functions for notifications
2273 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
2275 Maintains good test coverage for this file.
2280 Avoid use-after-free for the number of rows in the SRowSet.
2282 Resolves issue #212, which has the valgrind error.
2287 Add test for get_proptag_value().
2289 Minor cleanups for mapidump functions.
2291 - Add support for dumping property tags using PT_SHORT.
2292 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
2293 - Minor format change for PT_BINARY (training colon)
2294 - Ensure PT_SYSTIME respects the seperator value (API change)
2295 - Add a conditional assert() using infrastructure introduced in r1553.
2297 Implement mapitest support for all of libmapi/mapidump.c
2299 Update openchangeclient for the API change.
2301 Introduce a compile time definition that is set for SVN snapshot releases.
2303 The intent is to use this to protect assert() calls that indicate incomplete code.
2308 Improved Sun Studio compiler support.
2310 Patch by Brian Lu (Sun) - thanks again.
2312 Revert inadvertent part from previous commit (r1549)
2314 Add coverage testing support.
2316 ./configure now supports --enable-coverage, which builds with the right options
2317 to support gcov. Also adds a new makefile target ("coverage") that runs the
2318 required post-processing steps.
2320 Also added a test script that does a range of openchange related (client side)
2321 operations. This is useful for generating the test load for coverage checks.
2323 So the basic recipe here is
2324 1. Add the --enable-coverage option at configure time.
2326 3. Install it, or otherwise ensure that coverage-enabled libs are used
2327 4. generate the test load (e.g. run ./script/smoketest.sh)
2329 6. Inspect the results in ./covresults
2334 Add support for the SunStudio compiler.
2336 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
2337 ensure it all worked.
2339 This approach is cleaner, allowing options to be build up separately for each compiler, and for
2340 the C and C++ versions.
2342 Tested on Linux with all three compilers.
2347 Adding missing include.
2351 Patch from Brian Lu (Sun). Thanks very much.
2356 Additional portability fixes for SunOS.
2358 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
2360 I modified the patch to try to use autoconf where possible.
2362 Resolves ticket #220.
2364 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
2365 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
2367 Patch by Brian Lu (Sun) - thanks very much.
2369 Partly resolves ticket #220 - still need to handle the first patch.
2374 Fix build problem using Sun Studio compiler.
2376 Reported by Brian Lu (Sun), including a patch (Ticket #219)
2378 I slightly modified the patch, but nothing substantial.
2383 Patches provided by raboof:
2384 - Ticket #213 deprecated include directive removal
2385 - Ticket #214 missing sanity check
2386 - Ticket #215 fix some DEBUG macro level for sain ouput
2396 Use mapi_profile_get_ldif_path to find ldif path when one is not given
2401 Added libmapi++ wrapper function for CreateProfileStore
2406 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
2409 Should allow FreeBSD to be supported.
2414 Alternative solution to ticket #179, provided by Alan Alvarez.
2416 This alternative avoids the need for the user to clean up the string returned by what().
2418 Also includes a test case, which I've used to validate that the original (prior to r1524) code
2419 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
2421 Resolves Ticket #179 (again).
2426 Make sure that the string given by what() can be used.
2428 Patch by Erik Hovland - thanks very much.
2430 Resolves ticket #179.
2432 Ensure that the libmapi++ messages example works even if there is no
2433 PR_CONVERSATION_TOPIC (subject).
2441 Modify mapi_object_set_logon_id() to be able to report errors.
2443 Original patch by Erik Hovland, I made some changes.
2448 Implement RopReloadCachedInformation (0x10).
2450 Minor change to IDL (previously implemented), and adds
2451 implementaiton and mapitest code.
2453 Also editorial comment fix in some related mapitest stuff.
2455 Resolves ticket #186
2457 Implement GetValidAttachments ROP (0x52).
2459 Includes IDL, implementation and mapitest.
2461 mapitest also checks DeleteAttach behaviour, which I don't think we previously
2464 Also includes a comment fix in the mapitest code.
2471 Patch by Erik Hovland <erik at hovland.org>
2476 Update the properties list.
2478 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
2483 Update API to use MAPITAGS enum.
2485 Update to match API change.
2487 Use appropriate enum here.
2489 Use enum for OpenEmbeddedMessage call.
2491 Use enums where appropriate.
2493 Update users of FindRow to use enums.
2495 We are supposed to be returning a MAPISTATUS, so switch to using
2496 the OPENCHANGE_RETVAL_ERR macro here.
2498 Use appropriate enums instead of int types.
2500 Use enums instead of ints / hardcoded values.
2502 Use enum types where appropriate.
2504 Fixes warnings from Intel C compiler.
2506 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
2508 Fixes warning from Intel compiler.
2513 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
2514 not to CXXFLAGS as well.
2516 Avoids g++ warnings.
2518 Use enumerated type instead of integer.
2520 Remove unreachable code.
2522 Add "static" to avoid the need for additional declarations.
2524 Avoids noise from the intel c compiler.
2526 Namespace variable in macro, so we don't get noise about shadowing a
2529 Help icc find comparison_fn_t.
2531 Match up data types in argument and format string.
2533 Remove unused variable, and change a name to avoid a "shadowed declaration"
2539 Portability fixes for Intel C Compiler.
2541 Set CFLAGS early, otherwise AC_PROG_CC will set
2542 CFLAGS to "-O2 -g", which later has -O3 appended, which
2543 icc complains about.
2545 Check if we're really icc, and if so, turn off some warnings.
2546 Also turn off the "FORTIFY_SOURCE" define which causes problems
2547 with missing builtins.
2549 The warnings can (and should) be turned back on later, after we
2550 fix the current issues.
2555 Correct diagnostics messages.
2560 Remove explicit -Wstrict-aliasing=3 from command line.
2562 This is implied by gcc -Wall option, and icc produces nuisance warnings
2563 with it enabled (related to the -W option, not the code being compiled).
2565 Fix some memory leaks and a bug in mapiprofile.
2567 I introduced the bug in r1467, there could be others that are similar.
2572 Minor rewording of description
2579 Move initialisation up, to make sure everything is valid in the failure paths
2581 Patch by Erik Hovland. Thanks once again.
2583 This closes out ticket #178.
2585 Remove unreachable code.
2587 Patch by Erik Hovland. Thanks again.
2589 This is the second part of ticket #177. This completes the checkin of that ticket.
2591 Remove unreachable code.
2593 Patch by Erik Hovland. Thanks very much.
2595 This is the first part of ticket #177.
2600 Ensure that we check the result of the operation we just performed.
2602 Patch by Erik Hovland. Thanks very much for continuing to provide these.
2604 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
2606 Make sure that return values are checked and report that given status if there is an error.
2608 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
2612 More cleanups of memory leaks for setting up database and an associated failure case.
2614 fix leak in openchangeclient
2616 (as seen with valgrind of "openchangeclient -m")
2618 Fix memory leak in mapiprofile utility
2623 Ensure that when we pass --profile to mapitest, that profile
2624 gets used instead of the default.
2626 Also fix a small memory leak when using --profile, and add some
2629 Fix error handling case.
2631 Patch from Erik Hovland - thanks very much.
2633 Resolves ticket #175.
2638 Remove unused enum values.
2640 Remove unused code - no simple tests.
2645 Update the script version of samba4 to alpha8.
2650 Add tevent to dependencies.
2655 Remove unused headers.
2657 Patch by Erik Hovland - thanks very much,
2659 Resolves ticket #164.
2661 Apply patch from Erik Hovland, from ticket #162.
2663 From the original patch:
2664 "The problem is that when you do stat first w/ a file string anyone can
2665 exploit the time in between to do whatever they want with the file that
2666 the string is a name for. Instead, try to open straight away. Then fstat
2667 w/ the file descriptor."
2669 I think the patch is fine, although I didn't run the torture test.
2674 Avoid duplicate call to mapi_object_get_logon_id
2676 Based on a patch proposed by Erik Hovland, but adapted to follow the
2677 pattern used in OpenStream().
2679 Resolves issue #163.
2681 Applied modified version of patch from Erik Hovland to address unused variables.
2683 See http://trac.openchange.org/attachment/ticket/160/unused-values for
2688 My version removes variables (rather than commenting them out) since we don't need
2689 them now. I also updated the documentation for options that are no longer available
2691 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
2692 in r808 (to resolve #103), and looks like it might have been used for debugging - no
2693 impact on the code. I pulled out the whole lot.
2695 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
2697 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
2699 Fix potentially unused variable.
2701 Tested with mapitest (even though nothing should have been affected) and
2702 with libmapixx-test and libmapixx-attach under valgrind.
2704 Patch is remaining part of http://trac.openchange.org/ticket/153
2706 Thanks to Erik Hovland for the patch.
2711 Remove dead / unused code.
2713 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
2715 Original patch by Erik Hovland - thanks again.
2717 Update test case to reflect new behaviour
2722 Link libmapistore against tdb.
2724 Update copies of config.guess and config.sub.
2726 Link libmapiproxy against tdb.
2728 Declare a SOVERSION for libmapistore.
2730 Use LDFLAGS when linking exchange2ical.
2732 Create symlink for libmapistore.
2734 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
2736 Fix typo in variable name.
2741 Fix typo in Python variable name.
2743 Keep separate flags for libraries around in config.mk.
2745 Link libmapiserver against all libraries.
2750 Add some PidTag* mapping involved with Recipients and RecipientRow
2755 Patch from Erik Hovland <erik@hovland.org>:
2757 Initializes variables to make sure they aren't used uninitialized.
2761 - Add sanity check on mapitest_common creation routines within
2764 - Apply patch from Erik Hovland <erik@hovland.org>: check return
2767 Patch From Erik Hovland <erik@hovland.org>
2769 In torture_rpc_mapi_sendattach a call is made to the system function
2770 read at line 199. The return value of read is assigned to read_size,
2771 which happens to be of unsigned type. So if read returns -1 (which it
2772 can) it will not be noticed. The patch changes the type to ssize_t
2773 (signed) and checks for -1 as well as zero to break out of the loop.
2777 Patch from Erik Hovland <erik@hovland.org>
2779 1. In mapiproxy, the directory handle dir will be leaked after it is
2781 2. exchange2mbox main() should use exit at line 785 just like all of
2782 the other error paths so that we don't leak anything
2786 Patch from Erik Hovland <erik@hovland.org>
2788 Adds a #include config.h to suppress compiler warnings for vasprintf
2790 Patch from Erik Hovland <erik@hovland.org>:
2792 Make sure pointers are valid before dereferencing
2793 1. lpProps 'might' be null
2794 2. Add folder to variables checked before moving on.
2795 4. Check nprop->guid before giving to strcmp, two times
2796 6. Check definition before handing to strlen (which will dereference
2797 it) Reworked this one to include talloc_free
2798 7. Check MessageClass? before handing to strncasecmp
2799 8. Check backend, return if null.
2800 10. Don't print out anything if lpProp is null
2801 11. Check attach_size before dereferencing
2806 Fix pull structure for QueryRows reply when no RowData is available
2811 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
2815 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
2816 blob. However it doesn't yet support Chained calls.
2818 - Add AuxInfo/AUX_HEADER structures and IDL
2820 - Refactor mapi_request and mapi_response: move obfuscate_data calls
2821 up to the EcDoRpc layer
2826 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2828 call ProcessNotification() after each successful
2829 emsmdb_transaction() in all the libmapi calls.
2831 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2833 Mapi notifications can occurs inside any emsmdb_transaction; currently
2834 only the notification send by the server inside the
2835 emsmdb_transaction_null() in MonitorNotification() are
2836 parsed/processed/delivered to the appropriate callback.
2838 To be able to process all the received notifications, the notification
2839 structure must comprise the private data to be passed to the
2840 notification callback, since in the average mapi call this data is not
2841 available. This patch modifies the Subscribe() call and the
2842 mapi_notification structure, adding the private_data parameter (also the
2843 related Subscribe() calls are update) and add a libmapi call
2844 (DispatchNotifications) to force the notification dispatching in
2845 a [quite] non blocking way
2850 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2852 ProcessNotification() is ignoring the handle value contained into the
2853 processed notifications. This means that if many Subscribe() calls are
2854 performed on different folders but with the same flags, all the
2855 registered callback are [incorrectly] signaled with each received
2858 The attached patch match the handler contained into the notification
2859 message against the notification object handle to avoid such
2865 Make sure delayed authenication is not called when server mode is enabled
2868 Update property list to reflect current OAB props.
2870 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
2872 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
2874 Also remove duplicate close() of file descriptor.
2886 Implement RopTransportNewMail (0x51).
2888 Includes IDL, libmapi implementation, and basic mapitest coverage.
2890 Also fix a few doxygen / formatting things.
2895 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
2896 This commit fixes the ecWrongServer (0x478) error users encounter
2897 while running openchange based software in a clustered Exchange
2903 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
2905 Includes IDL, implementation and mapitest tests.
2910 Fix Search notifications.
2912 MS concurred that the docs are wrong.
2914 Patch by Paolo Abeni - thanks very much for the
2915 investigation and the patch.
2917 Update GetStoreState documentation.
2919 Implement RopSetPropertiesNoReplicate (0x79).
2921 IDL was already done. mapitest for DeletePropertiesNoReplicate was
2927 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
2929 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
2934 Implement RopHardDeleteMessages (0x91).
2936 Includes IDL, implementation and mapitest.
2939 Ignore generated property file.
2944 Add PT_ACTIONS to list of data types.
2946 Not fully/correctly handled yet.
2951 - Add dcerpc_mapiproxy:delegated_auth option
2952 This option delays mapiproxy-remote server authentication when
2953 the client sends the first request on a given pipe. This is
2954 mandatory in order to have delegated credentials to work.
2956 - Factor remote connection into mapiproxy_op_connect
2961 Add session state to the notification.
2962 Patch by Paolo Abeni - thanks for the investigation and fix.
2964 Also remove a stray debug message.
2966 Add a new mapitest suite for OXCNOTIF (Core Notifications).
2968 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
2973 Update IDL for ModifyRules (0x41) and add IDL for
2974 UpdateDeferredActionMessages (0x57).
2976 This is a checkpoint commit, pending further investigation
2977 into how we handle PtypRestriction and PtypRuleAction.
2982 Mapitest cleanups - remove GetLastError(), and other minor edits.
2984 Implement LockRegionStream and UnlockRegionStream ROPs.
2986 These appear to be a relatively recent addition to the
2987 documentation, possibly only used in Exchange 2007 / Outlook
2990 This is complete except for testing of whether the locking
2996 Use parent folder full replica ID: 2 bytes instead of 1 byte
2998 - Add Implementation for Logon redirect response buffer in OpenChange IDL
2999 - Update libmapiserver size calculation routine for Logon call to handle this case
3004 Add session and logon_id to the list of parameters to copy between objects.
3005 This patch fixes a problem in openchangeclient when using the --folder parameter.
3008 Remove code relating to free'ing the bookmark returned
3009 by SetCollapseState. Initial investigations with MS
3010 lead me to believe that you can't free that resource.
3012 May be more work in this area as investigation continues.
3017 Fix memory leaks for functions relying on pull_emsmdb_property
3022 Fix emsabp valgrind errors
3027 Make it possible to specify a version number for release different
3028 from major/minor from configure.ac
3033 Make it possible to open and control up to 255 mailboxes within a
3034 single MAPI session.
3036 It implements an internal management of a logon_id array at session
3037 level + enable transparent transport/copy of current logon_id value
3038 among MAPI calls + finally transparently free the logon_id value when
3039 the store object (PF or mailbox) is being released.
3041 - Retrieve recipients from OpenEmbeddedMessage reply
3042 - Test the implementation in mapitest
3043 - Avoid potential memory leak: steal context for returned ulPropTags.
3048 Be more tolerant with Logon request flags
3050 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
3051 This case still needs to be fixed though.
3053 Delete debug message
3055 Create a default GetProps reply on error
3060 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
3061 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
3062 Set errno to retval to work around this problem.
3065 NSPI-GETIDSFROMNAMES
3067 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
3068 has been worked-around by setting QueryFlags to NoStrings to limite the results
3069 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
3070 add additional tests to do full coverage.
3072 Fix GetNamesFromIDs IDL and implementation.
3074 Note: We should probably update the function prototype
3075 so it takes a mapi_SPropTagArray rather than a single property.
3078 Protect against bad results from GetGALTable().
3080 Resolves ticket #142
3085 Patch from Paolo Abeni: Add sanity check to Subscribe
3086 and prevent applications from crashing if notify context
3092 Ensure NSPI server functions have a valid dcesrv_handle
3094 Add quick/additional configuration information on how to setup openchange server
3096 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
3097 segfault when parent object is meant to come from GetContentsTable.
3099 - Fix NspiGetMatches server reply when specified username is invalid and
3101 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
3102 a talloc_free bug leading to segfault on failure.
3104 Prevent from registering same mapistore backend multiple times
3112 Add skeleton for GetRulesTable
3114 - return MAPI_E_SUCCESS when QueryRows reply count is 0
3115 - Move Reminders from IPM Subtree to Mailbox root
3117 - Add QueryPosition implementation
3118 - Move from offset to numerator/denominator couple for table objects
3120 Outlook now opens properly using openchange server and display the
3121 mailbox folder list with icons ;-)
3123 - Add skeletons for Restrict, SortTable, FindRow calls
3124 - Introduce emsmdb provider table object
3125 - Add preliminary table implementation for system/special folders
3126 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
3127 - Improve creation of GetProps reply blob for Mailbox folder
3128 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
3129 - Remove some usage of ldb_filter and use format string instead
3130 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
3131 so openchange server is able to return failed replies to MAPI clients
3132 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
3134 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
3136 Still preliminary but anyway worthwhile enough to be mentioned ...
3138 - Add a function to count subfolders of a container
3139 - Add a function to wrap MAPI tables over openchangedb
3140 - Factorize code used to fetch property values from LDB records
3142 - Add default properties to folder records while provisioning mailbox
3143 - Add few more mapping for PR_* to PidTag
3144 - Add a new MAPI property to the list
3146 Avoid openchangeclient --mailbox to segfault when run vs openchange server
3149 Remove some ldb_filters, and just use varargs into ldb_search
3151 warning fix for 64-bit arch.
3153 Revert previous commit.
3155 Experimental commit to fix build problems resulting
3156 from property changes.
3161 - Add PidTagDisplayName property to Mailbox object
3162 - Add PidTagParentFolderId to all system/special folders
3164 - handles array depends if a valid mapi_repl exists. This commit
3165 fixes the destructor semantics.
3166 - Fix a mapitest segfault encountered while run vs openchange server
3167 - Return 1 in SRowSet_propcpy if an error was encountered.
3169 Fix libmapi stack segfault when MAPI calls returns
3170 with error_code different from MAPI_E_SUCCESS.
3172 Do not process NSPI request if we can't find the handle
3174 Remove unnecessary ldb_filter parameter and replace it
3175 with ldb_search format string.
3180 - GetPropertyIdsFromNames skeleton added
3182 - Fix how Release replies are handled in mapi_repl[] array
3183 - Remove Release size calculation
3184 - Fix QueryRows size in libmapiserver
3185 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
3186 - GetHierarchyTable skeleton added
3187 - SetProperties skeleton added
3188 - CreateMessage skeleton added
3189 - SaveChangesMessage skeleton added
3195 Set mapi_response to NULL upon init ... just to get sure
3197 Fix MAPIUninitialize segfault
3205 - Add skeleton for GetContentsTable Rop
3206 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
3207 - Add libmapiserver size calculation functions for all the above
3208 - Ensure we only set objects parameter if it exists
3209 - Return when dcesrv handle is not available
3211 Merge s4-alpha7 branch back into trunk
3216 - Add several PidTag to openchange.ldb folders
3217 - Add provisioning convenient function which adds attribute/value pair
3218 to a given folder record
3219 - Replace existing special folders reference within Inbox with PidTagIpm* tags
3220 - Add new PidTag values to mapi-properties
3221 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
3222 - Add a function which builds special properties for openchangedb folders
3223 - Add PT_BOOLEAN case to openchangedb folder get property function
3224 - Keep a reference to the mailbox username within emsmdb provider context
3225 - Create and return a handle in RegisterNotification
3230 Wrong MessageClass size calculation fixed
3233 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
3235 Ignore new binary and trial output.
3240 - Fix systemfolder value for System/Special folders
3241 - Add GetProps support to System/Special folders
3243 Add auto-generated parser to the ignore list
3245 - Add auto-generated parser for MAPI property to PidTag mapping
3246 - Add some PidTag values
3247 - Add a lookup and get property functions on system folders
3249 - tuple SystemIdx in the dictionnary to workaround the ordering problem
3250 - Add ParentFolderId attribute to System Folders
3252 - Add creation of "Special folders" to mailbox provisioning
3253 - Rename fid attribute to PidTagFolderId
3254 - Rename name attribute to PidTagDisplayName
3255 - Rename ExplicitContainerClass to PidTagContainerClass
3257 Fix GlobalCount increment
3259 Fix mailbox provisioning
3262 Add test for FILETIME structure.
3264 Update docs for mapiproxy entry.
3267 Fix handling of fids.
3271 - Fix openchangedb mailbox hierarchy and introduces subfolders
3272 as described in [MS-OXOFOLDS] specifications.
3273 - Update openchangedb API to reflect this change.
3275 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
3276 to fit with MS-OXOFOLDS specifications.
3278 - Add provisioning code for GetReceiveFolder defaults
3279 - Check if mapistore content repository already exists for the user
3280 - Make mailbox creation verbose
3283 Fix parentfolder reference.
3287 Use recursive call to create folders.
3289 Simplify list iteration, PEP8, avoid using string exceptions.
3294 Fix 'dereferencing type-punned pointer' warnings
3296 - Add strict-aliasing compiler flags
3297 - Fix format string warnings on ubuntu buildbot
3299 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
3300 - Fix warnings introduced by -D_FORTIFY_SOURCE
3303 I might have been a bit hasty with that last commit...
3307 Try harder to find sqlite3.
3309 Seems to be in sqlite.pc on Ubuntu.
3311 Fix warning on 64-bit arch.
3315 - Add RopGetReceiveFolder (0x27) implementation
3316 The function respects should respect the semantics and behavior
3317 as described in MS-OXCSTOR specifications. However the python's
3318 code modification required: add ExplicitMessageClass attributes
3319 to folder records is not yet effective.
3321 - Add GetReceiveFolder size calculation function to libmapiserver
3322 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
3323 couple for a given SystemFolder within user's mailbox.
3325 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
3326 - Provision scripts: add default sqlite:// mapistore URI for system folders
3327 - Add mapistore context initialization when calling OpenFolder on SystemFolder
3328 - Add mapistore context release for folders in emsmdbp object destructor
3330 Factorize emsmdbp objects
3331 Add emsmdbp_object generic talloc destructor
3334 Add test for PT_MV_LONG.
3336 Add tests for PT_I8 and PT_BINARY
3338 Fix warning about no newline at end of file.
3340 Remove most recently added tests from "to be done" list.
3342 Add a couple more mapi_SPropValue tests.
3347 - Initialize mapistore within emsmdb provider context
3348 - Add destructors for MAPI handles and mapistore contexts
3349 - Remove emsmdbp_ctx memory context structure member and
3350 allocate directly with emsmdbp_ctx
3352 I don't see any good reason why we would pad MAPI replies with some bytes.
3353 I guess it comes from some prehistoric openchange code.
3355 Fix systemfolder assignment depending on IsSystemFolder value
3357 - Initialize OpenFolder server reply
3359 - Wrap TDB connections to mapistore (code from samba4) so
3360 multiple instances can open read/write to the same TDB database
3361 - Remove static id_mapping_context (replaced with tdb_wrap calls)
3362 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
3363 - Link mapistore with exchange_emsmdb
3365 Fix aclocal warning for AC_DEFINE comparison_fn_t
3367 Remove useless GetProfilePtr from IProfAdmin interface
3368 Closes trac ticket #131
3370 Add missing script - prevent configure from generating warning vs missing file.
3372 Remove stamp-h1 file during distclean and add it
3375 - Add server-side GetReceiveFolder (0x27) skeleton
3377 Work around the comparison_fn_t redefinition problem
3378 between libocpf and ndr.h
3380 FreeBSD doesn't have time.h daylight global variable
3383 start testing mapi_SPropValue_array.
3384 This also tests some underlying functions.
3389 Add comparison_fn_t support to ndr.h
3390 This was the latest change require to make openchange compiles under FreeBSD
3392 = samba4/openchange FreeBSD support completed =
3397 Remove duplicated post_install call
3399 Add a post_install operation on FreeBSD
3400 Make sure pidl is installed properly.
3402 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
3403 Note: this is a dirty hack which needs to be removed in the future
3405 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
3406 may not be adjusted properly.
3408 Avoid download samba4 release tarball if already available
3409 in current directory.
3411 - Add test for comparison_fn_t in configure.ac
3412 - libocpf auto-generated files include stdlib.h and prevent from
3413 having the proper comparison_fn_t typedef. This commit works around this
3414 problem and define comparison_fn_t within a private header.
3416 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
3417 Use fgetln instead when it is compiled on this OS.
3419 FreeBSD doesn't define sighandler_t but sig_t
3421 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
3423 - Add non-default search path /usr/local/{include,lib} to
3424 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
3425 - Make use of LDFLAGS while compiling openchange tools
3428 A few improvements for property handling.
3430 Also add unit tests to verify behaviour is correct.
3432 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
3434 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
3439 Check for Flex version < 2.5.35
3440 Make sure users can define the FLEX environment variable
3442 Add automake scripts for AC_CANONICAL_HOST support
3443 Needed for FreeBSD OS detection in configure.ac
3448 Fix warnings from lexer output.
3450 Fixes for warnings on 64-bit architectures.
3452 Fix warning on 64-bit architecture.
3455 Add some more tests for openchange.mailbox.
3457 Fix creation of new mailbox after provision.
3459 Always use the same URL when connecting to openchangedb.
3461 Fix arguments to openchangedb_provision.
3466 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
3469 Warning fix for 64-bit arch.
3474 Add doxygen definition for RopRelease
3476 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
3477 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
3478 - Fix size bug for serialized requests
3479 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
3480 - Make sure the GetProps reply blob is initialized whatever happen
3481 - Add a skeleton emsmdbp folder object init function
3486 Remove debug strings for GetPropertiesSpecific Rop
3488 Enable verbose output in server mode - useful during development
3490 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
3492 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
3493 - Fix GetProps size: subcontext is not added to the fixed size calculation
3495 - GetPropsSpecific size calculation function added to libmapiserver
3496 - Function to create a GetProps reply property blob added to libmapiserver
3499 Add tests for provisioning.
3501 Several cleanups in python code, add tests for schema use.
3503 Don't clear PYTHONPATH override.
3505 Remove unused imports, add extra tests.
3507 Use member variable for Ldb, rather than subclassing.
3509 Remove print statements to avoid cluttering test output.
3511 Add simple and incomplete testcase for OpenChangeDB.
3513 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
3515 Move adding a server to mailbox.py.
3517 Move ldif from oc_provision_openchange.ldif into Python.
3519 Stop providing setup_path to OpenChangeDB, as it's no longer used.
3521 Avoid using separate LDIF file when creating folder mailboxes.
3523 Avoid using separate LDIF file when creating mailboxes.
3525 Avoid passing full names object.
3527 Add check-python target.
3532 fix openchange_newuser.
3534 Use SamDB for actual SAM databases, Ldb otherwise.
3536 Remove unused parameters, don't make parameters optional if they are mandatory.
3538 remove unused parameters.
3540 make mailbox object-oriented, remove creds/lp parameters.
3542 Fix OpenChangeDB syntax.
3547 - Add a systemfolder member to the MAPI handle structure to make a difference
3548 between objects managed by mapistore and those stored within openchange.ldb
3549 (root mailbox folders).
3551 - Add opaque functions to set/get private_data and systemfolder to the MAPI
3554 Minor doxygen fix/improvement
3556 Add libmapistore object files to the ignore list
3558 - Add a very preliminary and light libmapistore implementation.
3559 mapistore only supplies init/release and add/del backend contexts.
3560 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
3561 - A temporary mapistore testing tool has been added locally for implementation checks.
3564 Use convenience function for connecting to openchange.ldb.
3566 Use standard LDB functions - openchange.ldb is not a SAM database.
3571 Implement support the SUMMARY language tag.
3573 Initial checking of libical based exchange2ical code.
3575 This has a long way to go, so think of this as more of a checkpoint
3578 See http://sourceforge.net/projects/freeassociation/ for the library, or
3579 see if your distro has a package.
3583 Add missing parameter to API documentation.
3585 Resolves ticket #130.
3587 API documentation fixes for OpenEmbeddedMessage()
3589 Implement OpenEmbeddedMessage ROP (0x46).
3593 Factor out message creation and message fill actions.
3595 Also remove GetLastError() where appropriate.
3597 Add some API documentation.
3602 Update openchangepfadmin description
3603 Fix tool relying on libmapiadmin
3610 Add more explanation for README
3612 Reimplement RTF decompression.
3614 Add unit tests from MS-OXRTFCP.
3616 Fix warnings in example code
3618 Add description for libmapiadmin
3620 Add description for libmapi / libmapi++
3622 Start on the directory descriptions.
3628 Add overview. Extracted from API docs.
3632 Outline of README file.
3634 (also using this to test buildbot without changing real code)
3638 Add Version field - avoid breaking pkg-config --list-all
3640 Fix warnings (gcc 4.2.4)
3643 Use variable for package version rather than hardcoding it.
3653 - Add an implementation of the MAPI handles management API. The API
3654 internally uses an in-memory TDB database to keep object hierarchy
3655 and a doubled chained list to associate private data to handles.
3657 The API currently provides add, search and delete facilities. Note
3658 that while untested, the delete operation is designed to recursively
3659 delete children of the 'meant to be deleted' handle.
3661 Finally the API doesn't remove TDB records but mark them as free so
3662 they can be reused across MAPI session and prevent from handle counter
3663 growing indefinitely.
3665 - Add a preliminary implementation of the Release call
3666 - Add Release size calculation to libmapiserver
3667 - Update EMSMDB provider to use MAPI handles API
3670 Minor api documentation fix.
3676 Minor API docs tweak.
3678 Token commit of tiny API docs fix.
3681 Look for GNU make harder (gmake on BSDs).
3686 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
3687 - Add common routines for OpenChange LDB context init and search
3689 - Add libmapiserver skeleton with size calculation routine for RopLogon
3690 - Change DSO linking dependencies for mapiproxy shared libraries
3691 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
3695 Remove .po and .o objects within libmapiproxy subdirectory
3697 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
3698 Fix make uninstall for AD and profiles directories
3702 Add python code and ldif files needed to create and populate the experimental
3703 openchange dispatcher database.
3705 Add 5-Minute configuration documentation for OpenChange server mode
3707 - Rebase ldif files into sub directories:
3708 * AD for OpenChange AD modifications
3709 * profiles for OpenChange IProfAdmin interface
3710 - Makes it easier figuring out LDIF files scope
3711 - Prepare setup folder for LDIF openchangedb files integration
3712 - Update install/uninstall Makefile rules for ldif files and
3713 make sure everything got removed
3718 Add support for short language names (e.g. en-AU) for lcid.
3723 Delete deprecated libmapi setup Perl script
3726 Add summary report for tests.
3728 Make mapitest return the number of failed tests.
3733 - Add pkg-config pc file for libmapiproxy
3734 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
3736 Free memory allocated by the fake subcontext in
3737 ndr_pull_mapi_response.
3739 This fix saves 300kb of memory and removes 700 loss records while
3740 valgrinding mapitest.
3742 Fix segfault - Add sanity check - when SPropTagArray is NULL in
3743 NspiQueryRows request
3745 Fix openchange_newuser name typo
3747 Fix server provisioning command line examples
3749 Fix several libmapi leaks.
3751 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
3752 and was not free'd when libmapi function released their
3753 context. Furthermore we need to release mapi_response->mapi_repl and
3754 mapi_response->handles which are now automatically free'd when
3755 mapi_response destructor is called.
3757 However note that this fix is not perfect: mapi_response memory is not
3758 free'd properly when calls exit with an error.
3760 This commit also make use of talloc_steal where necessary to keep
3761 returned fields allocated.
3765 Use named context rather than autofree
3767 Fix memory leak in emsmdb.c: Use a temporary memory context for
3768 request and length allocation in emsmdb_transaction.
3770 - This removes 827 loss records and approximatively saves 41kb of
3771 memory while valgrinding mapitest
3773 - Fix memory leak in GetDefaultProfile and GetProfileTable.
3774 - Save from 10 loss records while valgrinding mapitest
3775 - Developers are now responsible from freeing the GetDefaultProfile
3776 string the function allocates.
3777 - Apply changes to all openchange tools.
3779 Add blackbox subunit tests for mapiprofile tool
3782 One more trivial fix.
3786 (Yep, more trivial changes)
3788 Fix incorrect LCID for en-CA.
3790 (OK, its token, I admit).
3793 Don't define _GNU_SOURCE unconditionally.
3797 Prevent mapiproxy from multiple init and modules/server register
3798 when an smb client connect to the server (e.g. windows browser or smbclient)
3802 According to [MS-OXOCAL] Section 2.2.1.44.1
3803 "RecurrencePattern Structure", a monthly recurrence
3804 also has a Day specific parameter.
3809 Simply run autogen.sh rather than replicating it inside the Makefile.
3811 need to run aclocal before autoconf for the pkg-config macros.
3815 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
3816 Saves from 4 loss records while valgrind'ing mapitest.
3818 Use temporary memory context for EcDoConnect.
3819 Saves from 20 loss records when valgrind'ing mapitest.
3821 Free PropertyProblem structures returned by CopyTo.
3823 Replace deprecated talloc_init calls with talloc_named
3824 This commit removes some valgrind loss records talloc_init was responsible for
3827 Free everything when running mapitest --list-all.
3828 Valgrind however shows a loss record related to talloc_init ...
3831 Minor Intel C compiler warning fixes.
3833 Minor apidocs cleanups.
3837 Use double pointer for lp_ctx in GetLoadparmContext assessor
3839 Fix memory leak in utf8 lexer.
3841 - Remove custom iconv_convenience from pull_emsmdb_property and use
3842 lp_iconv_convenience on loadparm_context argument instead.
3844 - Change OpenChange libmapi API to reflect this change
3846 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
3847 (mostly for mapitest modules). libmapi/mapiproxy developers
3848 should never have to make use of it.
3850 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
3852 Free lpProps returned by GetProps, Fix context error in valgrind
3854 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
3855 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
3856 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
3859 Don't install mapiproxy if python wasn't found, since
3860 we wouldn't know where to install the provisioning scripts or be able
3865 Merge libmapi-0.8 branch r1015 to 1017 into trunk
3867 ** Start libmapi-0.9 COCHRANE development **
3869 Merge libmapi-0.8 branch changes into trunk
3873 Add python install/uninstall rules to provision rather than mapiproxy-servers
3875 - Remove server Makefile rules
3878 Note: server and providers have been merged within mapiproxy,
3879 so there is no reason keeping this deprecated code.
3883 Undoing change committed in r1004.
3885 Use .po files instead of .o files for openchange tools
3887 Add --version to openchange tools
3889 Add COPYING file with GPLv3 license
3893 - Add RenameProfile function to IProfAdmin API
3894 - Remove pointless CopyProfile from IProfAdmin API
3895 - Add --rename option to mapiprofile tool
3896 - Update man page to reflect this addition
3898 (close trac ticket #124)
3900 Fix libmapi from crashing when mapi_repl is NULL.
3902 Update Samba4 git rev to fix the charcnv segfault met in openchange
3906 Try to find the Samba python modules if they're not installed in the system
3911 - Fix Subscribe semantic bug and add WholeStore boolean parameter
3912 - propagate API change to tools/torture callers
3914 - Add assessor functions to set dumpdata and debug level in libmapi
3915 (SetMAPIDumpData and SetMAPIDebugLevel)
3916 - OpenChange tools modified to use these function rather than set these
3917 parameters on their own
3919 - Fix --debuglevel segfault in openchange tools
3920 - Enable logging to stdout in MAPIInitialize
3924 * OpenChange libmapi function now returns MAPI error instead of -1
3925 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
3926 - add doxygen documentation for some missing functions/files
3928 - Missed this event->tevent change in previous commit
3930 - Update openchange to use latest Samba4 master git rev (990491d)
3931 - Fix references to tevent_context structures
3932 - Fix iconv_convenience init in MAPIInitialize
3933 - Remove errorchecks mapitest module warning
3936 Use tevent_context_init.
3942 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
3943 using profile's mailbox string directly. This commit fixes the bug.
3945 - Add EcDoConnect and EcDoDisconnect preliminary support to
3946 dcesrv_exchange_emsmdb.c
3947 - Add internal session management mechanism to EMSMDB server
3948 - Add init and unbind modules function to EMSMDB server
3949 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
3952 Fix valgrind errors caused by using free'd memory.
3956 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
3957 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
3958 0xB (opnums using LZ based compression).
3960 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
3964 - Preliminary implementation of NspiGetProps NSPI server function
3965 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
3966 - Use correct ldb context (users or conf) depending on where MId is
3967 located (on-memory or on-disk)
3968 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
3970 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
3972 - Preliminary implementation of NspiDNToMId NSPI server function
3973 - Add emsabp_search_legacyExchangeDN to search for a record given its
3974 legacyExchangeDN attribute.
3976 - Preliminary implementation of NspiQueryRows NSPI server function added
3977 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
3978 rather assuming it is NULL terminated
3979 - Add support for "referenced" property tags
3980 - Add support for PR_MV_STRING8
3981 - Add emsabp_search_dn which search for a DN within AD and return the
3982 associated LDB message
3983 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
3984 emsabp_property array
3986 Prevent from trying to add a NULL element to profile database and segfault on strlen
3988 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
3990 - Preliminary implementation of NspiGetMatches NSPI server function
3991 - Make use of a on-memory TDB database for Ephemeral Entry IDs
3992 - Add TDB traversal routines to retrieve DN associated to MId
3993 - Move lp_ctx within emsabp_ctx for convenience
3994 - Add EphemeralEntryID to Binary_r routine
3995 - add emsabp_query (Find attribute matching given property tag and
3996 return associated data)
3997 - add emsabp_fetch_attrs which builds a SRow array given a MId and
3998 requested property tags.
3999 - add emsabp_search which searches AD given input search criteria
4000 - add a preliminary Property Tag to AD attribute mapping + associated
4001 functions in emsabp_property.c
4003 Note: This NspiGetMatches is limited to MAILUSER which means we only
4004 look for users (located within users.ldb). This limitation will be
4005 removed when we have a preliminary working emsmdb server, so we can do
4006 more extensive NSPI server tests.
4008 Add sanity check to get_SPropValue_SRowSet, prevents the function
4009 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
4011 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
4012 with NULL ppOutMIds is returned.
4017 - Preliminary NspiGetSpecialTable implementation added to NSPI
4018 server/EMSABP provider: Hierarchy Table supported (required during
4020 - add PT_BINARY support for mapidump_SPropValue
4021 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
4027 Add new Display Type values (used by EMSABP provider)
4029 Change DEBUGLEVEL for RfrGetNewDSA
4031 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
4032 - mapiproxy-servers-install now installs openchange python scripts and ldif file
4036 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
4037 This structure is required for NTLM_AUTH_IS_OK macro
4039 - Add doxygen comments for all OpenChange server modules
4040 - Fix doxygen return value for exchange_nsp
4042 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
4043 - Add exchange handle enum to dcesrv_mapiproxy.h
4044 - Add authentication verifier macro to libmapiproxy.h
4045 - Add preliminary EMSABP Address Book Provider implementation:
4046 * supports initialization, destructor (talloc)
4047 * implements user and codepage check routines
4048 * retrieve NSPI server GUID
4049 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
4050 - Add internal session mechanism management to NSPI server
4051 - Add init and unbind modules function to NSPI server
4052 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
4053 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
4055 OpenChange configuration schema updated with Addressing schema
4056 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
4058 Execute server modules init function when loaded
4061 A few API documentation fixes.
4066 Add documentation for MAPIProxy 'server mode'
4071 - Implement mapiproxy server mode architecture
4072 - Add server modules management API
4073 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
4074 - Add temporary provision Makefile rule
4079 Initial text was correct - rollback
4084 Ensure that GetLastError() also returns the correct value.
4086 Start changing the MAPI_RETVAL_IF() usage to two new macros:
4087 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
4089 simple_mapi.c is the only one converted at this stage.
4091 Also added a set of unit tests that verify at least some initial
4094 Remove unreachable code.
4096 Partly resolves ticket #124
4101 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
4103 mapiproxy documentation update: 3 questions added to FAQ section
4105 Patch from Corentin Chary:
4106 - Add PR_CONTENT_FILTER_SCL property to libmapi
4108 - Update openchange to work with samba4 master git rev f308c2f
4109 - Replace reference to events.h with tevent.h
4110 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
4115 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
4116 Update openchangeclient to reflect these changes.
4121 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
4123 Fix PIC object flags for SWIG build. Patch by metze.
4128 User %u format specifier for unsigned integer.
4130 Make return value match signature.
4132 Miscellaneous minor cleanups. Mainly making return types
4133 match signatues, format conversion (%u for unsigned values) and
4134 matching up result variable types (bool instead of enum MAPISTATUS).
4136 Return an enum MAPISTATUS, instead of a bool, to match function signature.
4138 Use %u instead of %d for unsigned values.
4143 Another minor APIdox edit.
4145 API documentation tweak.
4153 More apidox triviality.
4155 Trivial APIdox edits.
4157 Supplement the user's PKG_CONFIG_PATH rather than
4161 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
4163 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
4165 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
4170 Actually use pymapi variables in Makefile.
4172 Add configure flags for building and installing Python MAPI bindings (disabled by default).
4177 Add namespace prefix to scanner.
4182 - spnego / gssapi_krb5 authentication now available for mapiprofile
4183 - add the --realm | -R option
4184 - update mapiprofile man page
4189 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
4193 Don't generate / install man3 pages for libmapi++ or mapitest.
4195 Resolves ticket #121.
4197 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
4200 Allow retrieving id and session of MAPI objects.
4202 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
4204 Add stubs for Session class.
4206 Add infrastructure for MAPI python module.
4208 Look for python and python-config binaries.
4210 Remove empty directory.
4214 Remove obsolete --properties option and related code
4219 Fix RecipientRow member's order
4224 - Update to latest samba4 git master revision (3508a66)
4225 - Fix references to samr info24 struct
4226 - Add support for assoc_group_id proxy
4227 - Add support in mapiproxy for bind/alter connections using assoc_group_id
4228 - Update mapiproxy documentation
4233 Improve building. Partially addresses #94.
4235 More work required on this as we work on the
4236 portability in the future.
4238 Expose the underlying session.
4243 Remove unused --priority option.
4245 These offsets / values can be negative, so we shouldn't
4246 use unsigned int type to represent them.
4251 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
4253 This patch first tries to forge EssDN Logon string from "o" and "ou"
4254 attributes stored in the profile. If Logon fails with ecUnknownUser,
4255 then try to open the mailbox using the mailbox attribute stored in
4261 Document the --label option.
4266 Make openchange compile and work against latest samba4 master git rev (58db2be)
4269 Remove check for unused type 'uint_t'.
4274 More tweaks on the openchangeclient man1 page.
4276 More updates for man1 page for openchangeclient.
4277 Still doesn't fully address #113.
4279 Update the openchangeclient man1 page.
4281 Partly addresses ticket #113.
4283 There is still some work to do on this.
4285 Fix a typo, and try to make the descriptions more
4291 Initial version of man1 page for mapitest
4293 Initial man1 page for exchange2ical utility.
4298 Update man1 page for openchangepfadmin
4300 Minor updates for the man pages.
4305 Fix build errors: wrong number of arguments for ocpf_propvalue
4307 Fix warnings when compiling with -Wextra
4309 Fix warnings when compiling with -Wextra
4311 Fix warnings when compiling with -Wextra
4314 Complete initializers here.
4319 Update to reflect latest state of mapiprofile.
4324 Prevent segfault when running mapitest. Looks like the we can
4325 return MAPI_E_SUCCESS even if one of the property values is
4326 MAPI_E_NOTFOUND. That error then get turned into a char*, and
4329 Also fix a possible bug relating to operator precedence, and
4330 a couple of warnings (one for signed / unsigned comparison, and
4331 the other for an unsigned value never being less than zero).
4336 Enable output to stdout.
4338 Resolves ticket #106.
4340 Thanks to raboof for the report and fix.
4345 Fix missing initialisers (issue #110).
4347 Also fix some signed/unsigned warnings.
4349 Fix problems with incorrect initialisers (#110) and
4350 operator precedence.
4352 Also fix a couple of places with signed/unsigned confusion.
4354 Partial fix for issue #110, and a couple of very minor cleanups.
4361 We probably want to return here, not do nothing.
4366 Fix empty patch function problem: add a retval
4371 Explain the boost-thread trick.
4373 Minor documentation tweaks.
4378 - remove usage of global_loadparm in libmapiadmin
4379 - make use of session context rather than global_mapi_ctx in libmapiadmin
4380 - use local context rather than mapiadmin context in libmapiadmin
4381 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
4382 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
4383 - remove global_loadparm in torture test and replace it with torture context
4384 - fix dcerpc_init to match latest samba4 API
4385 - update samba4 version required to build openchange
4388 More API documentation tweaks.
4390 More API documentation tweaks.
4392 Some API dox fixes for libmapi++.
4395 Remove unnecessary patching of lib/events/events.h.
4400 Update to a more recent Samba4.
4403 Remove some usages of deprecated global_loadparm.
4405 Cope with new argument to dcerpc_log_packet().
4410 Fix includes for DEBUG(), fix some more warnings.
4412 Use same_net_v4 rather than deprecated same_net().
4414 Fix Samba 4 git revision.
4416 Fix includes - debug.h can only be included once.
4418 Include debug header.
4420 Cope with API changes in Samba functions.
4422 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
4427 Fix OpenMsgStore binding in swig perl and fetchmail script
4432 Fix pointless const definition for GetFreeBusyYear return type
4436 - Add the IsFreeBusyConflict convenient function which checks if a
4437 given date conflicts with existing FreeBusy Busy/OOF events
4439 - Modify openchangeclient --sendappointment behavior to check whether
4440 start or end date conflicts with FreeBusy published data for the
4443 - Add the --force option to openchangeclient to override this behavior
4445 - Fix a counter bug in mapidump_freebusy_events
4447 Fix doxygen typo error
4449 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
4450 data in public folders for a given user. Note: Ambiguous name is not
4451 supported at the moment.
4453 - Add convenient FreeBusy mapidump routines
4455 - Add FreeBusy read support to openchangelient
4457 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
4458 property.c functions
4460 - Add OpenUserMailbox which let developers open other mailboxes
4461 instead of the default profile one.
4463 - Add GetABRecipientInfo: convenient function which retrieves Address
4464 Book information for a given recipient
4469 - Add libmapi implementation for DeletePropertiesNoReplicate
4470 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
4472 Fix doxygen documentation
4477 - Implement multisession into libmapi
4478 - Update openchange tools and suite to reflect these changes
4479 - Fix SRow_addprop behavior
4481 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
4482 now take a mapi_session parameter.
4485 Use my openchange.org email address.
4490 - Add a session management API for mapiproxy modules. Similar code
4491 already existed for mpm_cache module. Common functions are now
4492 available to all mapiproxy modules through libmapiproxy
4494 - replace smbd with samba in mapiproxy documentation
4496 - Cache calendar, contact, journal, note, task and drafts folders IDs
4497 when GetDefaultFolder call is performed on one of these folders and
4498 keep them until obj_store is released.
4500 - Add a reverse lookup routine which says whether a given FID belongs
4501 to a default folder and which olFolderType it is.
4503 - Remove pointless memory context in GetDefaultFolder
4504 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
4506 Restore install rule for mapi profiles ldif files in
4507 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
4508 tries to create a new mapi profile store.
4512 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
4513 - mapi_object_copy routine added to mapi_object.c
4518 Fix missing Month field in LogonTime structure
4522 propagate IDL warning fix to property.idl
4525 Add target for building python API documentation.
4529 Fix samba4 release and git revision
4531 Fix installsamba4.sh script paths
4536 Install OpenChange python modules.
4538 Check for python dir during configure.
4540 ignore generated files.
4542 Stop installing js files.
4544 Use autoconf cache prefix.
4546 Use newer version of Samba 4.
4550 Remove dcesrv_exchange.so from server Makefile rule and
4551 move mapiproxy from TOOLS to SERVER.
4553 dcesrv_exchange and providers Makefile rules are orphan, planned
4554 to be removed (with their associated code) when emsabp merge process
4555 into mapiproxy is over.
4559 Export the Binary_r structure.
4563 Use more descriptive variable names in messages example code.
4565 Add a description of messages to libmapi++ API documentation.
4567 Add messages binary to the ignore list.
4569 Add new example showing libmapi++ message handling, and
4570 associated API documentation and build system changes.
4574 Update the API documentation main page for libmapi++
4578 Add foldertree binary to the ignore list
4580 - Add missing Input parameter
4581 - Add sanity check on ppNames
4584 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
4585 - Add a NspiGetSpecialTable test for Address Creation Template
4588 Fix valgrind-reported error, per ticket #101.
4590 Make sure we clean up after mapitest runs.
4596 - Add msExchUserAccountControl attribute to extended user record
4597 - openchange_newuser can now create/enable/disable an OpenChange account
4599 Exit the test if the WriteStream operation fails
4601 Fix ncacn_ip_tcp binding string for OpenChange server object
4603 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
4605 Fix pipe function check and use ndr autogenerated defines rather than static strings
4606 Fix calls to NspiDNToMId
4609 Make sure we set the body and body format properties, to
4610 ensure that the message is shown correctly with
4611 openchangeclient -F.
4616 - Rename oc_* python scripts to openchange_*
4617 - Add Full Exchange 2003 schema (classes and attributes)
4618 - Full Exchange 2003 modified classes and attributes support
4619 - Add prefixmap OID for some Exchange classes and attributes
4620 - Add missing ADSC classes and attributes
4621 - Improve configuration LDIF file with new objects
4623 NOTE: provision.py should find a way to handle firstorg properly
4624 NOTE: oc_provision_configuration.ldif is still incomplete
4627 API documentation improvements.
4631 Add an example to the libmapi++ documentation, and
4632 the right build magic and doxygen linkage.
4634 Minor API documentation fix
4638 Add forgotten part of API documentation fixes for mapitest.
4640 Improve mapitest API documentation.
4644 Use new DeleteFolder flags to clean up folders on deletion.
4646 This doesn't completely resolve ticket #84, but it does help.
4648 Ignore API documentation.
4650 Add Doxyfile to ignore list.
4652 Add initial support for Doxygen API documentation
4657 Implement the remainder of the standard public folders.
4661 Only do header line removal at the start of the file
4662 (lines 20 through 40 seems like a good compromise).
4664 libmapi++ is C++, not C, so we should not optimise
4665 Doxygen output for C.
4669 - Update the Logon_repl IDL (0xFE) and implementation
4670 - Add new folders to the mapi_obj_store for PF folders
4671 - rename pf_finder to pf_search
4674 Suppress some more unwanted headers.
4678 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
4682 - Update the EmptyFolder IDL
4684 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
4685 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
4687 Link libmapi++ documentation to main apidocs page
4689 Update GetAttachmentTable IDL and remove the unknown field
4691 - Update DeleteFolder IDL and implementation
4692 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
4693 - Sanity checks added at the beginning of the function
4695 - Rename GetRowCount to QueryPosition
4696 - IDL, implementation, documentation and openchange code updated
4697 - ActionType enum fields prefixed with 'ActionType_'. Original
4698 values were causing conflicts while building Perl bindings with
4699 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
4701 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
4703 - Update SaveChangesMessage IDL and implementation
4704 - Add a SaveFlags parameter to SaveChangesMessage function
4705 - update openchange code to reflect this change
4708 Build fix / fix for ticket #99.
4710 Filter out some new #include lines.
4712 This needs to be applied to other modules too.
4716 Update SRow and SRowSet IDL
4718 Delete obsolete input_locale and instance_key structures
4720 Fix WStringArray_r IDL
4722 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
4723 - LPWSTR structure removed
4725 Rename SDateTimeArray to DateTimeArray_r
4727 Rename SGuidArray to FlatUIDArray_r and fix the IDL
4729 Rename MV_LONG_STRUCT to LongArray_r
4731 Rename SBinary to Binary_r
4733 - Add removal of libmapi++ Doxyfile in make distclean rule
4734 - Add Doxyfile to svn:ignore
4736 Rename SShortArray to ShortArray_r
4738 - Move from SLPSTRArray to StringArray_r
4739 - LPSTR structure removed
4741 Rename MAPIUID to FlatUID_r
4743 Fix lexer warnings during compilation (ticket #100)
4745 - Update the EcDoConnect IDL (ref. ticket #99)
4746 - Add new fields to the emsmdb info structure
4747 - Add doxygen comments to libmapi/emsmdb.c
4750 Reduce warnings when compiling with 64-bit arch.
4752 Initial checkin of infrastructure for libmapi++ API documentation.
4756 - MAJOR NSPI protocol and libmapi stack update
4757 - All NSPI protocol functions implemented
4758 - NSPI stack fully documented
4759 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
4760 - NspiDNToEph renamed to NspiDNToMId
4761 - instance_key removed from nspi_context and set as a parameter to NSPI functions
4762 - SPropertyRestriction renamed to PropertyRestriction_r
4763 - FlagList structure removed and replaced by a SPropTagArray
4764 - MAPI_SETTINGS removed and replaced by a STAT structure
4765 - new MAPI property tags added to libmapi/conf/mapi-properties
4766 - NSPI module added to mapitest
4769 Clean up on failure.
4771 Clean up on failure.
4773 Minor improvements to ensure cleanup on failure.
4775 API documentation fix
4777 API documentation fix.
4779 API documentation fix.
4781 API documentation fix.
4783 API documentation fixes.
4787 API documentation fixes.
4791 Fix EMSMDB 0xb function name
4793 - update EcRRegisterPushNotification IDL
4795 - implement complete MAPI notifications
4796 - update libmapi to reflect these changes
4797 - make openchangeclient prints a brief summary for each notification found
4798 - update ulEventMask used in openchangeclient
4802 - Rename Advise MAPI call to RegisterNotification
4803 - Update RegisterNotification IDL and implementation
4807 - Fix Restrict IDL and implementation
4808 - Add a new parameter to the Restrict function
4811 Add mapi_nameid.h to the ignore list
4813 - Replace libmapi/mapi_nameid.h with a generated mparse file
4814 - Add a mapi_nameid.h parser to mparse.pl
4815 - Add canonical names for named properties
4816 - GetProps and SetProps resolves named properties if they exist
4817 - named properties can now be set directly and make mapi_nameid API be
4819 - replace named property tags hex value with their canonimal names
4820 - replace several use of the mapi_nameid API with smaller code
4822 - Add new IDL file (property.idl) to push/pull structures from binary
4823 blobs and not directly related to any MAPI calls. Include the
4824 generated property.h file into libmapi.h
4826 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
4827 parsing) and mapidump_SPropValue
4829 - Add functions to property.c to retrieve RecurrencePattern,
4830 TimeZoneStruct and GlobalObjectId structures (see property.idl).
4832 - add a preliminary version of exchange2ical tool. This version only
4833 dumps calendar folder appointments into ICS file on standard output.
4837 - Update mapi-nameid-properties with a more complete set of properties
4838 - Add a header to mapi-nameid-properties for sanity purposes
4839 - Move named properties with PT_STRING8 type to PT_UNICODE
4840 - update openchange code to reflect these changes
4841 - Add PSETID_Attachment to mapidefs.h
4845 Add missing check on password for the create command
4847 Fix incorrect usage of realm in mapiproxy
4851 Check for provider_rpc_connection retval for RFR functions.
4853 Update Doxyfile to parse mapiproxy/modules files and
4854 include documentation on static functions.
4856 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
4857 Exchange server name with mapiproxy one.
4858 - documentation updated to reflect these changes
4859 - new FAQ question added
4860 - developer documentation improved
4862 Add the RFR mapiproxy file.
4864 - Implement RfrGetNewDSA DN replacement in mapiproxy
4865 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
4866 - update mapiproxy documentation to reflect these changes
4870 - Add implementation of the NSPI Referral protocol (exchangeRFR)
4871 - update dcesrv_exchange and mapiproxy prototypes for RFR
4872 - add references to the RFR pipe in mapiproxy
4873 - prefix NSPI client connections with a RfrGetNewDSA call
4874 - add RFR functions implementation in libmapi/IMSProvider.c
4875 - add a --getfqdn option to mapiprofile
4876 - fix a minor mapiprofile option parsing bug
4880 Fix mapiproxy dummy module unbind prototype
4882 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
4883 - EcDoRpc indent updated
4887 Get rid of initialization order warning
4891 - add unbind hook for mapiproxy
4892 - add ahead mapiproxy mode
4893 - add read ahead in cache module
4894 - add synchronization mechanism in cache module
4895 - update mapiproxy documentation to reflect these changes
4899 Temporarily comment out installation of files removed
4904 Fix arguments, paths in provision scripts.
4906 Merge python provision/newuser scripts.
4908 Simplify installation of manpages a bit.
4912 Add configure check for libboost-thread. Add libmapi++ to the build
4913 only if it is available.
4917 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
4918 - Created session::login() members.
4919 - test applications use default profile.
4923 - Import Alan Alvarez work from libmapi++ into trunk
4924 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
4926 - Add libmapi++ to the build system
4927 - Add a patch function to installsamba4.sh: rename private to
4928 private_data in samba4 events.h header file
4929 - Change #include directives so it uses <libmapi++ ... rather than
4934 - Add a statitic function monitoring streams over OpenStream and Last
4935 ReadStream operations. Monitoring stream Release is not relevant
4936 since Outlook does not close the handle directly after last
4937 ReadStream operation. Should put in evidence difference between
4938 non-cached(1st retrieval) and cached (further retrieval).
4940 - Fix a few memory leaks
4944 - Commit initial revision for the mapiproxy cache module
4945 - Update mapiproxy hook API for the dispatch routine
4946 - Introduce the mapiproxy structure for modules to control top-level
4948 - Update mapiproxy documentation to reflect these changes
4952 * Fix remaining ByteRead parameter size for ReadStream operations.
4956 * Improve/Update Open/Read/WriteStream IDLs
4957 * Fix ByteRead parameter size for ReadStream operation.
4961 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
4964 Propagate r666 changes to OpenMsgStore and fix build
4967 Minor rename of bitmap value to avoid conflict with
4968 Private as a class name.
4972 Minor change: remove old debugging string from mapitest
4974 Fix incorrect header
4976 Remove deprecated mapi_handles API
4979 Initial checkin of some uno (static checker) support
4982 There will be a script to run uno with the right options,
4983 but that requires more work.
4987 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
4988 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
4990 - Call mapi_object_release in GetDefaultFolder
4991 - Remove pointless references to mapi_object_t
4994 Fix little memory leak.
4998 Fix invalid OpenFolder calls in mapitest modules
5000 Remove references to SaveChanges in doxygen see also statement
5002 - Rename SaveChanges to SaveChangesAttachment (0x25)
5003 - Update SaveChangesAttachment IDL
5004 - Update references to SaveChanges
5006 - Fix the huge memory leak described in Ticket #91
5007 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
5012 - Add mapi_get_errstr auto-generated routine which returns the MAPI
5014 - Add print routine for MAPI retval in mapitest
5015 - Add a color mode (--color) which prints either green or red MAPISTATUS
5016 - Update mapitest modules to use these new routines
5019 Minor API documentation fix.
5025 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
5027 - Report and make consistent usage of PropertyProblem in the IDL:
5028 SetProps, DeleteProps and CopyProperties
5030 - Remove unknown field in GetProps and GetPropsAll and replace them
5031 with the correct IDL mapping.
5033 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
5035 - Minor typo fix in IMAPIProp.c
5037 Improve CreateMessage request IDL
5039 Improve OpenMessage response IDL
5041 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
5043 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
5044 IDL: make these call able to check whether the folder is ghosted or
5047 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
5049 SeekRow and SeekRowBookmark IDL improved
5051 Improve the SetColumns IDL: remove unknown fields
5055 Minor code convention fix
5057 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
5058 from segfault when invalid dcerpc response is received.
5060 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
5061 Requires investigation
5064 Implement GetIdFromLongTermId and GetLongTermIdFromId
5065 functions (ROP:0x43 and 0x44), and associated mapitest.
5067 Documentation typo fix.
5069 Change the QueryNamesFromIDs() call to match
5070 MSDN, including changing the name to QueryNamedProperties().
5072 Also implement mapitest for QueryNamedProperties(),
5073 GetNamesFromIDs() and GetIDsFromNames().
5075 Update torture test to match.
5079 - Build system update: use samba4-alpha5 release with wget method
5080 - introduce 'make samba' and 'make samba-git'
5084 Make sure we have names[] array large enough.
5086 Problem identified using default uno run.
5092 Fix a small errno bug in GetBestBody
5093 Add dump-data and debug options to exchange2mbox
5097 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
5098 - remove sed hack, modifications applied in samba4 trunk
5099 - update required samba4 git rev required
5106 Minor documentation update: remove deprecated reference to ./bin/smbpython
5108 Fix torture suite entry point name
5109 Fix torture module installation path
5111 - Add implementation for the BestBody algorithm
5112 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
5113 - Remove trailing }}\0 from lzfu code
5114 - Update openchange tools to use GetBestBody rather than
5115 the initial check on PR_MSG_EDITOR_FORMAT
5117 Add a very basic stat module for mapitest: gives a quick overview
5118 of tests which failed at the end of the report.
5120 - Defines a global stream size in mapitest.h
5121 - Decrease stream size from 0x4000 to 0x3000
5122 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
5127 Fix OC_CHECK_SAMBA_VERSION string
5129 - Move samba4_ver.sh from top dir to script
5130 - update parts of openchange relying on samba4_ver.sh
5132 Add configure check for lib Z
5135 - Temporary fix ldb.pc problem and patch ldb.pc.in
5136 - Update samba4 version to the latest revision
5137 - Add libmapiproxy to svn:ignore proplist
5140 Try a different git revision, just for now.
5144 - Update Samba4 version needed
5145 - Change entry point function from init_module to samba_init_module
5146 - update documentation
5150 Fix calls of ldb_init() as required by newer versions of Samba.
5154 Support newer versions of Samba4.
5158 Add some other standard GUIDs
5166 Use version and soversion in mapiproxy library.
5168 Make modules directory overridable.
5172 Change API as identified on devel mailing list.
5175 After some investigation into an error reported by valgrind, I'm proposing an
5176 API change for the MoveCopyMessages() function.
5178 The signature is currently
5179 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
5180 *obj_dst, mapi_id_t *message_id, bool WantCopy)
5182 The problem is the message_id array. The subtle part is that it needs to be
5183 terminated with a null mapi_id_t*, because of this:
5184 for (request.count = 0; message_id[request.count]; request.count++);
5186 That is a bit error prone - enough so to be wrong in the mapitest.
5188 Now we could just fix the mapitest and document the requirements, or we could
5189 change the signature.
5191 Two ideas for a different signature:
5192 1. We could add a uint16_t count to the signature, that says how long the
5194 2. We could use a better data structure than mapi_id_t*. I'm suggesting
5196 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
5197 mapi_object_t *obj_dst,
5198 mapi_id_array_t *message_id,
5203 Add mapitest coverage for CopyTo operations on
5204 folders and attachments, and update API docs.
5206 Also fix one place where we inadvertently used
5207 CopyProps instead of CopyTo...
5211 Typo fixes in comments.
5213 Minor documentation updates.
5215 Clean up created message for SpoolerLockMessage() test.
5219 Update samba4 version test.
5223 Make sure properties are copies into the last valid
5224 location in the extended array (i.e. count-1) not the
5227 Also, make sure we cast the data to a uint8_t for
5228 conversion to boolean.
5230 Also fix compile warning about returning integer instead
5233 We may read up to 0x1000 bytes, so ensure there is
5234 enough room to add the terminating null.
5236 Minor cleanup of the talloc context for FreeBookmark().
5238 Also change around some code to protect things a bit
5239 better against null pointer inputs.
5243 Implement a bit more mapitest for CopyTo (0x39), in
5246 Also make it clean up and report failures properly.
5250 Implement the CopyTo operation (0x39), including initial mapitest.
5251 JK previously committed the IDL for this.
5253 Also make CopyProps (0x67) use an appropriate data structure for
5254 its IDL and update implementation to match.
5258 Minor documentation updates/corrections.
5262 Introduce a default case for MAPI Restriction. In some circumstances -
5263 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
5264 property tag which value is set to 0xFF. However 0xFF doesn't match
5265 any restriction case.
5269 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
5271 - Add IDL for ReloadCachedInformation (0x10) MAPI call
5273 - Add IDL for CopyTo (0x39) MAPI call
5275 - Update the Samba4 GIT revision needed to run openchange properly
5277 - import mapiproxy project from mapiproxy branch
5278 - add custom proxypack MAPI call
5279 - remove deprecated dcesrv_exchange_remote
5282 Add missing part of mapitest for SetReadFlags
5284 This should have been part of r578.
5286 mapitest for SetReadFlags
5288 Implement SetReadFlags (operation 0x66).
5290 Also minor API docs fix.
5292 Move some test infrastructure from the oxctable.c module
5293 into the common area.
5295 Fix IDL error for SetReadFlags, and use existing flags
5296 define (MSGFLAGS_READ) instead of creating a new set.
5298 Build fix for relocation of mapiproxy/ to be under the
5299 top level directory (instead of under the utils/
5304 merge from mapiproxy branch:
5305 * ndr_push Logon_req manually
5307 merge from mapiproxy branch:
5308 * Add IDL and server boiler template for EcDoConnectEx (0xA)
5311 * Fix ndr_push_mapi_response code in ndr_mapi.c
5313 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
5314 ndr_mapi.c. Handles special Notify and Pending cases
5316 * Handle op_MAPI_Pending case properly in
5317 ndr_pull_EcDoRpc_MAPI_REPL
5319 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
5320 DATA_BLOB if there is no RowCount
5322 merge from mapiproxy branch:
5323 * Fix GetReceiveFolder [out] IDL
5324 * Fix some naming convention typo
5326 merge from mapiproxy branch:
5327 * Fix SetMessagReadFlag [out] IDL
5329 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
5330 perfect, but it will prevent mapiproxy from ndr_pull error while
5331 setting message read flag on public folders messages.
5333 merge from mapiproxy branch:
5334 * Fix CreateMessage [out] IDL
5336 merge from mapiproxy branch:
5337 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
5338 * rewrite OpenMessage [in] IDL and report changes in
5339 libmapi/IStoreFolder.c
5341 merge from mapiproxy branch:
5342 * Add IDL for Pending (0x6e) MAPI call
5343 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
5345 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
5347 merge from mapiproxy branch:
5348 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
5350 merge from mapiproxy branch:
5351 * Add IDL for SyncGetTransferState (0x82) MAPI call
5353 merge from mapiproxy branch:
5354 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
5356 Note: This IDL is temporary and should be improved after completion of
5357 the merging process.
5359 merge from mapiproxy branch:
5360 * Add IDL for SyncOpenCollector (0x7e) MAPI call
5362 merge from mapiproxy branch:
5363 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
5365 merge from mapiproxy branch:
5366 * Add IDL for SyncImportMessageMove (0x78) MAPI call
5368 merge from mapiproxy branch:
5369 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
5370 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
5371 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
5373 merge from mapiproxy branch:
5374 * Add IDL for SyncImportDeletes (0x74) MAPI call
5376 merge from mapiproxy branch:
5377 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
5379 merge from mapiproxy branch:
5380 * Add IDL for SyncImportMessageChange (0x72) MAPI call
5382 merge from mapiproxy branch:
5383 * Add IDL for SyncConfigure (0x70) MAPI call
5385 merge from mapiproxy branch:
5386 * Add IDL for RegisterOptions (0x6f) MAPI call
5388 Note: This call is undocumented in Microsoft documentation, but MSDN
5389 RegisterOptions function generates this call on the wire.
5391 merge from mapiproxy branch:
5392 * Add IDL for Progress (0x50) MAPI call
5394 merge from mapiproxy branch:
5395 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
5397 merge from mapiproxy branch:
5398 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
5399 * Add IDL for GetPerUserGuid (0x61) MAPI call
5400 * Add IDL for ReadPerUserInformation (0x63) MAPI call
5402 merge from mapiproxy branch:
5403 * Add IDL for LongTermIdFromId (0x43) MAPI call
5404 * Add IDL for IdFromLongTermId (0x44) MAPI call
5406 merge from mapiproxy branch:
5407 * Add IDL for ModifyRules (0x41) MAPI call
5409 merge from mapiproxy branch:
5410 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
5412 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
5414 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
5415 work around the no-pointer deep recursion pb and remove
5416 existing nopull,nopush,noprint code from ndr_mapi.c
5418 * Fix mapi_SComment_Restriction IDL
5421 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
5422 - use mapi_LPWSTR for PT_MV_UNICODE
5423 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
5424 change its field names.
5426 - Fix emsmdb version
5427 - Change MAPI opnum enum identation -- Helps to fine down merging from
5433 Minor API documentation fixes.
5435 Update label to reflect SetReadFlags -> SetMessageReadFlag
5438 This should have been part of r529 - missed it.
5442 merging from mapiproxy branch:
5443 - Fix MV_UNICODE_STRUCT and unicode strings
5444 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
5445 mapi_LPWSTR for exchange_emsmdb
5446 - Add the NspiGetTemplateInfo IDL
5447 - Fix the NspiUpdateStat IDL
5449 Fix build: SetMessageReadFlag function name was not propagated in the
5453 Initial merge of changes for rename of SetReadFlags to
5454 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
5457 Use private_data instead of private, for C++ happiness.
5459 Minor cleanup. Using "try" confuses my c++ compiler...
5461 This is really part of r525. It moved to IMAPITable.c
5463 Update the table operations:
5464 - implement ExpandRow and CollapseRow
5465 - implement GetCollapseState and SetCollapseState
5466 - add mapitest coverage for the above, plus the Restrict call
5467 - implement ResetTable
5468 - implement FreeBookmark
5469 - add mapitest coverage for SRowSet parsing code
5471 - various API documentation bits
5474 Use right directory for samba4_ver.sh script.
5476 Use common location for Samba 4 git revision.
5480 Use PT_ERROR where appropriate.
5482 Update the SRowSet parser, fixing breakage I introduced.
5486 Update examples to reflect recent API changes.
5489 Don't rely on absolute file paths since the distribution may be installing
5492 make scripts executable.
5496 Avoid segfaulting if you ask for a specific test or tests and
5497 forgot to start the server.
5500 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
5501 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
5502 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
5503 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
5504 #############################[mapitest report]#################################
5505 [*] Date : Sun May 25 11:45:29 2008
5506 [*] Confidential mode : [no]
5507 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
5508 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
5510 [*] System Information :
5512 Kernel release : 2.6.23.17-88.fc7
5514 ###############################################################################
5518 [TEST] NOSERVER-LZFU
5519 ------------------------------------------------------------------------
5520 * uncompress_rtf2 : 0x00000000
5521 * uncompress_rtf2 : PASSED
5522 ------------------------------------------------------------------------
5523 [RESULT] NOSERVER-LZFU: [SUCCESS]
5524 ========================================================================
5526 [*] OXCTABLE-RESTRICT
5527 Server is offline, skipping test: "OXCTABLE-RESTRICT"
5528 [*] OXCTABLE-CATEGORY
5529 Server is offline, skipping test: "OXCTABLE-CATEGORY"
5533 ignores objects that contain invalid handlers in mapi_object_release().
5535 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
5539 Fix API documentation to match signature.
5543 Update QueryRows IDL and implementation to match
5546 The main work here is reworking the SRowSet parsing
5551 Typo fix - allow cleanup to work properly.
5555 Make sure it has a return value.
5559 Rename GetColumns remote operation to GetColumnsAll, and
5560 fix up IDL and implementation to match.
5562 Add some more unit test coverage, and pretty-up the
5565 Fix up breakage introduced in r493.
5568 Make sure nagios directory gets created if it didn't exist yet.
5572 Refactor the unit tests.
5574 Extract out the setup and some of the cleanup code.
5578 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
5579 - Use event_context structure
5580 - update installsamba4.sh script to revert to this revision.
5581 - update torture modulesdir reference
5584 Look a little bit harder for the Samba installation.
5588 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
5589 - Add OXCFXICS mapitest module
5593 - Fix "the very secret" openchange coding style
5594 - Add Copyright for our humble new libmapi developer ;-)
5597 Implement the CopyProperties operation, including
5598 a mapitest for this.
5602 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
5603 code maybe needs some review regarding memory.
5605 - Add the GetTransportFolder MAPI call (IDL + implementation +
5608 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
5610 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
5612 - Add GetRulesTable (IDL + implementation + mapitest)
5613 - Add the OXORULE mapitest suite
5619 Make sure config.mk is the last file removed during distclean.
5623 - Add the Abort MAPI call (IDL + implementation)
5625 OpenChange doesn't support yet asynchronous operation which explains
5626 why no associated mapitest test has been implemented. This should be
5629 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
5630 - Fix some typo in mapitest doxygen
5632 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
5633 - Fix some doxygen stuff
5634 - add a common function within mapitest which looks for a folder name
5635 within a container and return the opened folder object on success.
5637 Add auto-generated Doxyfile to the svn ignore list
5639 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
5641 - Uninitialize MAPI and general memory context at the end of mapitest
5644 Clean up / flush the stream after use.
5646 Saves a bit more "still reachable" in valgrind too.
5650 - Rename CopyMessages to MoveCopyMessages
5651 - Improve IDL + implementation and mapitest added
5654 Make sure the version shown for mapitest documentation
5655 is automatically set to match the package version.
5657 complete the rest of the API documentation autonumbering.
5660 Remove duplicate use of $(SHLIBEXT).
5662 Avoid parallel builds for now.
5666 Fix GetContentsTable binding in perl swig
5668 - Improve the GetHierarchyTable and GetContentsTable IDL and public
5669 IDL implementation (new parameters in,out)
5672 Initial part of automatic list numbering for doxygen comments.
5674 This doesn't work correctly with the current apidocs.css, which
5675 turns the list numbers into bullet points for reasons I don't
5680 - Improve the DeleteMessages IDL request
5682 - Update libmapi version from 0.7 to 0.8
5684 - Public API change for the GetReceiveFolder function; now takes a
5685 message class as 3rd parameter.
5687 - Improve GetSearchCriteria request IDL (unknown removed)
5688 - update libmapi copyright headers 2007 -> 2007-2008.
5690 - Improve the SubmitMessage IDL
5691 - minor indentation fixed in IMessage.c
5693 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
5695 - Add SeekStream MAPI call (IDL + implementation + mapitest)
5696 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
5698 - Add CommitStream MAPI call (IDL + implementation + mapitest)
5699 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
5700 - refactor the stream test to include all stream related operations
5701 - add a common function which generates a random ASCII blob of data
5704 Add doxygen support for the mapitest examples.
5707 Allow cleaning individual parts.
5711 - Add GetStatus call (IDL + implementation + mapitest)
5713 - Fix format string problem in mapitest headers
5715 Run offline suites by default.
5717 - Introduce the online/offline mode for suite
5718 - Fix Exchange headers print bug when server is offline
5719 - reset errno to 0 before running new test
5722 Install the libmapiadmin.h header.
5724 Fix a compile-time warning on amd64, for the second
5725 argument to the getline() call - incompatible pointer
5728 I'm assuming that size_t is equivalent to uint32_t
5729 on a 32-bit architecture, but not on a 64-bit arch.
5731 A quick test showed no difference in actual output.
5734 Remove bashisms in installsamba4.sh
5738 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
5739 - Improve some ModifyRecipients and Recipients structure naming
5743 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
5745 - Add OpenPublicFolderByName call added (IDL and implementation).
5747 - Note: the reply IDL doesn't handle Server and ServerCount yet.
5749 - Note: this call only refers to NNTP folders (e.g: folders located
5750 within "Internet Newsgroups". If developers use this call within "All
5751 Public Folders", then the call with return MAPI_E_NOT_FOUND.
5753 - Call not added to mapitest cause it require RightsAuthor permissions
5754 on Internet Newsgroups which is not the case by default.
5756 - dump-data and debug options added to mapitest
5757 - FOLDER suite renamed to OXCFOLD (naming convention)
5759 Rename module folder to oxcfold
5761 Replace the existing mapitest tool with a new implementation. It is
5762 less complete but more modular.
5765 Add proto headers to ignore file.
5769 OpenFolder request: replace unknown field with OpenModeFlags
5771 - Rename 0xFE opnum from OpenMsgStore to Logon
5772 - Update the Logon request IDL
5775 Add BEGIN_DECLS for private_proto.h.
5777 Add forgotten part of rev435.
5779 Add unit test framework for compressed RTF decoding.
5781 Refactor lzfu.c to improve testability.
5785 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
5786 to some incorrect sanity check tests.
5788 - Remove deprecated fuzzer_msgstore torture test
5789 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
5793 A couple of minor fixes to make it read better.
5796 properly clean up sofiles
5798 Import exchange nagios check script by Bill Edmunds.
5800 Add support for creating libocpf soname symlink.
5802 Use standard include for uint64_t definition.
5804 Cleanup talloc and tdb before building samba4.
5808 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
5810 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
5811 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
5813 Add reference to the ocpf lib within the pc file.
5817 Remove duplicate SWIG instructions (already covered by stdint.i).
5819 Ignore files created by swig.
5821 Use config.mk in swig/perl/Makefile.
5823 Allow sambaprefix and prefix to be different. Allow building with unknown
5824 Samba git revisions (will still warn though).
5826 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
5830 Add domain to the mapiprofile dump output.
5832 Fix OpenMessage IDL and GetRecipientTable fetched data
5834 -This line, and those below, will be ignored--
5837 M trunk/exchange.idl
5838 M trunk/libmapi/IStoreFolder.c
5839 M trunk/libmapi/emsmdb.c
5840 M trunk/libmapi/IMessage.c
5844 Fix typo, change samba-config -> samba-hostconfig.
5848 - Add openchangepfadmin to make install
5849 - Add openchangemapidump and locale_codepage to make clean
5853 Merge the samba4-latest branch.
5857 Revert so version number to 0.7
5859 Fix Perl bindings: update mapidump_message
5861 ** Start libmapi-0.8 ROMULUS development **
5863 Add ChangeLog and apidocs to the releases
5865 - Delete unmaintained regression suite
5866 - Fix typo error in torture-clean rule
5868 Add modified release script originally from abartlett/samba4
5870 - Check for specific Samba4 git revision in configure.ac
5871 - Prefix locale functions with lcid and make them _PUBLIC_
5874 API documentation update.
5881 Add installation script for samba4
5883 - Apply the nspi pointer patch - make openchange works with
5884 samba4-alpha3 git 41309dc
5889 Move the top level API documentation to an "overview"
5890 section and add a redirect to that overview.
5892 This keeps the doxygen output more nicely separated for
5895 Also, generate the man pages where the install expects
5900 - Fix strsep bug in openchangeclient
5901 - Add RECIPIENT support to libocpf
5903 - escape/unescape strings support added
5904 - PT_MV_STRING8 type added to OCPF write API
5908 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
5909 (based upon patch from lofi@mountproc.org)
5910 - makes the workstation parameter of mapiprofile optional (use
5911 gethostname if not defined by the user on command line)
5913 - Fix an allocation memory problem in cast_SPropValue
5914 - update svn:ignore proplist
5918 Update the documentation build so it keeps generating an embedded
5919 website in with apidocs/html as root directory.
5921 - Add support for PT_UNICODE and PT_SHORT to libocpf
5922 - Initial implementation of the libocpf write API
5923 - Update libocpf documentation
5924 - add --ocpf-dump option in openchangeclient
5925 - Fix realdistclean rules for server
5926 - add cast_SPropValue function to libmapi/property.c which cast
5927 mapi_SPropValue to SPropValue
5930 Split API documentation into two separate sections - one
5931 for libmapi and one for libocpf.
5933 Also add in a top level intro page.
5937 New build system which gathers a list of things that can be built with
5938 the libraries/utilities the user has installed and build that when
5943 Add missing allocation for OLEGUID
5945 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
5946 makes ocpf-syntax "exclusive" (quit after performing the operation).
5949 r371 was bad. What was I thinking with that nonsense!
5951 Revert to something sane.
5953 Make the ./bin/ directory if it doesn't exist.
5955 This should resolve ticket #33.
5959 Improve language handling when creating profiles.
5961 You can now get a list of valid languages and use either
5962 the language code ID or the language name to specify what
5963 language later versions of Exchange should reply with.
5965 Typo fix - duplicate ; at the end of the structure.
5967 Match format to unsigned int argument.
5969 Make the format specifier match the unsigned argument.
5973 propset svn:ignore update
5975 Update propset svn:ignore on doc/examples and libocpf targets
5977 - Fix ticket #29: http://trac.openchange.org/ticket/29
5979 - use access(2) to see if the database already exists
5980 - test if the profile already exists prior trying to add it
5981 - add descriptive error messages
5982 - catch CTRL-C signal and run a profile deletion routine
5985 Update API documentation for ocpf_nproperty_add().
5991 Fix mapidump_message call parameters
5995 Add fid/mid parameters to mapidump_message and changed
5996 openchangeclient_fetchitems to reflect these changes.
5998 Patch from Brad Hards <bradh@frogmouth.net>:
5999 updates the OCPF doxygen file.
6001 Patch from Brad Hards <bradh@frogmouth.net>:
6002 adds the doc/examples into the build system and enables make examples.
6004 Patch From Brad Hards, <bradh@frogmouth.net>:
6005 API documentation update and minor fix for the error value change.
6013 - Add PT_BINARY property support to OCP
6014 - Add stream support to OCPF for large PT_BINARY blobs.
6015 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
6020 - Prevent from assigning a value which type doesn't match with
6022 - Add missing substitution variable support for some named properties
6024 - Improve sample_appointment.ocpf example
6025 - Add PT_MV_STRING8 keyword to the list of supported property type
6030 Improve OCPF PT_MV_STRING8 support.
6032 - Initial revision for libocpf and its documentation
6033 - YACC support added to the build system
6034 - custom lid and string support in mapi_nameid
6035 - lookup functions added for OOM, lid and string
6036 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
6038 - PR_FID displayed in openchangeclient --mailbox
6039 - PT_MV_STRING8 support added to cast_mapi_SPropValue
6043 Patch from Brad Hards <bradh@frogmouth.net>:
6044 updates code to build with current API
6046 Patch from Brad Hards <bradh@frogmouth.net>:
6047 little update for some API dox
6051 - Add --update option to openchangeclient and allow users to modify
6052 existing messages (calendar, task, contact, note)
6053 - Add --delete option to openchangeclient and allow users to delete
6054 existing messages (calendar, task, contact, note)
6055 - Add some folder/message unique ID to mapidump outputs and send*
6056 openchangeclient functions.
6057 - Fix a bug in set_SPropValue: add sanity check on unicode
6058 string. Thanks to Suman Manjunath for this patch.
6059 - Fix mapidump_task function and identifiers of named properties used.
6063 Fix missing sanity check on priority
6065 Fix a bug in openchangeclient when tasks are created without body
6067 private flag added to openchangeclient appointments
6069 Fix folder IDs problem for Exchange 2007 SP1
6073 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
6077 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
6078 GetRecipientTable. We were extending SPropTagArray prior calling
6079 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
6080 and erroneous data to be inserted in the SRow.
6082 - Fix libmapi/socket/interface.c:
6083 - Use the latest version from Samba4 which removes reference to
6085 - Moves struct interface declaration to netif.h
6086 - Report changes to emsmdb.c notification functions.
6088 - Change GetGALTable prototype to match general libmapi policy. Remove
6089 the usage of bool and replace it with uint8_t. Possible values added
6094 - Improve NspiQueryRows IDL and implementation
6095 - Add GetGALTable implementation: fetch all the Global Address List
6097 - Add --userlist option to openchangeclient
6098 - Add a convenient and basic dumping function for Global Address List
6101 - Improve OpenMessage reply IDL
6102 - Fetch mapi recipients from OpenMessage reply
6103 - Add GetRecipientTable convenient function
6104 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
6105 GetRecipientTable implementation.
6106 - Add convenient SPropTagArray_add function
6107 - Add internal emsmdb_get_SRow routine
6111 Patch from Suman Manjunath <msuman@novell.com>:
6113 - Adds named-properties which define recurrence patterns for
6114 appointment and task.
6115 - Adds named properties for appointment timezone
6117 - Fix the SNotRestriction IDL and write custom push,pull,print
6119 - Add 2 new MAPI calls to the IDL:
6120 * GetSearchCriteria,
6122 - add sample {Get,Set}SearchCriteria torture test
6123 - add convenient mapi_id_array implementation
6124 - add GetDefaultFolder support for CommonView and Finder folders
6128 Make sure directory exists.
6132 - Fix tiny 'nail down samba4 version' bug
6133 - update the minimal Samba4 required version
6135 - Add FindRow call to the IDL
6136 - Improve mapi_Restriction support
6137 - Remove deprecated ndr_print_QueryRows function
6138 - Add a print function for fuzzyLevel
6139 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
6141 - Add couple of new MAPI tags to mapi-properties
6142 - change initial bookmark index to 3
6146 - Add 2 new MAPI calls to the IDL and mapitest:
6148 * GetReceiveFolderTable
6150 - Fix a bug in the SortTable test when no messages are returned by
6153 - Add SeekRowApprox to the IDL and mapitest
6154 - Fix some doxygen typo
6156 - New calls added to the IDL, torture suite and mapitest:
6159 - Internal mapi_object_bookmark_t implementation added to
6161 - SBinary_short default ndr_print function changed to custom
6165 Temporary fixes unexpected segfault in SortTable test. Emails sent
6166 during the Submit test have sometimes not yet been dispatched when the
6167 SortTable test begins. This fix adds a sleep(1) and an arbitrary
6168 number of attempts (5).
6170 Add 2 new MAPI calls to the IDL and libmapi:
6174 Tests for SortTable added to mapitest and the torture suite
6175 Test for AddressTypes added to mapitest.
6179 Fix perl bindings and fetchmail test
6181 2 new MAPI call added to the IDL and mapitest:
6187 - Add DeleteAttach MAPI call
6188 - Add new mapi unit tests:
6192 * GetAttachmentTable
6194 - Update mapitest README
6195 - Add some convenient functions to mapitest_common.c
6199 Add a preliminary draft of the mapitest standalone MAPI test suite.
6205 - Fix the build with the latest Samba4 version.
6207 - Add a basic libmapi/version.h auto-generated
6208 file (based on Samba4 one)
6209 - Remove some warnings when compiling the utf8
6211 - Add a emsmdb_info structure to fetch some
6212 information from the Exchange server
6214 WARNING: Please note that EMSABP is definitely broken and
6215 requires a review and update.
6218 DESTDIR should never get into any source files, that would defeat its purpose.
6222 Fix the torture suite.
6226 provide extra required argument.
6228 Store a loadparm context in the global mapi context.
6230 Deal with samba version.h's that don't contain the Subversion revision.
6234 Use SWIG-provided typemaps for stdint.
6238 Fix Content-Type field in exchange2mbox
6239 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
6243 - Improve the CreateMessage IDL
6244 - Add new parameters to IMAPIFolder CreateMessage libmapi function
6245 - Add --mkdir --rmdir options to openchangeclient
6246 - Update the CreateFolder API and openchangeclient documentation
6247 - Fix CreateFolder calls in openchange tools and torture suite
6248 - Fix gendb_search warning
6252 Add new PSETID_Address named properties
6254 Fix a few code convention typos
6256 Patch from Suman Manjunath <msuman@novell.com> applied:
6257 converts a 'struct timeval' to 'NTTIME'.
6258 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
6262 update Samba4 first revision to 26100
6265 Cope with ndr updates.
6269 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
6273 Fix profile creation in a clustered Exchange 2007 environment.
6277 Fix QueryColumns req size.
6281 ** Start libmapi-0.7 PHASER development **
6283 add --dump-data option to mapiprofile for debugging purpose
6287 openchangepfadmin (1) man page added
6289 Store messageID in the object when SaveChangesMessage is called
6291 Nail down Samba4 version for libmapi-0.6
6295 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
6296 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
6297 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
6298 - Fix a typo bug in openchangeclient body help string
6300 Update doxygen section
6304 - Add doxygen man (3) pages to installman and uninstallman rules
6305 - do not run doxygen if apidocs already exists
6309 Move documentation to doxygen
6313 Add convenient date related functions for implementors:
6314 returns a timeval struct matching a PT_SYSTIME property
6315 for improved date manipulation in 3rd party softwares
6319 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
6321 Fix make realdistclean when swig perl is enabled
6323 Fix swig perl bindins compilation: move *.o to *.po
6325 use talloc_memdup to copy const data in the body DATA_BLOB
6326 Should only provide valid pointer to talloc_free
6330 Fix the DeleteMessages [out] IDL.
6332 The remaining bytes were not part of DeleteMessages but
6333 MAPI notification (0x2a)
6337 - Add RTF support in exchange2mbox
6338 - Use openchange-tools public functions
6339 - Replace GetPropsAll calls with GetProps
6342 * Use GetProps rather than GetPropsAll for message dump
6343 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
6344 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
6346 -This line, and those below, will be ignored--
6349 A trunk/utils/openchange-tools.c
6350 M trunk/utils/openchangeclient.c
6351 M trunk/utils/openchange-tools.h
6352 M trunk/utils/openchangeclient.h
6353 M trunk/libmapi/mapidefs.h
6361 Remove useless svn:ignore
6364 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
6366 Original lzfu decompress routine fetched from libpst-0.5.2
6368 make enum MAPISTATUS variables naming uniform in libmapi
6372 Add PT_CLSID case to get_SPropValue_data
6374 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
6376 Patch from Brad Hards <bradh@frogmouth.net>:
6377 Fix compilation for x86_64 platforms.
6381 More svn:ignore updates
6383 Update of svn:ignore
6387 added the IDL license
6389 Convert OpenChange to GPLv3
6391 - Add .po files to make clean
6392 - Fix a couple of warnings in the utf8 conversion lexer
6393 - Prefer long filenames to truncated one for attachments in openchangeclient
6397 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
6399 Add PT_CLSID and PT_MV_CLSID support to the IDL
6401 - Add new named properties
6402 - Convenient function for MNID_STRING props lookup added
6405 Make .po a recognized suffix.
6409 Use -fPIC for library objects.
6413 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
6414 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
6416 - add mapi_nameid convenient interface and headers
6417 - mapi-named-properties populated, parser added to mparse.pl, file
6418 added to the build system
6420 - remove any incorrect reference to named properties in openchange
6423 - remove deprecated libmapi/mapi.h file
6424 - remove unused ulFlag parameter from IProfAdmin functions
6425 - remove unused memory context from libmapi/x500.c
6427 - support sendnote operation in openchangeclient
6428 - optimize check/list oc_element functions in openchangeclient
6430 - update swig interface
6434 - New MAPI calls: Named properties support
6437 * GetAllNamesFromIDs
6439 - Modified MAPI calls:
6442 These calls now have more granularity in libmapi with flags support
6444 - sample mapi-named-properties file introduced in libmapi/conf
6446 - Torture test suite:
6447 * suite temporary fixed (import torture_rpc_* functions from
6449 * torture_namedprops test added
6451 - SWIG Perl bindings fixed according to changes described above
6452 - minor improvements in libmapi/mapidump.c
6456 - Decrease MAX_READ_SIZE to 0x1000
6457 - Clean-up Read/WritreStream related code
6458 - add dump-data option to openchangepfadmin (debugging purpose)
6463 - remove reference to core/nterr.h
6464 - add global_loadparm reference where missing
6465 - add reference to core/error.h where needed
6468 Improve output during build.
6472 Pass loadparm contexts, should fix the build with newer Samba revisions.
6476 - WriteStream API changed: now returns the number of bytes written
6477 - WriteStream man page updated
6478 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
6479 - Set open mode to 0600 when attachments are stored on the filesystem
6484 Fix preliminary Perl bindings so it works with Samba4 alpha2
6485 and latest libmapi revision.
6487 Patch from Andrew Gaylard <ag@computer.org>:
6489 - When calling openchangeclient with the --dump-data switch, it will
6490 dump core, since the global_mapi_ctx pointer isn't initialised yet.
6491 The fix is to wait until it's set before accessing it.
6493 Patch from Andrew Gaylard <ag@computer.org>:
6494 - Leaving any blank lines before .TH directives appears to cause a blank page
6495 to be output when converting man pages to DVI files (which is a step to converting
6496 them to PDF). The following patch remove the blank line above the .TH in each man page file.
6498 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
6503 - Add objectClass to the object: container, message or attachment
6504 - Rename content to message in openchangebackup functions
6505 - add objectClass parameter to ocb_record_init
6509 - Move debug options to their correct location (after MAPIInitialize)
6510 - Improve code related to LDB transactions
6511 - Add convenient error checking macros
6515 - Add preliminary openchangemapidump draft
6516 - Fix lp_parm_* 1st parameter in the torture suite
6517 - New functions in property.c for MAPI data retrieval
6521 Use configure definition for mandir.
6525 Activate debugs this time
6527 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
6529 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
6531 Add error check for samr call.
6532 set errno with MAPI_RETVAL_IF.
6536 Make required packaged more clear (LinuxMagazin input)
6540 Remove invalid comment.
6544 - Clean-up function prototypes
6545 - Dump email when NEWMAIL notification is received
6549 Proper dependencies.
6551 Don't regenerate proto headers unless necessary.
6555 Use install for installing files/directories.
6557 Actually use replacement variable for libmagic.
6561 Remove forgotten BOOL
6563 Remove mapi_session pointer in mapi_objects
6564 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
6568 Prevent users from creation of *undeletable* folders in Outlook and
6569 perform sanity check on dirclass + display possible values.
6571 Provides a way to modify Default and Anonymous permissions for a given folder.
6573 Fix errno in getdir function + add sanity check on opt_rmdir
6575 - Fix a memory related bug in mapiadmin_add_user
6576 - Add latest howto.txt modifications from Dan
6578 - Fix bug in *UserPermission function: return when user is not found
6579 - Add sanity checks to mapi_object API functions
6580 - mapi_object_release reset errno to 0: need to release object
6581 after displaying the potential error message.
6583 Fix a mapidump_appointment bug
6584 Add PF folder support to fetch-items operation
6588 openchangeclient now support send/read/delete operation on custom PF directories.
6590 - Add libmapiadmin library draft: Add/Remove Exchange user
6591 - openchangepfadmin tool added: Public Folders management
6592 - Add Sanity check to CreateFolder
6597 Fix last references to BOOL, True and False.
6599 Fix more references to BOOL, False and True.
6601 Use standard type and values for booleans since Samba no longer exports
6602 BOOL, True and False.
6606 - Add OpenPublicFolder function to libmapi, Open Public Folder store
6607 - change torture suite API to match latest Samba4 pidl changes
6608 - utf8_convert regexp improved
6609 - minor changes: printf to DEBUG
6610 - howto.txt patch from Dan included
6611 - Samba4 torture code related to user account creation included in the
6616 Fix segmentation fault when running update prior populating the database.
6620 Remove obsolete file from the torture suite
6622 - Add Exchange Administration test to the torture suite: Create Exchange user
6624 Dan update on howto.txt
6628 - Add Exchange ACLs support to MAPI library
6629 - Add 2 new MAPI opnum: GetTable and ModifyTable
6630 - Improve mapidump functions
6634 - Improve aclocal check in autogen.sh
6635 - Fix flex binary detection in configure.ac
6643 Create libmapi.so symlink
6647 Fix mandir installation path
6648 Add ldconfig intructions to openchange installation documentation
6654 RES_AND and RES_OR preliminary implementation.
6658 - doc patch from Brad Hards
6659 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
6660 - fix a warning in property.c
6664 Add some 'const' (fixes compile warnings).
6666 Use sonames (required for the Debian packages).
6668 Add .bzrignore file.
6670 Update version number and use globally defined version number in libmapi.pc.
6674 - Add IDL implementation for restrictions Content, Property,
6675 CompareProps, Bitmask, Size, Exist.
6676 - Add Restrict MAPI call handling the restrictions above
6677 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
6678 - convenient sendmail function added to mapi_common.c
6679 - get property size function for mapi_SPropValue added to property.c
6681 test --This line, and those below, will be ignored--
6685 M torture/openchange.c
6686 A torture/mapi_restrictions.c
6687 M torture/mapi_common.c
6688 M libmapi/property.c
6689 M libmapi/IMAPITable.c
6693 Documentation update: Perl bindings installation
6697 - Add mapitags and mapicode support to Perl SWIG bindings
6698 - SPropTagArray support
6699 - SRowSet preliminary support
6700 - new constructor/destructor for mapi objects
6704 - IProfAdmin patch applied: having password outside of the profile
6706 - Perl bindings draft added to the trunk and to the build system:
6707 --enable-swig-perl=yes
6709 - datarootdir fixed in libmapi.pc.in
6713 - Add CopyMessages IDL and COPYMAIL torture implementation
6714 - Fix man page install dir according to latest Samba4 changes
6715 - Add datarootdir var to libmapi.pc.in and fix configure warning
6719 convenient function which retrieve a value from a SPropValue array
6720 given its property tag name, otherwise NULL
6724 Patch from Brad Hards <bradh@frogmouth.net>:
6725 openchangeclient man page updated
6727 - Add Windows UTF8 to classic UTF8 conversion through a lexer
6728 - openchangeclient --mailbox option changed to use it
6729 - flex and bison support added to configure.ac
6730 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
6734 - features added to openchangeclient:
6735 * --send-appointment
6739 - openchangeclient man page updated
6740 - new properties added to mapi-properties
6742 - Add man pages for simple_mapi.c functions:
6744 * GetFolderItemsCount
6746 - Remove deprecated functions from IMsgStore.c
6747 - Update man pages documentation
6749 Fix install rule in Makefile: add missing headers
6750 Move callback retval from uint32_t to int
6752 Fix notification callback retval
6754 - Advise opnum added to the IDL
6755 - Parts of the Notify response IDL implementation
6756 - Add Notification support to libmapi
6757 - Add --notifications option to openchangeclient
6761 Patch from Brad Hards <bradh@frogmouth.net>:
6762 - PR_BUSINESS_FAX_NUMBER
6763 - improves the information provided on a contact by
6768 - Fix the release call in,out
6769 - Call Release from mapi_release_object
6770 - Add sanity check to OpenMsgStore
6771 - clean up parts of the mapi_newmail test
6773 EcDoDisconnect code now sounds to work properly
6774 Tested against Exchange 2000 / Exchange 2003
6776 - Fix SpropValue property pull problem when GetProps layout is set
6777 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
6778 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
6779 - Add debuglevel and dumpdata options support to openchangeclient
6783 - Remove useless memory allocation in mapidump.c
6784 - Improve mapidump_appointment
6785 - Add sample mapidump_note
6786 - Add --fetchitems option to openchangeclient:
6787 This command offers an easy way to fetch calendar, contacts,
6788 tasks, notes and mails from the Exchange server.
6789 - Add IPF container class defines to mapidefs.h
6790 - Add and Fix property tags
6794 - Commit the EcDoRpc max_data patch proposed on the devel list
6795 - Clean up folders related functions from the torture suite
6796 (GetDefaultFolder makes this code obsolete)
6800 Add the --mailbox option to openchangeclient which recursively
6801 lists the full mailbox folder hierarchy
6803 - Add PT_SYSTTIME support to get_SPropValue_data
6804 - Add mapidump_SPropValue_date dumping function
6805 - Add PT_SYSTIME support to mapidump_SPropValue
6807 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
6810 - Add GetDefaultFolder implementation to simple_mapi.c. This function
6811 provides a convenient way to retrieve default folders ID. const
6812 olFolder values are stored in libmapi/mapidefs.h
6814 - Modify the torture test suite to reflect these changes.
6816 - OpenMsgStore now decodes all the fid returned in the response
6818 - fix a bug size in libmapi/property.c
6822 - Fix SMTP recipient in libmapi
6823 - Add SMTP recipient support to openchangeclient
6824 and the torture test suite
6825 - Fix a bug in SRow_addprop
6829 - OpenMessage IDL changed: we have a permission field.
6830 It is now set by default to 0x3 (read/write) until we
6831 change OpenMessage prototype.
6833 - Add a sanity check to MAPIInitialize when no profdb
6838 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
6840 - SetReadFlags IDL and implementation added to libmapi
6841 - Warning fixed in emsabp.h
6843 Fix a bug in openchangeclient when attachments are using
6844 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
6845 attachment filename.
6847 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
6848 private structure member to private_data for C++ compatibility.
6850 Add libmapi/simple_mapi.c designed to hold convenient
6851 functions for application development.
6853 - GetFolderItemsCount added which returns the number of
6854 total and unread messages for a given folder.
6858 - Fix a body openchangeclient bug which now prevent openchangeclient
6859 from segfault when no body is specified.
6860 - Add GetDefaultProfile call to exchange2mbox for the default
6862 - Improve fuzzer_msgtore output
6866 Add a fuzzer torture test on OpenMsgStore which
6867 test all the possible max_data value.
6869 Should help to understand if libmapi fails because
6874 exchange2mbox improved:
6875 - tdb dependency removed
6876 - message-id are now stored in the profile database
6877 - it now mirrors deletion operation from the mbox file back to the
6879 - man page updated to reflect these changes
6881 - GetProfileAttr function prototype modified. It now returns the
6882 results count for the given attribute and store values in a string
6884 - GetProfileAttr man page updated to reflect these changes
6885 - Fix mapiprofile attribute search command
6886 - migrate from open/write calls to stream ones in exchange2mbox
6889 newmail torture + notifications implementation
6895 Fix the SambaXP live demo segfault: When an ambiguous recipient is
6896 specified, it now skips the name properly and maintain a correct
6899 - Fix a bug when storing attachments into mbox
6900 - Add default path support to exchange2mbox
6904 - Update libmapi version according to the roadmap
6905 - Fix nspi_resolvenames to use default profile database and profile
6909 - Add default profile database and profile support in the torture suite.
6910 - Fix a bug in mapidump_task
6914 - Change MAPILogonEx to MAPILogonProvider and avoid potential
6915 emsmdb endpoint related problem
6916 - add sanity check on global session pointer
6920 Merged MAILOOK-branch changes r64:163 into the trunk.
6924 Remove ChangeLog, use svn log instead ;p
6928 - libmapi includes moved from libmapi/include to libmapi
6929 - Remove arguments from prototype definitions generation in mkproto.pl
6930 - __BEGIN_DECLS __END_DECLS support in header files
6931 - united libmapi/libmapi.h header file
6932 - openchange.h header removed
6933 - PIDL generated files moved to gen_ndr
6934 - compilation rule for libmapi header installation added
6935 - useless torture tests removed
6941 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
6942 Add GetAttachmentTable call
6948 Remove -Werror CFLAGS until I figure out how to fix
6949 our problem definitively.
6951 Remove static from dcesrv_exchange.c functions definition
6956 . reimplement GetProps
6957 . retrieve attachment size
6958 . modify fetchmail and fetchattach torture
6963 . add GetPropList to exchange.idl
6964 . add GetPropList implementation to IMAPIProp.c
6967 - Add fetchattach torture; Attachment size is not yet
6968 defined and 42 is used.
6969 - add 3 new EcDoRpc opnums:
6978 Forgot to add IMAPISession.c
6984 Remove spurious warnings at compile time and
6985 add -Werror -Wstrict-prototypes to CC.
6989 Dispatch libmapi functions into filenames matching
6990 the MAPI interface they belong to.
6994 Fix the attach issue by value and add torture test to
6995 the openchange torture suite.
7000 attachment torture test implementation
7006 Add a null element at the end of MAPI_REQ array
7007 so we can exit from the loop in ndr_print_mapi_request
7011 - Add the DeleteMessages IDL
7012 - New torture tests added:
7013 * OPENCHANGE-MAPI-SENDMAIL
7014 * OPENCHANGE-MAPI-DELETEMAIL
7016 These are experimental implementation
7021 subject option for delete message torture test
7025 added (recipients == null) check
7027 added default subject
7032 Add NspiResolveNames and the associated torture test.
7038 Fix nspi decoding problem due to the usage of
7039 a hyper instead of a dlong.
7043 - Add a preliminary NspiUpdateStat IDL
7044 - Fix the new server code convention naming
7045 (function prefixed with dcesrv_)
7046 - Fix a security bug in emsabp provider code
7050 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
7054 Add SetProps [out] support.
7056 Temporary allocation pb fixed in ndr_pull_mapi_response.
7057 Final fix in next commit.
7063 Fix the SetProps [in] IDL
7065 New mapi call support added:
7066 - ModifyRecipients [in,out]
7067 - SubmitMessage [in,out]
7071 Add IDL support for the following mapi calls:
7076 The SetProps IDL is still experimental and the
7077 content blob should be decoded more than the current
7084 Fix the align problem in QueryRows reply blob
7085 Add some printing output and clean useless DEBUG.
7091 Fix the OpenMessage IDL and add ndr_print support
7092 to the MAPI-FETCHMAIL torture test so we can
7097 Commit of the first experimental but working implementation
7098 of the MAPI-FETCHMAIL torture test able to retrieve mails
7099 from an Exchange Server.
7103 - Add a preview implementation of cached data system for multi MAPI calls requests
7104 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
7105 - Enhance some MAPI calls IDL
7106 - Fix some pull/print functions according to error_code and row_count values
7112 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
7113 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
7114 we have to stop processing the function IDL since no parameters follow.
7118 add MAPISTATUS to EcDoRpc_MAPI_REPL
7119 add mapi library code for:
7125 add mapi calls described above to MAPI-FETCHMAIL torture test
7129 add mapi_response to emsmdb_transaction so we can get the results
7130 check the mapi call error core in OpenMsgStore
7134 Add MAPISTATUS field in each mapi calls
7135 Add new MAPICODE (MAPI_E_CALL_FAILED)
7139 Fix the mapi_request push function
7140 Add a first approach to the MAPI client side library
7141 Add a first approach of the MAPI-FETCHMAIL torture test
7142 Fix the smb.conf.example with new fields and remove Samba4 unused ones
7148 Initial mapidump commit
7149 OpenMessage IDL fixed
7155 Unused and dummy code removed
7159 - Remove the MAPI decoding TDR layer and associated functions
7160 - Add MAPI decoding in exchange.idl at NDR layer
7161 - mapi_request / mapi_response pull/print ok
7162 - implement subcontext for async response decoding in
7164 - new MAPITAGS added related to Message envelope properties
7165 - clean up the code and remove unused files
7167 - Add new MAPI opnums and associated IDL:
7168 * [in] Release (opnum=0x1)
7169 * [in,out] OpenFolder (opnum=0x2)
7170 * [in,out] OpenMessage (opnum=0x3)
7171 * [in,out] GetContentsTable (opnum=0x5)
7172 * [in,out] GetProps (opnum=0x7)
7173 * [in,out] Secolumns (opnum=0x12)
7174 * [in,out] QueryRows (opnum=0x15)
7175 * [in,out] GetReceiveFolder (opnum=0x27)
7176 * [in,out] OpenMsgStore (opnum=0xFE)
7182 For IDL with unknown fields followed the IDL may
7183 change and the mapping of these unknown bytes incorrect.
7184 It's just based on assumptions and results of the different
7189 - The mapi_request / mapi_response pull function
7190 - emsmdb torture tests and libmapi/emsmdb.c
7192 All this code is currently broken and will be fixed
7193 when we start writing the new emsmdb torture suite
7201 Fix ndr_pull_MAPI_DATA function
7205 - Add new mapi opnums
7206 - Add a first IDL implementation for OpenMsgStore out
7210 - Enhance the handles id support in MAPI_DATA
7211 - Remove unused code
7213 EMSMDB encoding/decoding is currently broken.
7214 It will be fixed when we start the client side
7215 mapi library implementation.
7221 - Change IMAPISession.idl to mapi.idl
7222 - enhance mapi content payload decoding (multiple calls supported)
7223 - add sub EcDoRpc opnums and IDL for setcolumns (in)
7230 - new function on emsabp provider for entry id generation
7236 Old mapitables code deleted and merge of the samdb
7237 code used in openchange (emsabp_result_guid function).
7239 The following revision compiles and work fine with
7240 Samba4 revision 20341
7247 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
7253 - Fix compilation warnings based on patches provided
7254 by Stefan Huehner <stefan@huehner.org>
7255 - Fix the DSO issue for x64 platforms
7256 - Add the evolution plugin in the compilation process
7257 - remove the mapidump code (obsolete and replaced with ndrdump usage)
7263 evolution plugin moved into client/evolution for
7264 a correct and extensible naming convention.
7266 EcDoRpc IDL modified:
7267 - opnum are now 8 bits
7269 - EcDoRpc ndrdump output enhanced
7271 IMAPISession IDL modified:
7272 - Change OpenMsgStore function name to MAPI_RPC_LOGON
7273 for the 0xFE opnum operation.
7275 Fix warnings in the code.
7281 Openchange-Evolution plugin commit
7282 I reorganized openchange evolution plugin source tree.
7283 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
7284 Everything can be found in the oc-evolution directory.
7285 This is code a minimalist implementation of the camel provider for evolution.
7286 It will make appears an openchange server type in the server list handled by evolution.
7287 Still have to fix the ./configure to create a Makefile though.
7291 Fix the memory allocation problems in the emsmdb torture test
7295 Removed ascstr and directly add it to the IDL
7297 Fix the NspiQueryRows response where strings
7298 containing the user email address have to be
7301 The EMSABP provider is working ;-)
7305 The emsabp provider is now able to return multiple users
7306 when searching for part of a username.
7312 Fix the networkAddress binding strings for the
7313 Exchange object in the configuration db. The
7314 SERVER variable based on exchange:server had
7315 been added while we needed the NETBIOSNAME one
7317 Fix a segmentation fault in emsabp.c due to an
7318 unchecked pointer res->msgs. This was causing
7319 smbd to segfault when the supplied legacyExchangeDN
7320 sent by the user wasn't present in the database.
7326 Remove unused files and directory.
7327 Update Makefile.in and remove storedb compilation
7336 - provisioning (for the legacyExchangeDN of the server entry)
7340 Fix the build and remove dynconfig samba lib
7346 Unused ldif files removed + Schemas definitions updated
7350 Provisionning fixed (old ldif files cleaned)
7356 add tags rules to the Makefile
7360 add the \\pipe\\protected_storage named pipe
7361 to exchange_nsp bindings
7367 Add a dcerpc_server module in charge of the
7368 exchange interfaces registration. When this module
7369 is loaded prior the remote endpoint, it let us proxify
7370 the exchange_nsp and exchange_emsmdb ones.
7372 Change the exchange_nsp ncacn_np binding string to
7373 reflect how Exchange server is currently using it.
7375 Conform the IDL with latest pidl requirements and
7376 move the MAPI_DATA structure from exchange_nsp to
7383 Create the $prefix/modules/{dcerpc_server,torture}
7386 This fix openchange make install rule.
7390 This commit conforms openchange with the Samba4
7391 trunk and fix the autotools checks.
7393 I've modified the openchange torture file to
7394 match the current smbtorture API and the
7395 OPENCHANGE-NSPI-PROFILE test was successful.
7397 The NSPI ndrdump suite has fully been tested and
7404 This commit fix the build system:
7405 - add the -ldynconfig dependency to LDFLAGS
7406 - add header checks in configure.ac. We need them
7407 for the moment cause Samba4 doesn't install some headers
7408 required by openchange core
7409 - fix the make install
7411 - remove autotools generated files and definitively
7412 ignore them with the .svnignore file
7414 - keepref keyword removed from exchange_nsp interface
7419 + aclocal.m4 removed from repository
7420 + provisionning fixed