4 Add TypeCheck on SPropValue rather than blind cast
6 Add python binding for ocpf_write
7 Add quick test code to ensure it works as expected
9 - Use SPropValue python object in ocpf module
10 - Add a function binding to retrieve SPropValue array from OCPF file
11 - Modify sample to test this behavior
13 - Move OCPF python bindings to pyopenchange directory
14 - Install ocpf module within openchange/
16 - Check property type for SPropValue
17 - Add auto-generated pyopenchange/pymapi_properties.c to the ignore list
19 - Add preliminary OCPF python bindings
20 - Add a new pyopenchange python bindings directory:
21 - Preliminary handling of SPropValue data structure
22 - Add some python bindings test files
23 - Add a mparse parser to generate python bindings declaration for mapi
25 - Build automatically python bindings ** We need to add Python as a
26 required dependency **
29 Implement EmptyFolder and enhance DeleteFolder.
31 This still has quite a way to go, but it does mostly work for folders, including recursion.
33 Add extended test code for folder creation / deletion.
35 Add libmapiserver support for EmptyFolder size calculations.
56 Fix OOM used in sample_appointment.ocpf
58 Consolidate PSETID array and rely on libmapi definitions.
63 Add server-side skeleton for WriteStream Rop.
65 Add server-side skeleton for SetSearchCriteria and GetSearchCritera
68 Improve GetSearchCriteria IDL and work around the null restriction
69 response size in GetSearchCriteria reply by tweaking generated code
70 into nopull,nopush,noprint
72 Add generated mapistore ldif file to the ignore list
74 - Add preliminary implementation for named properties support in
75 mapistore. The API is yet very preliminary (init + get mapped
76 property ID), but is enough to return consistent data to Outlook and
77 make its behavior more reliable.
79 - mparse.pl now generates a LDIF file for the mapistore namedprops LDB
80 database which maps named properties within namespaces and store
81 default values for common/standard named properties Outlook is
84 - add a custom ldb_connect wrapper in mapistore to allow mapistore to
85 open multiple instances of the same mapi named properties ldb
88 - Complete preliminary implementation of GetIDsFromNames in oxcprpt.c.
92 - Fix some named properties
93 - Add a referenced propID value once it is mapped.
94 Will be used by mapistore to populate/generate the initial
97 Fix a bug with unmapped named properties lookup.
98 For convenience purposes GetProps accepts within input SPropTagArray
99 unmapped named properties we internally turn into mapped ones using
100 GetIDsFroNames. This behavior was incorrect cause we were looking for
101 properties within specific ranges. Replace this behavior with a global
102 lookup over named properties we know about.
104 One limitation of this fix is that custom nameid properties (not referenced
105 within libmapi/conf/mapi-named-properties) won't be lookup. However it is
106 acceptable for the moment.
109 Fix signed / unsigned issue in openchangebackup utility.
111 Fix some signed/unsigned issues in libmapi.
113 Fix up signed / unsigned issues with libocpf.
115 This changes the API to allow easy testing of failure vs results.
117 make sure that the 0 is interpreted as unsigned.
119 Fix a signed / unsigned comparison warning in libmapi.
121 Fix some signed / unsigned warnings in torture suite.
123 Avoid signed / unsigned comparison in libmapiadmin.
125 Avoid signed / unsigned comparison in openchangedb.
127 Avoid signed / unsigned comparisions in mapitest
129 Avoid signed / unsigned comparisons in FSOCPF backend.
131 Fill in initialisers.
133 Avoids warning with gcc's -Wmissing-field-initializers option.
136 Fix imports, clean up.
138 Raise exception on invalid arguments to openchange_mapistore_url.
145 Use calculated len inside the loop, instead of calling strlen each time.
149 Add new properties and PSETID
153 Change variable name to avoid shadowed variable name warning with ICC.
155 Add newline at end of file to avoid compiler warning with ICC.
159 Ensure server modules work when building with coverage enabled.
162 Consistently use spaces rather than tabs.
164 Remove string exception.
166 Remove duplication of openchange name in namespace.
170 We didn't set a valid error_code for FindRow skeleton.
172 - Add server-side skeleton for ReadStream ROP.
173 - Add preliminary sanity checks on server-side FindRow
177 Activate correct handling of retval in CreateFolder, despite Outlook
178 2007 bad behavior. Currently working on fixing this.
180 My small Outlook 2007 'Search missing ROP implementation' shouldn't
183 Add server-side skeleton for DeleteProperties Rop.
185 Implement server-size skeleton for GetPerUserGuid Rop.
187 Add server-side skeleton for GetPerUserLongTermIds Rop.
189 Add a preliminary stream object implementation
190 Add stream to emsmdbp convenient functions
192 Create a handle in OpenStream
194 Add skeleton server side implementation for OpenStream
196 Forgot to redo changes here.
198 - Undo the SetMessageReadFlag IDL change and add an explanation, so we
199 don't make the same error twice and have pointers when we want to fix
201 - Improve OpenMessage IDL and add the Reserved uint16_t bit.
202 - Replace sizeof() with known types to prevent from IDL mismatch types
205 For single process implementation, this code was fine.
206 For multi-process/contexts, when we need to cache information
207 to limit disk access, we should be using the ocpf element as
210 This patch makes it possible.
212 Fix SetMessageReadFlag IDL.
214 Add server side skeleton for SetMessageReadFlag Rop.
216 the previous "or"ed value used in LogonType union was non handled
217 properly by pidl. Replace them with static values instead. This
218 prevent Outlook rom reconnecting in different situations.
220 This was causing the ndr push error. Outlook now receive OpenMessage
225 With current implementation messages loaded and added to the mapistore
226 fsocpf private list were never released/unloaded/free'd.
228 Similar behavior would have occured in the future with folders. Add a
229 mapistore release_record function which will free/delete
230 information/data associated to a given folder/message.
232 - Add a preliminary OpenMessage reply implementation
233 - Add a function to resolve recipients against AD
234 - Add implementation of GetProps for mapistore messages
235 - Add mapistore getprops semantic
236 - Add fsocpf getprops implementation
238 Note: current implementation does not free message object and memory
239 allocation needs to be revised.
241 Note 2: openchangeclient --fetchmail works with this version :-)
243 Fix OpenMessage response size calculation. Subcontext size is already
244 calculated when we add the RecipientRow.length size to the global size.
246 - Make ocpf_recipClass public
247 - Turn path to headers to local in the lexer
250 Avoid leaking file descriptors on error.
252 Check return type for vasprintf in libocpf.
256 Change mapistore openmessage semantics to fetch/retrieve recipients
257 and properties from mapistore. Modify OpenMessage ROP to dump
258 mapistore_message structure contents retrieved from mapistore.
260 Add a function to retrieve recipients from a parsed OCPF message.
262 This is a wip commit, so there is a lot of DEBUG across the code. This
263 will go away in further commits when the implementation is complete.
265 - Add indexing API to mapistore. This API adds an indexing.tdb file
266 within user's mapistore private space and associate MID and FID to
267 their full mapistore path. Current implementation expects folder and
268 mid are repsented under their hexadecimal representation and using
269 the 0.16PRIx64 format string. It is not robust, but should do the
270 trick for the moment. Among features available:
271 - create/open the indexing database
272 - search of existing indexing context
273 - ref count assessors
274 - add/delete fid/mid records
275 - retrieve the list of folders pointing to an element (parsing
276 of the mapistore URI)
278 - Calls to the API have been added to the emsmdb provider
279 implementation for initialization and automatic attempt to add
280 entries whenever we open a folder.
282 - Add preliminary code (relying on indexing API) for OpenMessage when
283 parent handle is the store object. The entire set of cases for
284 mailbox have been included.
286 - Add mapistore code for op_openmessage operation.
287 - Add message list to the fsocpf context
288 - Add preliminary fsocpf backend code to open a message and store it
292 Refactored some of the FSOCPF backend.
294 Basically some Extract Method refactoring to improve code re-use.
296 Use PRIx64 macro to avoid compiler warning.
301 Add a new OCPF error OCPF_E_EXIST returned if a context already exist.
302 Prevent ocpf_new_context from adding a context to the list if it
305 Clean up debug code introduced while working on new libocpf version
307 - Make libocpf reentrant and use contexts/ref_count: No more globals
308 are used in libocpf, they are all specific to contexts. libOCPF is
309 now multi-process/thread friendly.
311 - Remove Makefile bison compiling option with a bison %option in
314 - Propagate libocpf changes to openchange server and utils
316 - Fix a bug in file/folder listing when we have both folders and
323 - add libmapiserver calculation for OpenMessage + related OXCDATA structures
324 - add skeleton implementation for server-side OpenMessage ROP
325 - add preliminary emsmdbp_object_message implementation/initialization
327 - Flush ocpf output when an error occurs
328 - Fix retrieval of message list in fsocpf backend
330 Add QueryRows implementation for mapistore in fsocpf backend.
332 - Add implementation for mapistore GetContentsTable
333 - Fix error reply for GetHierarchyTable
335 Fix how PT_DOUBLE data is passed among libmapi layers.
337 Fix an issue introduced in r1858. PT_DOUBLE patch is valid
338 for EMSMDB, not for NSPI. Rollback change for SPropValue
340 Add IPM.Note as a default receive folder for Inbox. This is used by
341 Outlook 2003 in the Send/Receive process.
343 Add server-side skeleton for GetAttachmentTable operation.
345 Implement SetSpooler server-side function. The function looks like a
346 skeleton ... and is one until we figure out what should be the
347 associated server-side mechanism when clients tells OpenChange server
348 they want to act as a mail spooler.
350 The LogonType cases were not handled properly
352 Replace existing method to retrieve emsabp_ctx in NSPI server code
353 with mpm session management API and comparison to actual dce_call structure.
355 Replace MAPI_E_LOGON_FAILED rather than MAPI_E_NOT_ENOUGH_RESOURCES in emsmdb server
356 code when session is not found.
362 We were adding context the list but were never removing them while the
363 context_id was added to the free list. This was causing
364 inconsistencies in mapistore context management + invalid
365 record/pointers to remain and cause OpenChange server to crash.
367 Also add commented code to CreateFolder ROP that will need to be
368 enabled when we understand related Outlook behavior.
370 Patch from Bharath Acharya <abharath@gnome.org>:
372 Print calendar items created at half hours
374 Minor warning fix - unused variable, not initialized
376 Fix a bug with invalid session leading to OpenChange server crash.
378 We are now retrieving the emsmdbp_context pointer from our session
379 management API, after a comparison check vs dcesrv_call_state rather
380 than blindling and directly from dce_call.
383 Add better error path handling for the OXCFOLD-CREATE mapitest module.
387 Extend mapistore API to have a mapistore URI associated to the backend
388 context. We want to limit creation of new contexts to the strict
391 Propagate this change to emsmdbp_object_folder_init. Only create a new
392 context if the uri intended to be opened is not already associated to
395 Handle additional LogonFlags cases for mailbox store in Logon_repl
397 Fix empty EcDoRpc replies. Outlook 2007 is now happy and stops from
398 disconnecting untimely.
400 Add server-side skeleton implementation for GetPermissionsTable
402 Pass parent mapi_handles to emsmdbp_object_folder_init rather than
405 Improve emsmdbp_object_folder_init to handle all the different folder
406 creation cases (root folder, mapistore or not, within mapistore or
407 openchangedb etc.) OpenChange server now passes mapistest folder
408 creation test properly.
410 Fix a bug with context_id and mapistore. We were passing the parent
411 context, then deleting it at some point, causing the parent object to
412 be invalid. Now makes use of a reference counter we manage to keep
415 Add a convenient function to emsmdbp_object API to retrieve the
416 contextID associated to an object.
418 It looks like we still have some issues when running both Outlook 2007
419 and Outlook 2003 at the same time with OpenChange server. There may be
420 some additional session checks to perform in the future.
422 Fix a bug in session management API:
424 The mpm_session API uses id, id2, node and context_id from the dcerpc
425 session to uniquely identify a session context.
427 However when Outlook calls EcDoConnect multiple times, it still uses
428 the same dcerpc session. With previous API we were freeing the session
429 while it was still in used - which lead in unstable and unpredictable
432 The following patch adds a ref_count to the mpm_session API and server
433 code has been changed for emsmdb and nspi server to increment the
434 ref_count when the session already exists or create a new session if
435 none is already stored.
437 Also the mpm_session code checks for the ref_count value and ensures
438 it is 0 before calling the destructor.
440 Call emsmdbp_object_folder_init in any case when creating a
441 folder. The emsmdbp_object function now do required checks and
442 initialize the folder's object properly.
445 trivial comment cleanup.
447 Minor cleanups for RopCreateFolder in the server.
449 Prefix the mapistore_uri folder name in the path with "0x"
451 Use ulFolderType (the folder) instead of ulType (ansi vs unicode) when
452 deciding which folder type to create.
454 Trivial comment fixes.
458 Complete the opendir implementation for mapistore folders. Outlook
459 doesn't crash anymore when attempting to open mapistore folders.
461 was using the wrong function emsmdbp_is_mapistore instead of
464 Commit Brad Hards's implementation for Public Folders support.
465 Personal changes wrt initial patch:
467 - remove mapistore_uri from openchangedb PF record at
468 provisioning. Only new created folders should be mapistored.
469 - Add a mailboxstore boolean to folder and mailbox emsmdbp so we can
470 select the correct basedn for searches.
471 - Fix GetProps to provide an accurate answer to Outlook when fetching
472 public folder's store specific properties.
473 - Use get_PublicFolderId rather than SpecialFolderId when we open a
479 Patch from Milan Crha <mcrha@readhat.com>:
481 Fix PT_DOUBLE support in openchange
483 Fix unicode ocpf format in ocpf_write
485 - Fix PT_I8 support in libocpf: PT_I8 support was incorrectly
486 processed as PT_DOUBLE and prevented properties with 0x0014 proptag
487 (e.g. PR_PARENT_FID) to be added properly to ocpf files.
489 - Add PR_PARENT_FID to the set of properties when creating folders
491 Fix mkdir prototype in sqlite3 backend
496 Outlook uses GetProps with the PidTagSubFolders property to check if a
497 folder has subfolders. Add this property at provisioning (set to
498 FALSE), then set it to true on system/specialfolders if folder
499 creation in mapistore went OK.
501 - Implement mkdir operation at mapistore level
503 - Update PidTagFolderChildCount of parent folder when parent is the
504 root folder of a mapistore context (folder attributes stored in
507 - Improve RopCreateFolder implementation
509 - Clean-up emsmdb_object_folder_init implementation
511 - Add a convenient function to turn ROPs parameters into MAPI
512 properties. This prevents from having endless number of parameters.
514 - Commit remaining parts of the provision changes
516 This TODO doesn't belong here
518 Add a convenient function to retrieve the distinguishedName of a
519 folder given its folder identifier. This function is useful when
520 building dn for openchangedb ldb_add operations.
522 Add PidTagComment so it can be used in openchange.ldb when root
523 folders are created with a comment CreateFolder parameter.
525 Make it possible to retrieve MailboxRoot folder using
526 olFolderMailboxRoot in GetDefaultFolders.
528 Outlook 2007 tries to create a To-Do search folder under user
529 mailbox. Creates the folder at provision time to be kind with it.
531 Set PidTagParentFolderId to 0 for mailbox root
533 The wrong index in mapi_repl was causing the crash I've investigated
534 over the past 10 hours.
536 Please always use idx for mapi_response->mapi_repl[] index ;-)
540 In current architecture, we need to retrieve root mapistore folder properties
541 from openchangedb, then use mapistore for operations such as GetHierarchyTable or
542 GetContentsTable. This was not possible with the current design where we only
543 switch between mapistore: true or false.
545 I have introduced a mapistore_root boolean associated to folder object which we
546 set to true if the folder initializes a mapistore context (otherwise false).
548 This boolean is used in GetProps so we retrieve mapistore container properties
549 from openchangedb and not mapistore.
552 Add size calculations for public folder RopLogon
557 We'll change CreateFolder to generic code later.
558 For the moment change from sqlite to fsopcf backend for system folders
560 Fix handling of flagged property row in GetProps (Mailbox case).
562 Missing break added, now makes Outlook 2003 launhes properly.
564 Ensure PidTagAttr is valid and prevent ldb layer from segfaulting
566 Send a flagged PropertyRow when GetProps is called with mapistore
567 Add a nasty hack and call this fake MAPI_E_NOT_FOUND property value for
568 GetProps if the object doesn't exist.
570 In openchangeclient we are calling get_container_class using the parent object
571 (Mailbox root folder) and the FID of the 2-level down folder. This causes
572 openchange server to crash. The hack exposed above will help temporary workaround
573 this problem while we figure out/remember the real problem: Why do we have
574 to call the parent to retrieve the container class?
576 Remove last references to systemfolder in libmapiproxy API
578 release objects properly in the mailbox recursive function
580 After we release ocpf_context, strings are destroyed.
581 Prevent from happening by stealing the overall context and
582 talloc_strdup strings.
584 We'll need to find a better/encapsulated way to do this on long term.
586 Add a small hack to handle StandardPropertyRow properly
587 StandardPropertyRow have no errors and have a prefixing flag set to 0
589 Get ride of the previous way to detect
590 systemfolder/mailbox/mapistore folders.
592 This was barely understandable and error prone.
594 It is now replaced by a mapistore boolean set for every object
595 + a convenient emsmdbp_object function to check mapistore value
596 for given handle quickly.
600 Add mapistore implementation for QueryRows ROPs relying on
601 GetHierarchyTable objects (folders properties listing).
603 Add fsocpf backend implementation to fetch folders properties from a
604 .properties OCPF file stored within the folder (identified by its
607 Customized emsmdbp table object to have:
608 - a context_id and whether the table is within mapistore or not.
609 - to know if the table comes from GetHierarchyTabke or
612 Add a path element to the folder_list structure in fsocpf backend to
613 quickly use the full path and open the .properties file.
615 Note: current code is for developers only. It is known to have bugs
616 (e.g. memory allocation), furthermore there is some manual
617 openchangedb and filesystem operation to perform in order to have the
618 commit intended results.
620 Add a convenient function for openchange server that lets build the
621 SPropValue array with known properties.
623 Replace the hardcoded fsocpf_ctx->fid with a basic code searching for last elements
624 in mapistore_uri path.
626 Fix typo in PidTag name
628 Add PidTagFolderChildCount
630 Add libocpf as a dependency to mapistore_fsocpf backend
632 Add a ulType to emsmdbp table object.
633 We need to make the difference between folders table (hierarchy) and messages ones (contents).
635 This is a large work in progress commit:
637 - Do not add mapistore_uri for Mailbox and IPM Subtree. These are only
638 openchange.ldb containers.
640 - Fix a memory issue with emsmdbp object destruction: use a different
641 context for folder object. This was preventing from having a valid
642 DIR * when releasing the object at mapistore layer.
644 - Add preliminary implementation for OpenFolder (GenericFolder) in
645 emsmdbp server code and mapistore. It can't yet be tested properly
646 with openchangeclient --mailbox because we need to extend QueryRows
647 implementation first. This will be achieved in further commits
649 We are now using mapistore_uri attribute value (valid or NULL) to
650 detect whether it is a systemfolder (blank container) or if we need
651 to initialize a mapistore backend context.
653 - Add mapistore implementation of GetHierarchyTable and backend
654 implementation for fsocpf. Since we don't have a working
655 Createfolder/mkdir implementation yet, you need to add
656 PidTagFolderChildCount = 1 to the folder record in openchange.ldb +
657 manually create the directory on the filesytem.
659 Missing mapi_object_release call added
663 - Add libmapi as a dependency to libmapistore. We need libmapi to
664 benefit from operations on MAPI properties.
666 - Add a MAPISTORE_RETVAL_IF macro and a MAPISTORE_SANITY_CHECKS one
669 - Refactor the search of the backend context given its context id in a
670 function and propagate the change to related functions.
672 - Add skeletons for opendir, closedir, mkdir and rmdir. Prototypes of
673 these function may change in the future.
675 Implement create_context and delete_context for fsocpf backend. Patch
676 initially from Brad Hards.
678 Add a double linked list with fid/DIR couples for folders operations
681 Fix a bug in NSPI server which was preventing NspiGetMatches
682 from retrieving the correct DN from the in-memory tdb database.
684 Should fix the profile creation error users were experiencing.
687 Add a reference to the libocpf documentation for ospf backend
690 Add forgotten part of r1818.
692 Support provisioning mailboxes with either fsocpf or sqlite backends.
694 fsocpf is the default at this stage.
700 Fix paths to related pages
702 Patch from Brad, fix doc typo, grammar - makes it sound more English.
706 Add API documentation for init, backend connection contexts
707 Add programming samples
709 Install libmapistore pc file
711 0.2 version of mapistore documentation.
712 Merge some of the initial mapistore wiki page content.
713 Add a section on FSOCPF backend
716 Various API documentation fixes. All trivial.
718 Fix some hard-coded formatting in mapitest common code.
720 Add a simple create / delete folder test to mapitest.
722 I've been using this to test the basic operations.
724 Enable DeleteFolder rop, now we have a partial implementation.
726 Implement RopDeleteFolder, and handle the case where a folder already exists in RopCreateFolder
728 This still only works for a top level folder.
730 Add convenience API to obtain the FID for a given folder (by name).
732 This is useful to tell if a folder exists, which we need to do before
735 Also fixes a nuisance warning about printf specifiers.
737 Extend CreateFolder size calculations to handle some of the optional elements
739 We still don't properly handle the variable length server element.
743 Add general overview of what mapistore is and
744 how it can be used from a user perspective
748 Refactor mapiproxy documentation into a global mapiproxy / openchange server doc.
749 - Add a mapistore documentation skeleton
750 - Add related pictures
754 Add folder atomic operation to mapistore and skeleton to backends:
755 mkdir,rmdir,opendir,closedir,readdir
758 API documentation typo fix.
763 - Push Brad's CreateFolder implementation after turning hardcoded fields to generic one.
765 Note: current implementation is incorrect as it states that any folder is referenced
766 within openchange.ldb while only system/top folders are. We have a mapistore URI for
767 system/top folders, not for subfolders which are stored directly within specified
770 However the implementation is almost correct when it comes to create folders directly
771 under / in the user mailbox.
773 - Add a 'fsocpf' mapistore backend skeleton (FileSystem + OCPF)
774 - Fix some doxygen in mapistore sqlite3 backend
775 - Add an op_mkdir skeleton to mapistore
776 - Add fsocpf:// namespace test to mapistore_test
777 - Compile fsocpf only if libocpf gets compiled
780 Add defs_private.h so we can use PRIx64 where appropriate
782 It makes more sense to directly return the next available and formated FID rather
783 than the GlobalCount raw value.
785 Add exchange username to emsmdbp_ctx structure for convenient purposes
787 After openchange_ldb is opened, map attributes of the @ROOTDSE record
788 with ldb_set_opaque so ldb_get_default_basedn and ldb_get_root_basedn work.
792 Implement a convenient function to retrieve the GlobalCount value from
793 the objectClass=server record in openchangedb - which is the next FID
796 Note: the function currently lacks locking mechanisms. We should
797 introduce some to prevent from race conditions.
799 This code was originally designed by Brad. I've just refactored it.
801 Add a rootDSE entry to openchangedb.
802 This change makes possible to call:
803 - ldb_get_root_basedn() to retrieve CN=server,DC=domain,DC=ext
804 - ldb_get_default_basedn() to retrieve CN=firstou,CN=firstorg,CN=server,DC=comain,DC=ext
806 Add server-side skeleton for ROPs:
812 NOTE: GetTransportFolder is using hardcoded data that will be removed
815 Add libmapiserver size calculation for ROPs:
817 - RopModifyRecipients
819 - RopGetTransportFolder
823 Fix provisioning script and push a master-git samba4 version known to compile
824 and work properly with openchange.
826 There is probably a small typo left in installsamba.sh post_install script to fix
829 Update docs for new samba version.
831 Looks like we now have real complexity requirements for passwords...
835 Fix the container class for the Drafts folder.
837 This is per MS-OXCSFLD
839 Add PT_I8 for cast_SPropValue().
843 Fix openchange vs latest samba4 git-master branch
845 - Fix OpenChange schema: Had to split our 1-file schema into multiple
846 files in order to be compliant with Samba4 LDB schema validation
849 - Fix openchange provision script
850 - Fix calls to smb_iconv_convenience_init
851 - Fix the copied libmapi/socket code to work with latest samba4 code
852 - Fix openchange server SIGSEGV when EcDoConnectEx is called
854 I have tested the following to ensure nothing is broken:
855 - mapitest with Exchange 2003. All tests are OK
856 - openchangepfadmin (user creation/deletion OK)
857 - openchange server provisioning
858 - openchange server vs Outlook 2003:
859 - profile creation OK
860 - Outlook can open the user mailbox and display it properly
864 Skeleton server code for DeleteFolder ROP
866 Just add more skeleton code to select between available folder types
868 Server side skeleton for CreateFolder operation
873 Implement some more properties for cast_mapi_SPropValue().
875 Patch mostly by Milan Crha, some changes by me.
877 Use retval instead of GetLastError() in a couple of places.
879 Add missing failure path handling.
881 Avoid assigning a boolean result to an enum MAPISTATUS.
883 Fixes problem noted with mapitest on OXCFOLD-MOVECOPY-MESSAGES.
888 Add comment about the number for each ROP in the server.
893 Make sure we can load a server module when it is built with coverage testing enabled.
898 Fix some mapitest issues reported by valgrind.
900 These only occur when running against the openchange server - mostly problems with failure paths.
902 Fix up a few segfaults found when running against openchange server.
907 Add support for EcDoRpc GetAddressTypes (0x49) and OptionsData (0x6f) to server.
909 This is completely driven by the server provisioning - no hard coding.
911 This makes a binary incompatible change, so if you get crashes, please try a
917 Add PT_DOUBLE support for set_SPropValue().
922 Add support for PT_ERROR in mapi_SPropValue casting function.
924 Add support for a couple more types in the casting code.
926 Also adds a development-version "OPENCHANGE_ASSERT()" that flags incomplete code.
931 Add a convenient function to retrieve the total
932 number of records in the Global Address List.
934 Modify openchangeclient to expose this change in
935 the --userlist option.
940 Fix OpenChange notification subsystem to handle multiple session properly
941 Patch OpenChange trunk to reflect this API change
943 Add quick and dirty doc/examples/multiple_notif.c to show how to setup
944 multiple sessions + notifications with threads.
946 Add PidTag for transport message headers
951 One more server API documentation fix.
953 More server side api documentation work.
958 Mix of api documentation fixes for server side.
960 Add MAPI_E_NOT_IMPLEMENTED.
962 This is based on information at
963 http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/d3c860a8-f131-4c7a-aa11-b9ec328d06c4
968 Implement RopOptionsData (0x6F).
970 Updates IDL, adds implementation and mapitest coverage.
972 This has no practical use, but might be useful for testing the server.
977 Add talloc leak checking options to mapitest.
982 Update man page for mapiprofile to reflect new --language option format.
987 Add special handling for PS_MAPI property name mapping.
989 This fixes a long-standing mapitest failure.
991 The logic is based on MS-OXCPRPT, section 2.2.12.2.2 PropertyIds.
993 Minor API documentation fix.
998 Build fix for example code
1003 Fix format string problem #184 ticket
1006 Add status reporter classes to allow redirecting the progress
1009 Update man page to reflect mapitest --subunit option.
1011 Implement basic subunit output protocol format for mapitest.
1013 There are a couple of documentation bits to follow.
1018 Trivial API dox addition.
1023 Update the IDL and implementation for RopGetPermissionsTable (0x3e)
1024 and RopModifyPermissions (0x40) to match MS-OXCPERM.
1026 The function signature for GetTable() and ModifyTable() has changed.
1027 They are now called GetPermissionsTable() and ModifyPermissions()
1028 respectively, and there is an additional "flags" argument, which you
1029 almost certainly want to pass as 0x00 if you are porting from some
1030 older implementation.
1032 Updates all users, and adds mapitest unit tests.
1037 Add country codes to codepage-lcid description file
1040 Remove copied code from samba (ldb) and just use the ldb
1043 Resolves ticket #167
1045 Allow building if popt isn't available.
1048 - remove unnecessary include in libmapiadmin
1049 - only build mapistore test tool if popt is available
1050 - only build torture tests if popt is available.
1052 The last change could be finer (e.g. only leaving out the
1053 part of the torture test that actually requires popt) but
1054 that seemed more fragile and generally unnecessary.
1056 Resolves ticket #233.
1064 Ensure we always initialise before trying to cleanup (e.g. in a failure scenario).
1066 Issue identified and patch provided by Erik Hovland, minor changes by me.
1068 Resolves ticket #236.
1070 prop is declared within the switch statement.
1072 Fix by Erik Hovland - thanks very much.
1074 Resolves ticket #239.
1076 Use strncpy instead of strcpy.
1078 Patch by Erik Hovland, plus a minor change by me to ensure the string is null terminated.
1080 Resolves ticket #237.
1082 Add missing break statements
1084 Patch by Erik Hovland <erik@hovland.org>
1086 Resolves ticket #238.
1088 Mark appropriate constructors as explicit.
1090 Patch by Erik Hovland - thanks very much.
1092 Resolves ticket #240.
1096 Patch from Erik Hovland - thanks again.
1098 Resolves ticket #242.
1100 Fix spelling errors.
1102 Patch by Erik Hovland - thanks very much.
1104 Resolves ticket #241.
1106 Make sure we actually can compile when using --enable-openchange-qt4
1108 This patch ensures that $(MOC) gets set in the Makefile.
1113 Add canonical names for codepage related properties (involved in
1114 PT_STRING8 encoding/decoding)
1119 - Add parser for codepage-lcid
1121 - Add entire set of conversion functions for lcid, codepage, language
1124 - mapiprofile now uses codepage/lcid matching LC_CTYPE environment
1125 variable for language detection, otherwise codepage/lcid matching
1126 language list. Language list is now dumped from codepage-lcid
1129 - Remove deprecated util and tests directory from libmapi and from
1130 build system. We now only rely on codepage_lcid.c
1132 - Update openchange code (utils, mapiprofile, mapitest and
1133 exchange2ical libs) to use this new API.
1135 - I have not looked into icalparameter_get_language, but assuming it
1136 is relying on previous API, I may have introduced a bug here. Looks
1137 like the function outputs for example "en-US" while we now checks
1138 for "en_US" to match setlocale output.
1141 Minor API documentation adds.
1143 Add unit test coverage for the GetGALTable() function.
1145 This is mostly lifted from utils/openchangeclient.c
1147 Switch to only building Qt4 bindings if specifically asked for.
1149 This is a bit experimental for now, so lets go safer...
1154 In this particular case (error returned, mapi_response shouldn't
1157 Fix bug 605827 - SRowSet was free'd while still needed
1162 Template file which associates Language, LCID, Locale and Codepage.
1163 Furthermore commits will implement the mparse parser which will
1164 auto-generate the associated C files. This should give us a reliable
1165 way to use it in mapiprofile, MAPI profiles database and for
1166 PT_STRING8 proper conversion purposes.
1168 If anything is missing or is incorrect, updating the file will
1174 Fix bug where you couldn't select another messages in the default folder without
1175 changing folder first.
1177 Looks like this is just a bit I forgot to update when changing from an initial
1178 cut to the "more working" implementation.
1183 - Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
1186 - Remove deprecated utf8_convert lexer and windows_to_utf8 routine
1188 - Change openchange tools to use _UNICODE tag version instead
1190 - octool_get_propval now prefer UNICODE properties over PT_STRING8
1191 ones (default behavior).
1193 - Change mapidump_message API to take an optional mapi_object_t
1194 message parameter. If the message object is specified, we can have
1195 access to the subject, and recipients (to, cc, bcc) without having
1196 to query them within a GetProps call.
1199 Fix an ugly cut-n-paste error.
1201 Add pkg-config support for libmapi++.
1206 Fix ticket #123 (known as 562948 on gnome bugzilla):
1207 "Unable to send mails containing UTF8 strings"
1209 OpenChange was using strlen(str) * 2 + 2 to calculate the
1210 expected size for utf16 string. This patch fixes this and
1211 replaces it with a function that make proper utf8 to utf16
1214 This commit also replaces PT_STRING8 properties in openchangeclient.c
1215 with PT_UNICODE ones to ensure utf8 strings get converted properly.
1220 - Add NormalizedSubject and SubjectPrefix strings to object_message_t
1222 - Add a function to retrieve TypedString value
1223 - Add a mapidump function for obj_message (only retrieve subject and
1225 - Add --fetchsummary option to openchangeclient: Dumps properties from
1226 OpenMessage response only (subject and recipients) rather than going
1227 through GetProps and dumping a more complete version.
1230 Move make distclean to the end again.
1235 Remove a copy of the dlinklist.h header, and just use the samba
1241 Install missing file.
1246 Allow us to find samba python code on 64-bit machines.
1251 Update EcDoConnectEx IDL to match latest specifications
1254 Minor additions to "make clean" / "make distclean" to remove
1255 generated python bits, and also the config.h file.
1260 Implement IsMailboxFolder for public folder types.
1262 Involves some refactoring of the way we handled the mapi_object_store_t,
1263 such that we now talloc_zero the structure.
1265 Adds mapitest coverage for these.
1267 Resolves Ticket #134.
1272 Add unit tests for IsMailboxFolder
1274 Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.
1279 Change location of .cpp.o and .ccp.po to the correct location
1280 and inhibit compilation line output for moc and cpp compilation.
1283 Try harder to clean up libmapi++ bits.
1288 Ignore moc files and generated binary
1290 Update OpenChange version to 0.10 NOMAD
1292 Nomad is a mechanical explorer sent from Earth in 2002.
1293 It was melded with an alien device named Tan Ru and the resulting robotic
1294 hybrid began destroying anything that was imperfect including, in 2267,
1298 Add documentation for qt/ subdirectory.
1300 Try harder to find moc.
1302 Initial commit of some Qt-style bindings.
1304 This is mostly for testing, although hopefully the library will
1305 emerge with a set of mostly-useful widgets for implementing
1311 Quiet the build here.
1313 Inadvertent removal in a previous patch.
1315 Some support for ReviewBoard.
1320 Update OpenMessage flags to match specification values.
1322 Cleanup libmapi++ code when we "make clean".
1324 Add svn ignore entries.
1326 Remove inline from shared library class.
1328 Fixes build on Intel C++ compiler.
1333 libmapi++ is no longer a header-only library
1338 Add first part of Restrictions support.
1340 A little more documentation fixes.
1344 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
1345 In such situation, mapi_response is not allocated but has a destructor
1346 associated. This fix removes the destructor whenever the error code is
1347 different from MAPI_E_SUCCESS.
1349 Also add a minor (probably useless) check on mapi_response pointer validity
1350 before attempting any other child's free.
1353 A couple of minor API documentation fixes.
1358 Rename libmapi into openchange in our release script.
1359 Makes more sense given the scope of our releases.
1361 Fix format string warnings.
1363 New ModifyRecipients IDL and implementation.
1365 This patch improves the logic within the RecipientFlags bitmask
1366 calculation function and make use of different MAPI properties for
1369 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
1372 Minor API documentation fix.
1376 Fix some exchange2ical memory leaks / "still reachable" memory.
1378 Fix property tag array count, so we get the language in Summary
1379 lines in the ical output.
1381 Add protection against null CN values.
1383 Resolves ticket #232.
1385 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
1387 Handle all day events for UTC+ timezones.
1389 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
1390 the problem, and providing a patch. In the end I heavily modified the
1391 patch, and implemented a much simpler version while we sort out the
1392 timezone identifier problems.
1397 Minor documentation update to reflect GSoC exchange2ical merge.
1399 temporary fix for building on FreeBSD 7.2.
1401 Remove this file - converted it to trac tasks.
1405 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
1407 Changed MonitorNotification to be non-blocking.
1408 Also checks whether to process notifications using a callback.
1410 Open Profile Store using global_mapi_ctx for the memory context. This
1411 fix removes 20 context errors when running valgrind on mapitest.
1413 - Fix important memory leaks in OpenChange NSPI stack. The memory
1414 context modifications applied to the EMSMDB stack have been
1415 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
1416 temporary context passed in parameter to the nspi_* functions from
1419 - Changes propagated to torture, mapitest, IProfAdmin interface and
1420 ResolveNames function to match the internal API.
1422 - Add missing MAPIFreeBuffer call in mapitest modules
1424 Minor cosmetic change
1426 Minor changes to match our coding convention more closely
1428 Return (const void *) instead of (void *) where missing
1430 - Fix important memory leaks within the OpenChange stack. Most of the
1431 leaks came from the pipe memory context used in emsmdb_transaction
1432 which was only released on MAPIUninitialize and sometimes leaded in
1433 lost blocks. This fix makes extensive usage of the temporary memory
1434 context used in top MAPI calls implementation. This context is
1435 passed in argument to emsmdb_transaction and used for dcerpc_*
1438 When we return from any libmapi call implementation, this context is
1439 destroyed. This guarantee no extra memory within NDR layer is kept.
1441 The only requirement for this patch to work is to make sure the data
1442 we return from MAPI calls is either reparent to another memory
1443 context or copied properly.
1446 Add support for skipping tests that don't apply to some
1449 Change the format of the server version, so it matches the Microsoft
1450 way of doing versions.
1455 Fix store version info assignment - Exchange version now works again
1458 Clarify the developer's task when using GetPropList.
1460 We were allocating the SPropTag proptag array with the session context
1461 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
1463 We are now using SPropTagArray pointer as parent context and clarify
1464 that the developer must pass an allocated SPropTagArray pointer to the
1467 Missing mapi_object_release leading in small leaks.
1469 Sanitize RfrGetNewDSA function and memory usage.
1471 The function was returning either a const char * passed in parameter
1472 or the string returned by RfrGetNewDSA call. Furthermore we were using
1473 the session pointer for the memory context. Finally the function description
1474 was not matching its behavior.
1476 What this patch does:
1477 - use a named memory context for RfrGetNewDSA call
1478 - return an allocated string on success otherwise NULL
1479 - release RFR memory context properly
1481 valgrind before patch (mapitest):
1482 ==28876== LEAK SUMMARY:
1483 ==28876== definitely lost: 0 bytes in 0 blocks
1484 ==28876== indirectly lost: 0 bytes in 0 blocks
1485 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
1486 ==28876== still reachable: 345 bytes in 2 blocks
1487 ==28876== suppressed: 0 bytes in 0 blocks
1489 ==28876== For counts of detected and suppressed errors, rerun with: -v
1490 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
1492 valgrind after patch (mapitest):
1493 ==29083== LEAK SUMMARY:
1494 ==29083== definitely lost: 0 bytes in 0 blocks
1495 ==29083== indirectly lost: 0 bytes in 0 blocks
1496 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
1497 ==29083== still reachable: 345 bytes in 2 blocks
1498 ==29083== suppressed: 0 bytes in 0 blocks
1500 ==29083== For counts of detected and suppressed errors, rerun with: -v
1501 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
1503 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
1504 pull_emsmdb_property is using pointers and allocate memory to prevent from
1505 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
1506 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
1507 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
1509 valgrind before patch (mapitest):
1510 ==26674== LEAK SUMMARY:
1511 ==26674== definitely lost: 0 bytes in 0 blocks
1512 ==26674== indirectly lost: 0 bytes in 0 blocks
1513 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
1514 ==26674== still reachable: 345 bytes in 2 blocks
1515 ==26674== suppressed: 0 bytes in 0 blocks
1517 ==26674== For counts of detected and suppressed errors, rerun with: -v
1518 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
1520 valgrind after patch (mapitest):
1521 ==27270== LEAK SUMMARY:
1522 ==27270== definitely lost: 0 bytes in 0 blocks
1523 ==27270== indirectly lost: 0 bytes in 0 blocks
1524 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
1525 ==27270== still reachable: 345 bytes in 2 blocks
1526 ==27270== suppressed: 0 bytes in 0 blocks
1528 ==27270== For counts of detected and suppressed errors, rerun with: -v
1529 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
1532 Minor API documentation fixes.
1537 - Add a macro to mparse.pl to free both mapi_response
1538 and mem_ctx within OpenChange calls implementation.
1539 For the moment it is only implemented in OpenUserMailbox call.
1541 - Fix a memory leak in OpenUserMailbox: When the call failed
1542 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
1545 Minor indentation fix
1548 Add some missing newlines to reduce compilation noise.
1550 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
1552 See the gsoc_exchange2ical branch history for commits.
1554 I also made a change to address ticket #216, and
1555 fixed a couple of typos.
1560 Minor updates to provisioning instructions.
1562 Thanks to Girish Venkatachalam for some suggestions.
1567 Fix 'unused variable' warning on FreeBSD for exchange2mbox
1570 Add documentation for the --freebusy option.
1577 Fix segfaults in mapitest launched with exchange2010
1579 Fix compilation warnings
1582 Add missing -L directory specifier.
1584 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
1586 Patch by Brian Lu (Sun). Thanks again.
1588 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
1590 Fix a couple of typos that trash CFLAGS during build.
1595 Automatically switch from connect to seal on the emsmdb pipe if
1596 ecNotEncrypted is returned by EcDoConnect.
1598 - Make OpenChange natively working with Exchange 2010
1599 - Factorize binding string construction code within a single function
1600 - the seal flag is mandatory to connect to Exchange 2010
1601 - add seal boolean value to MAPI profile creation and mapi_profile
1603 - add --encrypt option to mapiprofile to set the seal value
1608 Add documentation for set_SPropTagArray().
1610 Thanks to Brian Lu (Sun) for reporting.
1615 This doesn't really fix ticket #149, but this should
1616 at least prevent from triggering segmentation fault when
1617 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
1620 Trivial fix (newline) for warning on FreeBSD compiler.
1622 Add support for manually creating the library symlinks for FreeBSD
1624 This is a somewhat speculative commit.
1626 Also fixes a couple of cosmetic whitespace issues.
1631 Patch from Bryan Lu <brian.lu@sun.com>:
1633 Create symbol link only on Solaris
1635 This closes ticket #221 and makes it possible to compile openchange
1638 Temporary bug fix in emsabp.c - If restrictions are NULL in
1639 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
1640 invalid res pointer leading in segmentation fault.
1642 Initial fix proposed by Erik Hovland <erik@hovland.org>
1644 Patch from Erik Hovland <erik@hovland.org>:
1646 fid might be null. Check it before dereferencing in the
1647 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
1648 folder_lookup() function.
1650 Patch from Erik Hovland <erik@hovland.org>:
1652 NotificationData 'could' be null. Check it before handing it to
1653 notification-callback(). This is important because eventually
1654 NotificationData will be dereferenced in the code path.
1656 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1658 Fix MAPI Warning error codes
1660 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1662 bugfix: Bugs in abp_tdb layer fixed.
1664 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
1667 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1669 Implement NspiQueryRows() address list enumeration
1671 We can now run openchangeclient --userlist on OpenChange NSPI server
1672 and Outlook 2003 is able to query GAL.
1674 Note: the initial patch was proposing:
1675 "(&%s(showInAddressBook=*))", purportedSearch
1677 I replaced it with "%s", purportedSearch only since we don't have yet
1678 any showInAddressBook attribute in AD.
1680 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1682 - Add server side implementation for NspiResolveNamesW
1683 - Refactor and split emsabp_verify_user in two functions
1685 A new function emsabp_get_account_info() implemented to fetch info
1686 about given user name. emsabp_verify_user() uses the above function
1687 check if authenticated account_name is valid mail account and if so,
1688 account_name is cached in emsabp context for future use
1690 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1692 NspiGetProps() reimplemented to match [MS-NSPI] specification more
1695 As a side-effect, emsabp_fetch_attrs() was altered to return
1696 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
1697 the function returns more meaningful error codes - if requested MId is
1698 not found this surely means InvalidBookmark rather than CorruptStore
1703 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1705 Propagate dwFlags for incoming call to get EntryIDs correctly.
1707 Actually we need to propagate dwFlags so that emsabp_query()
1708 function to be able to determine whether EphemeralEntryID
1709 or PermanentEntryID is requested to be built.
1711 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1713 Implement PR_SEARCH_KEY attribute getter
1715 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
1717 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
1719 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1721 - Extend NspiDNToMId() to search in Configuration and Domain
1724 - NspiDNToMId() has been extended to cache returned data properly,
1725 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
1726 from Domain partition are cached in in-memory db ttdb_ctx.
1728 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1730 emsabp_set_PermanentEntryID() implements MS specification more
1731 closely. For reference: [MS-NSPI] and [MS-OXOABK]
1733 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
1735 - Change the way we initially fetched server GUID
1737 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
1738 initial patch and associated research:
1740 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
1741 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
1743 Fix samdb_connect warning.
1744 Add function prototype to nsp,emsmdb header files.
1745 Change samdb_ctx from void * to ldb_context *
1748 Update docs to match those in mapiproxy doxygen docs.
1750 Roll to the latest Samba4 version.
1752 This should have no noticeable difference over the
1753 Samba4 alpha9 release, but its nice to use the latest
1754 version, and it might make a difference on the server
1759 Fix OpenChange server code and access to Samba4 databases.
1760 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
1761 All information can be accessed through a single access to SamDB and configuration records
1762 accessed through ldb_get_config_basedn.
1764 The following implementation has been tested and is working with:
1765 - mapiprofile profile creation
1766 - openchangeclient --mailbox
1767 - Outlook 2003 account creation
1768 - Outlook 2003 mailbox opening
1773 Fix openchange user provisioning scripts
1775 Forgot to commit this LDIF modifications for openchange provisioning
1780 - Fix OpenChange server provisioning (exchange classes and attribute only)
1781 - Remove deprecated provisioning steps
1782 - OpenChange user provisioning is still broken at this point, but will be
1783 fixed in further revisions.
1788 Fix a cast warning at compilation time for libmapi++
1790 - Update openchange libraries to 0.9: close trac ticket #165
1791 - Propagate pkgconfig solution in trac ticket #94 to other libs
1793 - Update openchange code to work with samba4-alpha9 release
1794 - Apply minor fix to ldb_wrap_connect (number of parameters)
1795 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
1796 - Update samba4 version script to match alpha9 and related git commit
1801 Ensure we get output if sqlite3 isn't found at configure time.
1803 Now outputs "no" instead of a blank.
1808 Fix attribution, per IRC discussion.
1813 Ensure API documentation gets generated for utilities functions.
1815 Some undocumented stuff in here to look at later.
1817 Add additional mapidump functions for notifications
1819 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
1821 Maintains good test coverage for this file.
1826 Avoid use-after-free for the number of rows in the SRowSet.
1828 Resolves issue #212, which has the valgrind error.
1833 Add test for get_proptag_value().
1835 Minor cleanups for mapidump functions.
1837 - Add support for dumping property tags using PT_SHORT.
1838 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
1839 - Minor format change for PT_BINARY (training colon)
1840 - Ensure PT_SYSTIME respects the seperator value (API change)
1841 - Add a conditional assert() using infrastructure introduced in r1553.
1843 Implement mapitest support for all of libmapi/mapidump.c
1845 Update openchangeclient for the API change.
1847 Introduce a compile time definition that is set for SVN snapshot releases.
1849 The intent is to use this to protect assert() calls that indicate incomplete code.
1854 Improved Sun Studio compiler support.
1856 Patch by Brian Lu (Sun) - thanks again.
1858 Revert inadvertent part from previous commit (r1549)
1860 Add coverage testing support.
1862 ./configure now supports --enable-coverage, which builds with the right options
1863 to support gcov. Also adds a new makefile target ("coverage") that runs the
1864 required post-processing steps.
1866 Also added a test script that does a range of openchange related (client side)
1867 operations. This is useful for generating the test load for coverage checks.
1869 So the basic recipe here is
1870 1. Add the --enable-coverage option at configure time.
1872 3. Install it, or otherwise ensure that coverage-enabled libs are used
1873 4. generate the test load (e.g. run ./script/smoketest.sh)
1875 6. Inspect the results in ./covresults
1880 Add support for the SunStudio compiler.
1882 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
1883 ensure it all worked.
1885 This approach is cleaner, allowing options to be build up separately for each compiler, and for
1886 the C and C++ versions.
1888 Tested on Linux with all three compilers.
1893 Adding missing include.
1897 Patch from Brian Lu (Sun). Thanks very much.
1902 Additional portability fixes for SunOS.
1904 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
1906 I modified the patch to try to use autoconf where possible.
1908 Resolves ticket #220.
1910 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
1911 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
1913 Patch by Brian Lu (Sun) - thanks very much.
1915 Partly resolves ticket #220 - still need to handle the first patch.
1920 Fix build problem using Sun Studio compiler.
1922 Reported by Brian Lu (Sun), including a patch (Ticket #219)
1924 I slightly modified the patch, but nothing substantial.
1929 Patches provided by raboof:
1930 - Ticket #213 deprecated include directive removal
1931 - Ticket #214 missing sanity check
1932 - Ticket #215 fix some DEBUG macro level for sain ouput
1942 Use mapi_profile_get_ldif_path to find ldif path when one is not given
1947 Added libmapi++ wrapper function for CreateProfileStore
1952 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
1955 Should allow FreeBSD to be supported.
1960 Alternative solution to ticket #179, provided by Alan Alvarez.
1962 This alternative avoids the need for the user to clean up the string returned by what().
1964 Also includes a test case, which I've used to validate that the original (prior to r1524) code
1965 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
1967 Resolves Ticket #179 (again).
1972 Make sure that the string given by what() can be used.
1974 Patch by Erik Hovland - thanks very much.
1976 Resolves ticket #179.
1978 Ensure that the libmapi++ messages example works even if there is no
1979 PR_CONVERSATION_TOPIC (subject).
1987 Modify mapi_object_set_logon_id() to be able to report errors.
1989 Original patch by Erik Hovland, I made some changes.
1994 Implement RopReloadCachedInformation (0x10).
1996 Minor change to IDL (previously implemented), and adds
1997 implementaiton and mapitest code.
1999 Also editorial comment fix in some related mapitest stuff.
2001 Resolves ticket #186
2003 Implement GetValidAttachments ROP (0x52).
2005 Includes IDL, implementation and mapitest.
2007 mapitest also checks DeleteAttach behaviour, which I don't think we previously
2010 Also includes a comment fix in the mapitest code.
2017 Patch by Erik Hovland <erik at hovland.org>
2022 Update the properties list.
2024 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
2029 Update API to use MAPITAGS enum.
2031 Update to match API change.
2033 Use appropriate enum here.
2035 Use enum for OpenEmbeddedMessage call.
2037 Use enums where appropriate.
2039 Update users of FindRow to use enums.
2041 We are supposed to be returning a MAPISTATUS, so switch to using
2042 the OPENCHANGE_RETVAL_ERR macro here.
2044 Use appropriate enums instead of int types.
2046 Use enums instead of ints / hardcoded values.
2048 Use enum types where appropriate.
2050 Fixes warnings from Intel C compiler.
2052 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
2054 Fixes warning from Intel compiler.
2059 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
2060 not to CXXFLAGS as well.
2062 Avoids g++ warnings.
2064 Use enumerated type instead of integer.
2066 Remove unreachable code.
2068 Add "static" to avoid the need for additional declarations.
2070 Avoids noise from the intel c compiler.
2072 Namespace variable in macro, so we don't get noise about shadowing a
2075 Help icc find comparison_fn_t.
2077 Match up data types in argument and format string.
2079 Remove unused variable, and change a name to avoid a "shadowed declaration"
2085 Portability fixes for Intel C Compiler.
2087 Set CFLAGS early, otherwise AC_PROG_CC will set
2088 CFLAGS to "-O2 -g", which later has -O3 appended, which
2089 icc complains about.
2091 Check if we're really icc, and if so, turn off some warnings.
2092 Also turn off the "FORTIFY_SOURCE" define which causes problems
2093 with missing builtins.
2095 The warnings can (and should) be turned back on later, after we
2096 fix the current issues.
2101 Correct diagnostics messages.
2106 Remove explicit -Wstrict-aliasing=3 from command line.
2108 This is implied by gcc -Wall option, and icc produces nuisance warnings
2109 with it enabled (related to the -W option, not the code being compiled).
2111 Fix some memory leaks and a bug in mapiprofile.
2113 I introduced the bug in r1467, there could be others that are similar.
2118 Minor rewording of description
2125 Move initialisation up, to make sure everything is valid in the failure paths
2127 Patch by Erik Hovland. Thanks once again.
2129 This closes out ticket #178.
2131 Remove unreachable code.
2133 Patch by Erik Hovland. Thanks again.
2135 This is the second part of ticket #177. This completes the checkin of that ticket.
2137 Remove unreachable code.
2139 Patch by Erik Hovland. Thanks very much.
2141 This is the first part of ticket #177.
2146 Ensure that we check the result of the operation we just performed.
2148 Patch by Erik Hovland. Thanks very much for continuing to provide these.
2150 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
2152 Make sure that return values are checked and report that given status if there is an error.
2154 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
2158 More cleanups of memory leaks for setting up database and an associated failure case.
2160 fix leak in openchangeclient
2162 (as seen with valgrind of "openchangeclient -m")
2164 Fix memory leak in mapiprofile utility
2169 Ensure that when we pass --profile to mapitest, that profile
2170 gets used instead of the default.
2172 Also fix a small memory leak when using --profile, and add some
2175 Fix error handling case.
2177 Patch from Erik Hovland - thanks very much.
2179 Resolves ticket #175.
2184 Remove unused enum values.
2186 Remove unused code - no simple tests.
2191 Update the script version of samba4 to alpha8.
2196 Add tevent to dependencies.
2201 Remove unused headers.
2203 Patch by Erik Hovland - thanks very much,
2205 Resolves ticket #164.
2207 Apply patch from Erik Hovland, from ticket #162.
2209 From the original patch:
2210 "The problem is that when you do stat first w/ a file string anyone can
2211 exploit the time in between to do whatever they want with the file that
2212 the string is a name for. Instead, try to open straight away. Then fstat
2213 w/ the file descriptor."
2215 I think the patch is fine, although I didn't run the torture test.
2220 Avoid duplicate call to mapi_object_get_logon_id
2222 Based on a patch proposed by Erik Hovland, but adapted to follow the
2223 pattern used in OpenStream().
2225 Resolves issue #163.
2227 Applied modified version of patch from Erik Hovland to address unused variables.
2229 See http://trac.openchange.org/attachment/ticket/160/unused-values for
2234 My version removes variables (rather than commenting them out) since we don't need
2235 them now. I also updated the documentation for options that are no longer available
2237 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
2238 in r808 (to resolve #103), and looks like it might have been used for debugging - no
2239 impact on the code. I pulled out the whole lot.
2241 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
2243 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
2245 Fix potentially unused variable.
2247 Tested with mapitest (even though nothing should have been affected) and
2248 with libmapixx-test and libmapixx-attach under valgrind.
2250 Patch is remaining part of http://trac.openchange.org/ticket/153
2252 Thanks to Erik Hovland for the patch.
2257 Remove dead / unused code.
2259 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
2261 Original patch by Erik Hovland - thanks again.
2263 Update test case to reflect new behaviour
2268 Link libmapistore against tdb.
2270 Update copies of config.guess and config.sub.
2272 Link libmapiproxy against tdb.
2274 Declare a SOVERSION for libmapistore.
2276 Use LDFLAGS when linking exchange2ical.
2278 Create symlink for libmapistore.
2280 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
2282 Fix typo in variable name.
2287 Fix typo in Python variable name.
2289 Keep separate flags for libraries around in config.mk.
2291 Link libmapiserver against all libraries.
2296 Add some PidTag* mapping involved with Recipients and RecipientRow
2301 Patch from Erik Hovland <erik@hovland.org>:
2303 Initializes variables to make sure they aren't used uninitialized.
2307 - Add sanity check on mapitest_common creation routines within
2310 - Apply patch from Erik Hovland <erik@hovland.org>: check return
2313 Patch From Erik Hovland <erik@hovland.org>
2315 In torture_rpc_mapi_sendattach a call is made to the system function
2316 read at line 199. The return value of read is assigned to read_size,
2317 which happens to be of unsigned type. So if read returns -1 (which it
2318 can) it will not be noticed. The patch changes the type to ssize_t
2319 (signed) and checks for -1 as well as zero to break out of the loop.
2323 Patch from Erik Hovland <erik@hovland.org>
2325 1. In mapiproxy, the directory handle dir will be leaked after it is
2327 2. exchange2mbox main() should use exit at line 785 just like all of
2328 the other error paths so that we don't leak anything
2332 Patch from Erik Hovland <erik@hovland.org>
2334 Adds a #include config.h to suppress compiler warnings for vasprintf
2336 Patch from Erik Hovland <erik@hovland.org>:
2338 Make sure pointers are valid before dereferencing
2339 1. lpProps 'might' be null
2340 2. Add folder to variables checked before moving on.
2341 4. Check nprop->guid before giving to strcmp, two times
2342 6. Check definition before handing to strlen (which will dereference
2343 it) Reworked this one to include talloc_free
2344 7. Check MessageClass? before handing to strncasecmp
2345 8. Check backend, return if null.
2346 10. Don't print out anything if lpProp is null
2347 11. Check attach_size before dereferencing
2352 Fix pull structure for QueryRows reply when no RowData is available
2357 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
2361 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
2362 blob. However it doesn't yet support Chained calls.
2364 - Add AuxInfo/AUX_HEADER structures and IDL
2366 - Refactor mapi_request and mapi_response: move obfuscate_data calls
2367 up to the EcDoRpc layer
2372 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2374 call ProcessNotification() after each successful
2375 emsmdb_transaction() in all the libmapi calls.
2377 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2379 Mapi notifications can occurs inside any emsmdb_transaction; currently
2380 only the notification send by the server inside the
2381 emsmdb_transaction_null() in MonitorNotification() are
2382 parsed/processed/delivered to the appropriate callback.
2384 To be able to process all the received notifications, the notification
2385 structure must comprise the private data to be passed to the
2386 notification callback, since in the average mapi call this data is not
2387 available. This patch modifies the Subscribe() call and the
2388 mapi_notification structure, adding the private_data parameter (also the
2389 related Subscribe() calls are update) and add a libmapi call
2390 (DispatchNotifications) to force the notification dispatching in
2391 a [quite] non blocking way
2396 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2398 ProcessNotification() is ignoring the handle value contained into the
2399 processed notifications. This means that if many Subscribe() calls are
2400 performed on different folders but with the same flags, all the
2401 registered callback are [incorrectly] signaled with each received
2404 The attached patch match the handler contained into the notification
2405 message against the notification object handle to avoid such
2411 Make sure delayed authenication is not called when server mode is enabled
2414 Update property list to reflect current OAB props.
2416 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
2418 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
2420 Also remove duplicate close() of file descriptor.
2432 Implement RopTransportNewMail (0x51).
2434 Includes IDL, libmapi implementation, and basic mapitest coverage.
2436 Also fix a few doxygen / formatting things.
2441 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
2442 This commit fixes the ecWrongServer (0x478) error users encounter
2443 while running openchange based software in a clustered Exchange
2449 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
2451 Includes IDL, implementation and mapitest tests.
2456 Fix Search notifications.
2458 MS concurred that the docs are wrong.
2460 Patch by Paolo Abeni - thanks very much for the
2461 investigation and the patch.
2463 Update GetStoreState documentation.
2465 Implement RopSetPropertiesNoReplicate (0x79).
2467 IDL was already done. mapitest for DeletePropertiesNoReplicate was
2473 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
2475 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
2480 Implement RopHardDeleteMessages (0x91).
2482 Includes IDL, implementation and mapitest.
2485 Ignore generated property file.
2490 Add PT_ACTIONS to list of data types.
2492 Not fully/correctly handled yet.
2497 - Add dcerpc_mapiproxy:delegated_auth option
2498 This option delays mapiproxy-remote server authentication when
2499 the client sends the first request on a given pipe. This is
2500 mandatory in order to have delegated credentials to work.
2502 - Factor remote connection into mapiproxy_op_connect
2507 Add session state to the notification.
2508 Patch by Paolo Abeni - thanks for the investigation and fix.
2510 Also remove a stray debug message.
2512 Add a new mapitest suite for OXCNOTIF (Core Notifications).
2514 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
2519 Update IDL for ModifyRules (0x41) and add IDL for
2520 UpdateDeferredActionMessages (0x57).
2522 This is a checkpoint commit, pending further investigation
2523 into how we handle PtypRestriction and PtypRuleAction.
2528 Mapitest cleanups - remove GetLastError(), and other minor edits.
2530 Implement LockRegionStream and UnlockRegionStream ROPs.
2532 These appear to be a relatively recent addition to the
2533 documentation, possibly only used in Exchange 2007 / Outlook
2536 This is complete except for testing of whether the locking
2542 Use parent folder full replica ID: 2 bytes instead of 1 byte
2544 - Add Implementation for Logon redirect response buffer in OpenChange IDL
2545 - Update libmapiserver size calculation routine for Logon call to handle this case
2550 Add session and logon_id to the list of parameters to copy between objects.
2551 This patch fixes a problem in openchangeclient when using the --folder parameter.
2554 Remove code relating to free'ing the bookmark returned
2555 by SetCollapseState. Initial investigations with MS
2556 lead me to believe that you can't free that resource.
2558 May be more work in this area as investigation continues.
2563 Fix memory leaks for functions relying on pull_emsmdb_property
2568 Fix emsabp valgrind errors
2573 Make it possible to specify a version number for release different
2574 from major/minor from configure.ac
2579 Make it possible to open and control up to 255 mailboxes within a
2580 single MAPI session.
2582 It implements an internal management of a logon_id array at session
2583 level + enable transparent transport/copy of current logon_id value
2584 among MAPI calls + finally transparently free the logon_id value when
2585 the store object (PF or mailbox) is being released.
2587 - Retrieve recipients from OpenEmbeddedMessage reply
2588 - Test the implementation in mapitest
2589 - Avoid potential memory leak: steal context for returned ulPropTags.
2594 Be more tolerant with Logon request flags
2596 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
2597 This case still needs to be fixed though.
2599 Delete debug message
2601 Create a default GetProps reply on error
2606 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
2607 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
2608 Set errno to retval to work around this problem.
2611 NSPI-GETIDSFROMNAMES
2613 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
2614 has been worked-around by setting QueryFlags to NoStrings to limite the results
2615 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
2616 add additional tests to do full coverage.
2618 Fix GetNamesFromIDs IDL and implementation.
2620 Note: We should probably update the function prototype
2621 so it takes a mapi_SPropTagArray rather than a single property.
2624 Protect against bad results from GetGALTable().
2626 Resolves ticket #142
2631 Patch from Paolo Abeni: Add sanity check to Subscribe
2632 and prevent applications from crashing if notify context
2638 Ensure NSPI server functions have a valid dcesrv_handle
2640 Add quick/additional configuration information on how to setup openchange server
2642 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
2643 segfault when parent object is meant to come from GetContentsTable.
2645 - Fix NspiGetMatches server reply when specified username is invalid and
2647 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
2648 a talloc_free bug leading to segfault on failure.
2650 Prevent from registering same mapistore backend multiple times
2658 Add skeleton for GetRulesTable
2660 - return MAPI_E_SUCCESS when QueryRows reply count is 0
2661 - Move Reminders from IPM Subtree to Mailbox root
2663 - Add QueryPosition implementation
2664 - Move from offset to numerator/denominator couple for table objects
2666 Outlook now opens properly using openchange server and display the
2667 mailbox folder list with icons ;-)
2669 - Add skeletons for Restrict, SortTable, FindRow calls
2670 - Introduce emsmdb provider table object
2671 - Add preliminary table implementation for system/special folders
2672 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
2673 - Improve creation of GetProps reply blob for Mailbox folder
2674 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
2675 - Remove some usage of ldb_filter and use format string instead
2676 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
2677 so openchange server is able to return failed replies to MAPI clients
2678 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
2680 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
2682 Still preliminary but anyway worthwhile enough to be mentioned ...
2684 - Add a function to count subfolders of a container
2685 - Add a function to wrap MAPI tables over openchangedb
2686 - Factorize code used to fetch property values from LDB records
2688 - Add default properties to folder records while provisioning mailbox
2689 - Add few more mapping for PR_* to PidTag
2690 - Add a new MAPI property to the list
2692 Avoid openchangeclient --mailbox to segfault when run vs openchange server
2695 Remove some ldb_filters, and just use varargs into ldb_search
2697 warning fix for 64-bit arch.
2699 Revert previous commit.
2701 Experimental commit to fix build problems resulting
2702 from property changes.
2707 - Add PidTagDisplayName property to Mailbox object
2708 - Add PidTagParentFolderId to all system/special folders
2710 - handles array depends if a valid mapi_repl exists. This commit
2711 fixes the destructor semantics.
2712 - Fix a mapitest segfault encountered while run vs openchange server
2713 - Return 1 in SRowSet_propcpy if an error was encountered.
2715 Fix libmapi stack segfault when MAPI calls returns
2716 with error_code different from MAPI_E_SUCCESS.
2718 Do not process NSPI request if we can't find the handle
2720 Remove unnecessary ldb_filter parameter and replace it
2721 with ldb_search format string.
2726 - GetPropertyIdsFromNames skeleton added
2728 - Fix how Release replies are handled in mapi_repl[] array
2729 - Remove Release size calculation
2730 - Fix QueryRows size in libmapiserver
2731 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
2732 - GetHierarchyTable skeleton added
2733 - SetProperties skeleton added
2734 - CreateMessage skeleton added
2735 - SaveChangesMessage skeleton added
2741 Set mapi_response to NULL upon init ... just to get sure
2743 Fix MAPIUninitialize segfault
2751 - Add skeleton for GetContentsTable Rop
2752 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
2753 - Add libmapiserver size calculation functions for all the above
2754 - Ensure we only set objects parameter if it exists
2755 - Return when dcesrv handle is not available
2757 Merge s4-alpha7 branch back into trunk
2762 - Add several PidTag to openchange.ldb folders
2763 - Add provisioning convenient function which adds attribute/value pair
2764 to a given folder record
2765 - Replace existing special folders reference within Inbox with PidTagIpm* tags
2766 - Add new PidTag values to mapi-properties
2767 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
2768 - Add a function which builds special properties for openchangedb folders
2769 - Add PT_BOOLEAN case to openchangedb folder get property function
2770 - Keep a reference to the mailbox username within emsmdb provider context
2771 - Create and return a handle in RegisterNotification
2776 Wrong MessageClass size calculation fixed
2779 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
2781 Ignore new binary and trial output.
2786 - Fix systemfolder value for System/Special folders
2787 - Add GetProps support to System/Special folders
2789 Add auto-generated parser to the ignore list
2791 - Add auto-generated parser for MAPI property to PidTag mapping
2792 - Add some PidTag values
2793 - Add a lookup and get property functions on system folders
2795 - tuple SystemIdx in the dictionnary to workaround the ordering problem
2796 - Add ParentFolderId attribute to System Folders
2798 - Add creation of "Special folders" to mailbox provisioning
2799 - Rename fid attribute to PidTagFolderId
2800 - Rename name attribute to PidTagDisplayName
2801 - Rename ExplicitContainerClass to PidTagContainerClass
2803 Fix GlobalCount increment
2805 Fix mailbox provisioning
2808 Add test for FILETIME structure.
2810 Update docs for mapiproxy entry.
2813 Fix handling of fids.
2817 - Fix openchangedb mailbox hierarchy and introduces subfolders
2818 as described in [MS-OXOFOLDS] specifications.
2819 - Update openchangedb API to reflect this change.
2821 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
2822 to fit with MS-OXOFOLDS specifications.
2824 - Add provisioning code for GetReceiveFolder defaults
2825 - Check if mapistore content repository already exists for the user
2826 - Make mailbox creation verbose
2829 Fix parentfolder reference.
2833 Use recursive call to create folders.
2835 Simplify list iteration, PEP8, avoid using string exceptions.
2840 Fix 'dereferencing type-punned pointer' warnings
2842 - Add strict-aliasing compiler flags
2843 - Fix format string warnings on ubuntu buildbot
2845 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
2846 - Fix warnings introduced by -D_FORTIFY_SOURCE
2849 I might have been a bit hasty with that last commit...
2853 Try harder to find sqlite3.
2855 Seems to be in sqlite.pc on Ubuntu.
2857 Fix warning on 64-bit arch.
2861 - Add RopGetReceiveFolder (0x27) implementation
2862 The function respects should respect the semantics and behavior
2863 as described in MS-OXCSTOR specifications. However the python's
2864 code modification required: add ExplicitMessageClass attributes
2865 to folder records is not yet effective.
2867 - Add GetReceiveFolder size calculation function to libmapiserver
2868 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
2869 couple for a given SystemFolder within user's mailbox.
2871 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
2872 - Provision scripts: add default sqlite:// mapistore URI for system folders
2873 - Add mapistore context initialization when calling OpenFolder on SystemFolder
2874 - Add mapistore context release for folders in emsmdbp object destructor
2876 Factorize emsmdbp objects
2877 Add emsmdbp_object generic talloc destructor
2880 Add test for PT_MV_LONG.
2882 Add tests for PT_I8 and PT_BINARY
2884 Fix warning about no newline at end of file.
2886 Remove most recently added tests from "to be done" list.
2888 Add a couple more mapi_SPropValue tests.
2893 - Initialize mapistore within emsmdb provider context
2894 - Add destructors for MAPI handles and mapistore contexts
2895 - Remove emsmdbp_ctx memory context structure member and
2896 allocate directly with emsmdbp_ctx
2898 I don't see any good reason why we would pad MAPI replies with some bytes.
2899 I guess it comes from some prehistoric openchange code.
2901 Fix systemfolder assignment depending on IsSystemFolder value
2903 - Initialize OpenFolder server reply
2905 - Wrap TDB connections to mapistore (code from samba4) so
2906 multiple instances can open read/write to the same TDB database
2907 - Remove static id_mapping_context (replaced with tdb_wrap calls)
2908 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
2909 - Link mapistore with exchange_emsmdb
2911 Fix aclocal warning for AC_DEFINE comparison_fn_t
2913 Remove useless GetProfilePtr from IProfAdmin interface
2914 Closes trac ticket #131
2916 Add missing script - prevent configure from generating warning vs missing file.
2918 Remove stamp-h1 file during distclean and add it
2921 - Add server-side GetReceiveFolder (0x27) skeleton
2923 Work around the comparison_fn_t redefinition problem
2924 between libocpf and ndr.h
2926 FreeBSD doesn't have time.h daylight global variable
2929 start testing mapi_SPropValue_array.
2930 This also tests some underlying functions.
2935 Add comparison_fn_t support to ndr.h
2936 This was the latest change require to make openchange compiles under FreeBSD
2938 = samba4/openchange FreeBSD support completed =
2943 Remove duplicated post_install call
2945 Add a post_install operation on FreeBSD
2946 Make sure pidl is installed properly.
2948 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
2949 Note: this is a dirty hack which needs to be removed in the future
2951 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
2952 may not be adjusted properly.
2954 Avoid download samba4 release tarball if already available
2955 in current directory.
2957 - Add test for comparison_fn_t in configure.ac
2958 - libocpf auto-generated files include stdlib.h and prevent from
2959 having the proper comparison_fn_t typedef. This commit works around this
2960 problem and define comparison_fn_t within a private header.
2962 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
2963 Use fgetln instead when it is compiled on this OS.
2965 FreeBSD doesn't define sighandler_t but sig_t
2967 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
2969 - Add non-default search path /usr/local/{include,lib} to
2970 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
2971 - Make use of LDFLAGS while compiling openchange tools
2974 A few improvements for property handling.
2976 Also add unit tests to verify behaviour is correct.
2978 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
2980 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
2985 Check for Flex version < 2.5.35
2986 Make sure users can define the FLEX environment variable
2988 Add automake scripts for AC_CANONICAL_HOST support
2989 Needed for FreeBSD OS detection in configure.ac
2994 Fix warnings from lexer output.
2996 Fixes for warnings on 64-bit architectures.
2998 Fix warning on 64-bit architecture.
3001 Add some more tests for openchange.mailbox.
3003 Fix creation of new mailbox after provision.
3005 Always use the same URL when connecting to openchangedb.
3007 Fix arguments to openchangedb_provision.
3012 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
3015 Warning fix for 64-bit arch.
3020 Add doxygen definition for RopRelease
3022 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
3023 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
3024 - Fix size bug for serialized requests
3025 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
3026 - Make sure the GetProps reply blob is initialized whatever happen
3027 - Add a skeleton emsmdbp folder object init function
3032 Remove debug strings for GetPropertiesSpecific Rop
3034 Enable verbose output in server mode - useful during development
3036 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
3038 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
3039 - Fix GetProps size: subcontext is not added to the fixed size calculation
3041 - GetPropsSpecific size calculation function added to libmapiserver
3042 - Function to create a GetProps reply property blob added to libmapiserver
3045 Add tests for provisioning.
3047 Several cleanups in python code, add tests for schema use.
3049 Don't clear PYTHONPATH override.
3051 Remove unused imports, add extra tests.
3053 Use member variable for Ldb, rather than subclassing.
3055 Remove print statements to avoid cluttering test output.
3057 Add simple and incomplete testcase for OpenChangeDB.
3059 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
3061 Move adding a server to mailbox.py.
3063 Move ldif from oc_provision_openchange.ldif into Python.
3065 Stop providing setup_path to OpenChangeDB, as it's no longer used.
3067 Avoid using separate LDIF file when creating folder mailboxes.
3069 Avoid using separate LDIF file when creating mailboxes.
3071 Avoid passing full names object.
3073 Add check-python target.
3078 fix openchange_newuser.
3080 Use SamDB for actual SAM databases, Ldb otherwise.
3082 Remove unused parameters, don't make parameters optional if they are mandatory.
3084 remove unused parameters.
3086 make mailbox object-oriented, remove creds/lp parameters.
3088 Fix OpenChangeDB syntax.
3093 - Add a systemfolder member to the MAPI handle structure to make a difference
3094 between objects managed by mapistore and those stored within openchange.ldb
3095 (root mailbox folders).
3097 - Add opaque functions to set/get private_data and systemfolder to the MAPI
3100 Minor doxygen fix/improvement
3102 Add libmapistore object files to the ignore list
3104 - Add a very preliminary and light libmapistore implementation.
3105 mapistore only supplies init/release and add/del backend contexts.
3106 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
3107 - A temporary mapistore testing tool has been added locally for implementation checks.
3110 Use convenience function for connecting to openchange.ldb.
3112 Use standard LDB functions - openchange.ldb is not a SAM database.
3117 Implement support the SUMMARY language tag.
3119 Initial checking of libical based exchange2ical code.
3121 This has a long way to go, so think of this as more of a checkpoint
3124 See http://sourceforge.net/projects/freeassociation/ for the library, or
3125 see if your distro has a package.
3129 Add missing parameter to API documentation.
3131 Resolves ticket #130.
3133 API documentation fixes for OpenEmbeddedMessage()
3135 Implement OpenEmbeddedMessage ROP (0x46).
3139 Factor out message creation and message fill actions.
3141 Also remove GetLastError() where appropriate.
3143 Add some API documentation.
3148 Update openchangepfadmin description
3149 Fix tool relying on libmapiadmin
3156 Add more explanation for README
3158 Reimplement RTF decompression.
3160 Add unit tests from MS-OXRTFCP.
3162 Fix warnings in example code
3164 Add description for libmapiadmin
3166 Add description for libmapi / libmapi++
3168 Start on the directory descriptions.
3174 Add overview. Extracted from API docs.
3178 Outline of README file.
3180 (also using this to test buildbot without changing real code)
3184 Add Version field - avoid breaking pkg-config --list-all
3186 Fix warnings (gcc 4.2.4)
3189 Use variable for package version rather than hardcoding it.
3199 - Add an implementation of the MAPI handles management API. The API
3200 internally uses an in-memory TDB database to keep object hierarchy
3201 and a doubled chained list to associate private data to handles.
3203 The API currently provides add, search and delete facilities. Note
3204 that while untested, the delete operation is designed to recursively
3205 delete children of the 'meant to be deleted' handle.
3207 Finally the API doesn't remove TDB records but mark them as free so
3208 they can be reused across MAPI session and prevent from handle counter
3209 growing indefinitely.
3211 - Add a preliminary implementation of the Release call
3212 - Add Release size calculation to libmapiserver
3213 - Update EMSMDB provider to use MAPI handles API
3216 Minor api documentation fix.
3222 Minor API docs tweak.
3224 Token commit of tiny API docs fix.
3227 Look for GNU make harder (gmake on BSDs).
3232 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
3233 - Add common routines for OpenChange LDB context init and search
3235 - Add libmapiserver skeleton with size calculation routine for RopLogon
3236 - Change DSO linking dependencies for mapiproxy shared libraries
3237 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
3241 Remove .po and .o objects within libmapiproxy subdirectory
3243 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
3244 Fix make uninstall for AD and profiles directories
3248 Add python code and ldif files needed to create and populate the experimental
3249 openchange dispatcher database.
3251 Add 5-Minute configuration documentation for OpenChange server mode
3253 - Rebase ldif files into sub directories:
3254 * AD for OpenChange AD modifications
3255 * profiles for OpenChange IProfAdmin interface
3256 - Makes it easier figuring out LDIF files scope
3257 - Prepare setup folder for LDIF openchangedb files integration
3258 - Update install/uninstall Makefile rules for ldif files and
3259 make sure everything got removed
3264 Add support for short language names (e.g. en-AU) for lcid.
3269 Delete deprecated libmapi setup Perl script
3272 Add summary report for tests.
3274 Make mapitest return the number of failed tests.
3279 - Add pkg-config pc file for libmapiproxy
3280 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
3282 Free memory allocated by the fake subcontext in
3283 ndr_pull_mapi_response.
3285 This fix saves 300kb of memory and removes 700 loss records while
3286 valgrinding mapitest.
3288 Fix segfault - Add sanity check - when SPropTagArray is NULL in
3289 NspiQueryRows request
3291 Fix openchange_newuser name typo
3293 Fix server provisioning command line examples
3295 Fix several libmapi leaks.
3297 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
3298 and was not free'd when libmapi function released their
3299 context. Furthermore we need to release mapi_response->mapi_repl and
3300 mapi_response->handles which are now automatically free'd when
3301 mapi_response destructor is called.
3303 However note that this fix is not perfect: mapi_response memory is not
3304 free'd properly when calls exit with an error.
3306 This commit also make use of talloc_steal where necessary to keep
3307 returned fields allocated.
3311 Use named context rather than autofree
3313 Fix memory leak in emsmdb.c: Use a temporary memory context for
3314 request and length allocation in emsmdb_transaction.
3316 - This removes 827 loss records and approximatively saves 41kb of
3317 memory while valgrinding mapitest
3319 - Fix memory leak in GetDefaultProfile and GetProfileTable.
3320 - Save from 10 loss records while valgrinding mapitest
3321 - Developers are now responsible from freeing the GetDefaultProfile
3322 string the function allocates.
3323 - Apply changes to all openchange tools.
3325 Add blackbox subunit tests for mapiprofile tool
3328 One more trivial fix.
3332 (Yep, more trivial changes)
3334 Fix incorrect LCID for en-CA.
3336 (OK, its token, I admit).
3339 Don't define _GNU_SOURCE unconditionally.
3343 Prevent mapiproxy from multiple init and modules/server register
3344 when an smb client connect to the server (e.g. windows browser or smbclient)
3348 According to [MS-OXOCAL] Section 2.2.1.44.1
3349 "RecurrencePattern Structure", a monthly recurrence
3350 also has a Day specific parameter.
3355 Simply run autogen.sh rather than replicating it inside the Makefile.
3357 need to run aclocal before autoconf for the pkg-config macros.
3361 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
3362 Saves from 4 loss records while valgrind'ing mapitest.
3364 Use temporary memory context for EcDoConnect.
3365 Saves from 20 loss records when valgrind'ing mapitest.
3367 Free PropertyProblem structures returned by CopyTo.
3369 Replace deprecated talloc_init calls with talloc_named
3370 This commit removes some valgrind loss records talloc_init was responsible for
3373 Free everything when running mapitest --list-all.
3374 Valgrind however shows a loss record related to talloc_init ...
3377 Minor Intel C compiler warning fixes.
3379 Minor apidocs cleanups.
3383 Use double pointer for lp_ctx in GetLoadparmContext assessor
3385 Fix memory leak in utf8 lexer.
3387 - Remove custom iconv_convenience from pull_emsmdb_property and use
3388 lp_iconv_convenience on loadparm_context argument instead.
3390 - Change OpenChange libmapi API to reflect this change
3392 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
3393 (mostly for mapitest modules). libmapi/mapiproxy developers
3394 should never have to make use of it.
3396 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
3398 Free lpProps returned by GetProps, Fix context error in valgrind
3400 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
3401 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
3402 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
3405 Don't install mapiproxy if python wasn't found, since
3406 we wouldn't know where to install the provisioning scripts or be able
3411 Merge libmapi-0.8 branch r1015 to 1017 into trunk
3413 ** Start libmapi-0.9 COCHRANE development **
3415 Merge libmapi-0.8 branch changes into trunk
3419 Add python install/uninstall rules to provision rather than mapiproxy-servers
3421 - Remove server Makefile rules
3424 Note: server and providers have been merged within mapiproxy,
3425 so there is no reason keeping this deprecated code.
3429 Undoing change committed in r1004.
3431 Use .po files instead of .o files for openchange tools
3433 Add --version to openchange tools
3435 Add COPYING file with GPLv3 license
3439 - Add RenameProfile function to IProfAdmin API
3440 - Remove pointless CopyProfile from IProfAdmin API
3441 - Add --rename option to mapiprofile tool
3442 - Update man page to reflect this addition
3444 (close trac ticket #124)
3446 Fix libmapi from crashing when mapi_repl is NULL.
3448 Update Samba4 git rev to fix the charcnv segfault met in openchange
3452 Try to find the Samba python modules if they're not installed in the system
3457 - Fix Subscribe semantic bug and add WholeStore boolean parameter
3458 - propagate API change to tools/torture callers
3460 - Add assessor functions to set dumpdata and debug level in libmapi
3461 (SetMAPIDumpData and SetMAPIDebugLevel)
3462 - OpenChange tools modified to use these function rather than set these
3463 parameters on their own
3465 - Fix --debuglevel segfault in openchange tools
3466 - Enable logging to stdout in MAPIInitialize
3470 * OpenChange libmapi function now returns MAPI error instead of -1
3471 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
3472 - add doxygen documentation for some missing functions/files
3474 - Missed this event->tevent change in previous commit
3476 - Update openchange to use latest Samba4 master git rev (990491d)
3477 - Fix references to tevent_context structures
3478 - Fix iconv_convenience init in MAPIInitialize
3479 - Remove errorchecks mapitest module warning
3482 Use tevent_context_init.
3488 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
3489 using profile's mailbox string directly. This commit fixes the bug.
3491 - Add EcDoConnect and EcDoDisconnect preliminary support to
3492 dcesrv_exchange_emsmdb.c
3493 - Add internal session management mechanism to EMSMDB server
3494 - Add init and unbind modules function to EMSMDB server
3495 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
3498 Fix valgrind errors caused by using free'd memory.
3502 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
3503 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
3504 0xB (opnums using LZ based compression).
3506 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
3510 - Preliminary implementation of NspiGetProps NSPI server function
3511 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
3512 - Use correct ldb context (users or conf) depending on where MId is
3513 located (on-memory or on-disk)
3514 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
3516 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
3518 - Preliminary implementation of NspiDNToMId NSPI server function
3519 - Add emsabp_search_legacyExchangeDN to search for a record given its
3520 legacyExchangeDN attribute.
3522 - Preliminary implementation of NspiQueryRows NSPI server function added
3523 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
3524 rather assuming it is NULL terminated
3525 - Add support for "referenced" property tags
3526 - Add support for PR_MV_STRING8
3527 - Add emsabp_search_dn which search for a DN within AD and return the
3528 associated LDB message
3529 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
3530 emsabp_property array
3532 Prevent from trying to add a NULL element to profile database and segfault on strlen
3534 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
3536 - Preliminary implementation of NspiGetMatches NSPI server function
3537 - Make use of a on-memory TDB database for Ephemeral Entry IDs
3538 - Add TDB traversal routines to retrieve DN associated to MId
3539 - Move lp_ctx within emsabp_ctx for convenience
3540 - Add EphemeralEntryID to Binary_r routine
3541 - add emsabp_query (Find attribute matching given property tag and
3542 return associated data)
3543 - add emsabp_fetch_attrs which builds a SRow array given a MId and
3544 requested property tags.
3545 - add emsabp_search which searches AD given input search criteria
3546 - add a preliminary Property Tag to AD attribute mapping + associated
3547 functions in emsabp_property.c
3549 Note: This NspiGetMatches is limited to MAILUSER which means we only
3550 look for users (located within users.ldb). This limitation will be
3551 removed when we have a preliminary working emsmdb server, so we can do
3552 more extensive NSPI server tests.
3554 Add sanity check to get_SPropValue_SRowSet, prevents the function
3555 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
3557 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
3558 with NULL ppOutMIds is returned.
3563 - Preliminary NspiGetSpecialTable implementation added to NSPI
3564 server/EMSABP provider: Hierarchy Table supported (required during
3566 - add PT_BINARY support for mapidump_SPropValue
3567 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
3573 Add new Display Type values (used by EMSABP provider)
3575 Change DEBUGLEVEL for RfrGetNewDSA
3577 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
3578 - mapiproxy-servers-install now installs openchange python scripts and ldif file
3582 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
3583 This structure is required for NTLM_AUTH_IS_OK macro
3585 - Add doxygen comments for all OpenChange server modules
3586 - Fix doxygen return value for exchange_nsp
3588 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
3589 - Add exchange handle enum to dcesrv_mapiproxy.h
3590 - Add authentication verifier macro to libmapiproxy.h
3591 - Add preliminary EMSABP Address Book Provider implementation:
3592 * supports initialization, destructor (talloc)
3593 * implements user and codepage check routines
3594 * retrieve NSPI server GUID
3595 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
3596 - Add internal session mechanism management to NSPI server
3597 - Add init and unbind modules function to NSPI server
3598 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
3599 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
3601 OpenChange configuration schema updated with Addressing schema
3602 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
3604 Execute server modules init function when loaded
3607 A few API documentation fixes.
3612 Add documentation for MAPIProxy 'server mode'
3617 - Implement mapiproxy server mode architecture
3618 - Add server modules management API
3619 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
3620 - Add temporary provision Makefile rule
3625 Initial text was correct - rollback
3630 Ensure that GetLastError() also returns the correct value.
3632 Start changing the MAPI_RETVAL_IF() usage to two new macros:
3633 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
3635 simple_mapi.c is the only one converted at this stage.
3637 Also added a set of unit tests that verify at least some initial
3640 Remove unreachable code.
3642 Partly resolves ticket #124
3647 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
3649 mapiproxy documentation update: 3 questions added to FAQ section
3651 Patch from Corentin Chary:
3652 - Add PR_CONTENT_FILTER_SCL property to libmapi
3654 - Update openchange to work with samba4 master git rev f308c2f
3655 - Replace reference to events.h with tevent.h
3656 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
3661 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
3662 Update openchangeclient to reflect these changes.
3667 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
3669 Fix PIC object flags for SWIG build. Patch by metze.
3674 User %u format specifier for unsigned integer.
3676 Make return value match signature.
3678 Miscellaneous minor cleanups. Mainly making return types
3679 match signatues, format conversion (%u for unsigned values) and
3680 matching up result variable types (bool instead of enum MAPISTATUS).
3682 Return an enum MAPISTATUS, instead of a bool, to match function signature.
3684 Use %u instead of %d for unsigned values.
3689 Another minor APIdox edit.
3691 API documentation tweak.
3699 More apidox triviality.
3701 Trivial APIdox edits.
3703 Supplement the user's PKG_CONFIG_PATH rather than
3707 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
3709 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
3711 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
3716 Actually use pymapi variables in Makefile.
3718 Add configure flags for building and installing Python MAPI bindings (disabled by default).
3723 Add namespace prefix to scanner.
3728 - spnego / gssapi_krb5 authentication now available for mapiprofile
3729 - add the --realm | -R option
3730 - update mapiprofile man page
3735 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
3739 Don't generate / install man3 pages for libmapi++ or mapitest.
3741 Resolves ticket #121.
3743 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
3746 Allow retrieving id and session of MAPI objects.
3748 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
3750 Add stubs for Session class.
3752 Add infrastructure for MAPI python module.
3754 Look for python and python-config binaries.
3756 Remove empty directory.
3760 Remove obsolete --properties option and related code
3765 Fix RecipientRow member's order
3770 - Update to latest samba4 git master revision (3508a66)
3771 - Fix references to samr info24 struct
3772 - Add support for assoc_group_id proxy
3773 - Add support in mapiproxy for bind/alter connections using assoc_group_id
3774 - Update mapiproxy documentation
3779 Improve building. Partially addresses #94.
3781 More work required on this as we work on the
3782 portability in the future.
3784 Expose the underlying session.
3789 Remove unused --priority option.
3791 These offsets / values can be negative, so we shouldn't
3792 use unsigned int type to represent them.
3797 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
3799 This patch first tries to forge EssDN Logon string from "o" and "ou"
3800 attributes stored in the profile. If Logon fails with ecUnknownUser,
3801 then try to open the mailbox using the mailbox attribute stored in
3807 Document the --label option.
3812 Make openchange compile and work against latest samba4 master git rev (58db2be)
3815 Remove check for unused type 'uint_t'.
3820 More tweaks on the openchangeclient man1 page.
3822 More updates for man1 page for openchangeclient.
3823 Still doesn't fully address #113.
3825 Update the openchangeclient man1 page.
3827 Partly addresses ticket #113.
3829 There is still some work to do on this.
3831 Fix a typo, and try to make the descriptions more
3837 Initial version of man1 page for mapitest
3839 Initial man1 page for exchange2ical utility.
3844 Update man1 page for openchangepfadmin
3846 Minor updates for the man pages.
3851 Fix build errors: wrong number of arguments for ocpf_propvalue
3853 Fix warnings when compiling with -Wextra
3855 Fix warnings when compiling with -Wextra
3857 Fix warnings when compiling with -Wextra
3860 Complete initializers here.
3865 Update to reflect latest state of mapiprofile.
3870 Prevent segfault when running mapitest. Looks like the we can
3871 return MAPI_E_SUCCESS even if one of the property values is
3872 MAPI_E_NOTFOUND. That error then get turned into a char*, and
3875 Also fix a possible bug relating to operator precedence, and
3876 a couple of warnings (one for signed / unsigned comparison, and
3877 the other for an unsigned value never being less than zero).
3882 Enable output to stdout.
3884 Resolves ticket #106.
3886 Thanks to raboof for the report and fix.
3891 Fix missing initialisers (issue #110).
3893 Also fix some signed/unsigned warnings.
3895 Fix problems with incorrect initialisers (#110) and
3896 operator precedence.
3898 Also fix a couple of places with signed/unsigned confusion.
3900 Partial fix for issue #110, and a couple of very minor cleanups.
3907 We probably want to return here, not do nothing.
3912 Fix empty patch function problem: add a retval
3917 Explain the boost-thread trick.
3919 Minor documentation tweaks.
3924 - remove usage of global_loadparm in libmapiadmin
3925 - make use of session context rather than global_mapi_ctx in libmapiadmin
3926 - use local context rather than mapiadmin context in libmapiadmin
3927 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
3928 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
3929 - remove global_loadparm in torture test and replace it with torture context
3930 - fix dcerpc_init to match latest samba4 API
3931 - update samba4 version required to build openchange
3934 More API documentation tweaks.
3936 More API documentation tweaks.
3938 Some API dox fixes for libmapi++.
3941 Remove unnecessary patching of lib/events/events.h.
3946 Update to a more recent Samba4.
3949 Remove some usages of deprecated global_loadparm.
3951 Cope with new argument to dcerpc_log_packet().
3956 Fix includes for DEBUG(), fix some more warnings.
3958 Use same_net_v4 rather than deprecated same_net().
3960 Fix Samba 4 git revision.
3962 Fix includes - debug.h can only be included once.
3964 Include debug header.
3966 Cope with API changes in Samba functions.
3968 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
3973 Fix OpenMsgStore binding in swig perl and fetchmail script
3978 Fix pointless const definition for GetFreeBusyYear return type
3982 - Add the IsFreeBusyConflict convenient function which checks if a
3983 given date conflicts with existing FreeBusy Busy/OOF events
3985 - Modify openchangeclient --sendappointment behavior to check whether
3986 start or end date conflicts with FreeBusy published data for the
3989 - Add the --force option to openchangeclient to override this behavior
3991 - Fix a counter bug in mapidump_freebusy_events
3993 Fix doxygen typo error
3995 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
3996 data in public folders for a given user. Note: Ambiguous name is not
3997 supported at the moment.
3999 - Add convenient FreeBusy mapidump routines
4001 - Add FreeBusy read support to openchangelient
4003 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
4004 property.c functions
4006 - Add OpenUserMailbox which let developers open other mailboxes
4007 instead of the default profile one.
4009 - Add GetABRecipientInfo: convenient function which retrieves Address
4010 Book information for a given recipient
4015 - Add libmapi implementation for DeletePropertiesNoReplicate
4016 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
4018 Fix doxygen documentation
4023 - Implement multisession into libmapi
4024 - Update openchange tools and suite to reflect these changes
4025 - Fix SRow_addprop behavior
4027 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
4028 now take a mapi_session parameter.
4031 Use my openchange.org email address.
4036 - Add a session management API for mapiproxy modules. Similar code
4037 already existed for mpm_cache module. Common functions are now
4038 available to all mapiproxy modules through libmapiproxy
4040 - replace smbd with samba in mapiproxy documentation
4042 - Cache calendar, contact, journal, note, task and drafts folders IDs
4043 when GetDefaultFolder call is performed on one of these folders and
4044 keep them until obj_store is released.
4046 - Add a reverse lookup routine which says whether a given FID belongs
4047 to a default folder and which olFolderType it is.
4049 - Remove pointless memory context in GetDefaultFolder
4050 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
4052 Restore install rule for mapi profiles ldif files in
4053 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
4054 tries to create a new mapi profile store.
4058 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
4059 - mapi_object_copy routine added to mapi_object.c
4064 Fix missing Month field in LogonTime structure
4068 propagate IDL warning fix to property.idl
4071 Add target for building python API documentation.
4075 Fix samba4 release and git revision
4077 Fix installsamba4.sh script paths
4082 Install OpenChange python modules.
4084 Check for python dir during configure.
4086 ignore generated files.
4088 Stop installing js files.
4090 Use autoconf cache prefix.
4092 Use newer version of Samba 4.
4096 Remove dcesrv_exchange.so from server Makefile rule and
4097 move mapiproxy from TOOLS to SERVER.
4099 dcesrv_exchange and providers Makefile rules are orphan, planned
4100 to be removed (with their associated code) when emsabp merge process
4101 into mapiproxy is over.
4105 Export the Binary_r structure.
4109 Use more descriptive variable names in messages example code.
4111 Add a description of messages to libmapi++ API documentation.
4113 Add messages binary to the ignore list.
4115 Add new example showing libmapi++ message handling, and
4116 associated API documentation and build system changes.
4120 Update the API documentation main page for libmapi++
4124 Add foldertree binary to the ignore list
4126 - Add missing Input parameter
4127 - Add sanity check on ppNames
4130 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
4131 - Add a NspiGetSpecialTable test for Address Creation Template
4134 Fix valgrind-reported error, per ticket #101.
4136 Make sure we clean up after mapitest runs.
4142 - Add msExchUserAccountControl attribute to extended user record
4143 - openchange_newuser can now create/enable/disable an OpenChange account
4145 Exit the test if the WriteStream operation fails
4147 Fix ncacn_ip_tcp binding string for OpenChange server object
4149 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
4151 Fix pipe function check and use ndr autogenerated defines rather than static strings
4152 Fix calls to NspiDNToMId
4155 Make sure we set the body and body format properties, to
4156 ensure that the message is shown correctly with
4157 openchangeclient -F.
4162 - Rename oc_* python scripts to openchange_*
4163 - Add Full Exchange 2003 schema (classes and attributes)
4164 - Full Exchange 2003 modified classes and attributes support
4165 - Add prefixmap OID for some Exchange classes and attributes
4166 - Add missing ADSC classes and attributes
4167 - Improve configuration LDIF file with new objects
4169 NOTE: provision.py should find a way to handle firstorg properly
4170 NOTE: oc_provision_configuration.ldif is still incomplete
4173 API documentation improvements.
4177 Add an example to the libmapi++ documentation, and
4178 the right build magic and doxygen linkage.
4180 Minor API documentation fix
4184 Add forgotten part of API documentation fixes for mapitest.
4186 Improve mapitest API documentation.
4190 Use new DeleteFolder flags to clean up folders on deletion.
4192 This doesn't completely resolve ticket #84, but it does help.
4194 Ignore API documentation.
4196 Add Doxyfile to ignore list.
4198 Add initial support for Doxygen API documentation
4203 Implement the remainder of the standard public folders.
4207 Only do header line removal at the start of the file
4208 (lines 20 through 40 seems like a good compromise).
4210 libmapi++ is C++, not C, so we should not optimise
4211 Doxygen output for C.
4215 - Update the Logon_repl IDL (0xFE) and implementation
4216 - Add new folders to the mapi_obj_store for PF folders
4217 - rename pf_finder to pf_search
4220 Suppress some more unwanted headers.
4224 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
4228 - Update the EmptyFolder IDL
4230 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
4231 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
4233 Link libmapi++ documentation to main apidocs page
4235 Update GetAttachmentTable IDL and remove the unknown field
4237 - Update DeleteFolder IDL and implementation
4238 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
4239 - Sanity checks added at the beginning of the function
4241 - Rename GetRowCount to QueryPosition
4242 - IDL, implementation, documentation and openchange code updated
4243 - ActionType enum fields prefixed with 'ActionType_'. Original
4244 values were causing conflicts while building Perl bindings with
4245 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
4247 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
4249 - Update SaveChangesMessage IDL and implementation
4250 - Add a SaveFlags parameter to SaveChangesMessage function
4251 - update openchange code to reflect this change
4254 Build fix / fix for ticket #99.
4256 Filter out some new #include lines.
4258 This needs to be applied to other modules too.
4262 Update SRow and SRowSet IDL
4264 Delete obsolete input_locale and instance_key structures
4266 Fix WStringArray_r IDL
4268 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
4269 - LPWSTR structure removed
4271 Rename SDateTimeArray to DateTimeArray_r
4273 Rename SGuidArray to FlatUIDArray_r and fix the IDL
4275 Rename MV_LONG_STRUCT to LongArray_r
4277 Rename SBinary to Binary_r
4279 - Add removal of libmapi++ Doxyfile in make distclean rule
4280 - Add Doxyfile to svn:ignore
4282 Rename SShortArray to ShortArray_r
4284 - Move from SLPSTRArray to StringArray_r
4285 - LPSTR structure removed
4287 Rename MAPIUID to FlatUID_r
4289 Fix lexer warnings during compilation (ticket #100)
4291 - Update the EcDoConnect IDL (ref. ticket #99)
4292 - Add new fields to the emsmdb info structure
4293 - Add doxygen comments to libmapi/emsmdb.c
4296 Reduce warnings when compiling with 64-bit arch.
4298 Initial checkin of infrastructure for libmapi++ API documentation.
4302 - MAJOR NSPI protocol and libmapi stack update
4303 - All NSPI protocol functions implemented
4304 - NSPI stack fully documented
4305 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
4306 - NspiDNToEph renamed to NspiDNToMId
4307 - instance_key removed from nspi_context and set as a parameter to NSPI functions
4308 - SPropertyRestriction renamed to PropertyRestriction_r
4309 - FlagList structure removed and replaced by a SPropTagArray
4310 - MAPI_SETTINGS removed and replaced by a STAT structure
4311 - new MAPI property tags added to libmapi/conf/mapi-properties
4312 - NSPI module added to mapitest
4315 Clean up on failure.
4317 Clean up on failure.
4319 Minor improvements to ensure cleanup on failure.
4321 API documentation fix
4323 API documentation fix.
4325 API documentation fix.
4327 API documentation fix.
4329 API documentation fixes.
4333 API documentation fixes.
4337 Fix EMSMDB 0xb function name
4339 - update EcRRegisterPushNotification IDL
4341 - implement complete MAPI notifications
4342 - update libmapi to reflect these changes
4343 - make openchangeclient prints a brief summary for each notification found
4344 - update ulEventMask used in openchangeclient
4348 - Rename Advise MAPI call to RegisterNotification
4349 - Update RegisterNotification IDL and implementation
4353 - Fix Restrict IDL and implementation
4354 - Add a new parameter to the Restrict function
4357 Add mapi_nameid.h to the ignore list
4359 - Replace libmapi/mapi_nameid.h with a generated mparse file
4360 - Add a mapi_nameid.h parser to mparse.pl
4361 - Add canonical names for named properties
4362 - GetProps and SetProps resolves named properties if they exist
4363 - named properties can now be set directly and make mapi_nameid API be
4365 - replace named property tags hex value with their canonimal names
4366 - replace several use of the mapi_nameid API with smaller code
4368 - Add new IDL file (property.idl) to push/pull structures from binary
4369 blobs and not directly related to any MAPI calls. Include the
4370 generated property.h file into libmapi.h
4372 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
4373 parsing) and mapidump_SPropValue
4375 - Add functions to property.c to retrieve RecurrencePattern,
4376 TimeZoneStruct and GlobalObjectId structures (see property.idl).
4378 - add a preliminary version of exchange2ical tool. This version only
4379 dumps calendar folder appointments into ICS file on standard output.
4383 - Update mapi-nameid-properties with a more complete set of properties
4384 - Add a header to mapi-nameid-properties for sanity purposes
4385 - Move named properties with PT_STRING8 type to PT_UNICODE
4386 - update openchange code to reflect these changes
4387 - Add PSETID_Attachment to mapidefs.h
4391 Add missing check on password for the create command
4393 Fix incorrect usage of realm in mapiproxy
4397 Check for provider_rpc_connection retval for RFR functions.
4399 Update Doxyfile to parse mapiproxy/modules files and
4400 include documentation on static functions.
4402 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
4403 Exchange server name with mapiproxy one.
4404 - documentation updated to reflect these changes
4405 - new FAQ question added
4406 - developer documentation improved
4408 Add the RFR mapiproxy file.
4410 - Implement RfrGetNewDSA DN replacement in mapiproxy
4411 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
4412 - update mapiproxy documentation to reflect these changes
4416 - Add implementation of the NSPI Referral protocol (exchangeRFR)
4417 - update dcesrv_exchange and mapiproxy prototypes for RFR
4418 - add references to the RFR pipe in mapiproxy
4419 - prefix NSPI client connections with a RfrGetNewDSA call
4420 - add RFR functions implementation in libmapi/IMSProvider.c
4421 - add a --getfqdn option to mapiprofile
4422 - fix a minor mapiprofile option parsing bug
4426 Fix mapiproxy dummy module unbind prototype
4428 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
4429 - EcDoRpc indent updated
4433 Get rid of initialization order warning
4437 - add unbind hook for mapiproxy
4438 - add ahead mapiproxy mode
4439 - add read ahead in cache module
4440 - add synchronization mechanism in cache module
4441 - update mapiproxy documentation to reflect these changes
4445 Temporarily comment out installation of files removed
4450 Fix arguments, paths in provision scripts.
4452 Merge python provision/newuser scripts.
4454 Simplify installation of manpages a bit.
4458 Add configure check for libboost-thread. Add libmapi++ to the build
4459 only if it is available.
4463 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
4464 - Created session::login() members.
4465 - test applications use default profile.
4469 - Import Alan Alvarez work from libmapi++ into trunk
4470 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
4472 - Add libmapi++ to the build system
4473 - Add a patch function to installsamba4.sh: rename private to
4474 private_data in samba4 events.h header file
4475 - Change #include directives so it uses <libmapi++ ... rather than
4480 - Add a statitic function monitoring streams over OpenStream and Last
4481 ReadStream operations. Monitoring stream Release is not relevant
4482 since Outlook does not close the handle directly after last
4483 ReadStream operation. Should put in evidence difference between
4484 non-cached(1st retrieval) and cached (further retrieval).
4486 - Fix a few memory leaks
4490 - Commit initial revision for the mapiproxy cache module
4491 - Update mapiproxy hook API for the dispatch routine
4492 - Introduce the mapiproxy structure for modules to control top-level
4494 - Update mapiproxy documentation to reflect these changes
4498 * Fix remaining ByteRead parameter size for ReadStream operations.
4502 * Improve/Update Open/Read/WriteStream IDLs
4503 * Fix ByteRead parameter size for ReadStream operation.
4507 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
4510 Propagate r666 changes to OpenMsgStore and fix build
4513 Minor rename of bitmap value to avoid conflict with
4514 Private as a class name.
4518 Minor change: remove old debugging string from mapitest
4520 Fix incorrect header
4522 Remove deprecated mapi_handles API
4525 Initial checkin of some uno (static checker) support
4528 There will be a script to run uno with the right options,
4529 but that requires more work.
4533 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
4534 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
4536 - Call mapi_object_release in GetDefaultFolder
4537 - Remove pointless references to mapi_object_t
4540 Fix little memory leak.
4544 Fix invalid OpenFolder calls in mapitest modules
4546 Remove references to SaveChanges in doxygen see also statement
4548 - Rename SaveChanges to SaveChangesAttachment (0x25)
4549 - Update SaveChangesAttachment IDL
4550 - Update references to SaveChanges
4552 - Fix the huge memory leak described in Ticket #91
4553 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
4558 - Add mapi_get_errstr auto-generated routine which returns the MAPI
4560 - Add print routine for MAPI retval in mapitest
4561 - Add a color mode (--color) which prints either green or red MAPISTATUS
4562 - Update mapitest modules to use these new routines
4565 Minor API documentation fix.
4571 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
4573 - Report and make consistent usage of PropertyProblem in the IDL:
4574 SetProps, DeleteProps and CopyProperties
4576 - Remove unknown field in GetProps and GetPropsAll and replace them
4577 with the correct IDL mapping.
4579 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
4581 - Minor typo fix in IMAPIProp.c
4583 Improve CreateMessage request IDL
4585 Improve OpenMessage response IDL
4587 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
4589 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
4590 IDL: make these call able to check whether the folder is ghosted or
4593 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
4595 SeekRow and SeekRowBookmark IDL improved
4597 Improve the SetColumns IDL: remove unknown fields
4601 Minor code convention fix
4603 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
4604 from segfault when invalid dcerpc response is received.
4606 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
4607 Requires investigation
4610 Implement GetIdFromLongTermId and GetLongTermIdFromId
4611 functions (ROP:0x43 and 0x44), and associated mapitest.
4613 Documentation typo fix.
4615 Change the QueryNamesFromIDs() call to match
4616 MSDN, including changing the name to QueryNamedProperties().
4618 Also implement mapitest for QueryNamedProperties(),
4619 GetNamesFromIDs() and GetIDsFromNames().
4621 Update torture test to match.
4625 - Build system update: use samba4-alpha5 release with wget method
4626 - introduce 'make samba' and 'make samba-git'
4630 Make sure we have names[] array large enough.
4632 Problem identified using default uno run.
4638 Fix a small errno bug in GetBestBody
4639 Add dump-data and debug options to exchange2mbox
4643 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
4644 - remove sed hack, modifications applied in samba4 trunk
4645 - update required samba4 git rev required
4652 Minor documentation update: remove deprecated reference to ./bin/smbpython
4654 Fix torture suite entry point name
4655 Fix torture module installation path
4657 - Add implementation for the BestBody algorithm
4658 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
4659 - Remove trailing }}\0 from lzfu code
4660 - Update openchange tools to use GetBestBody rather than
4661 the initial check on PR_MSG_EDITOR_FORMAT
4663 Add a very basic stat module for mapitest: gives a quick overview
4664 of tests which failed at the end of the report.
4666 - Defines a global stream size in mapitest.h
4667 - Decrease stream size from 0x4000 to 0x3000
4668 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
4673 Fix OC_CHECK_SAMBA_VERSION string
4675 - Move samba4_ver.sh from top dir to script
4676 - update parts of openchange relying on samba4_ver.sh
4678 Add configure check for lib Z
4681 - Temporary fix ldb.pc problem and patch ldb.pc.in
4682 - Update samba4 version to the latest revision
4683 - Add libmapiproxy to svn:ignore proplist
4686 Try a different git revision, just for now.
4690 - Update Samba4 version needed
4691 - Change entry point function from init_module to samba_init_module
4692 - update documentation
4696 Fix calls of ldb_init() as required by newer versions of Samba.
4700 Support newer versions of Samba4.
4704 Add some other standard GUIDs
4712 Use version and soversion in mapiproxy library.
4714 Make modules directory overridable.
4718 Change API as identified on devel mailing list.
4721 After some investigation into an error reported by valgrind, I'm proposing an
4722 API change for the MoveCopyMessages() function.
4724 The signature is currently
4725 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
4726 *obj_dst, mapi_id_t *message_id, bool WantCopy)
4728 The problem is the message_id array. The subtle part is that it needs to be
4729 terminated with a null mapi_id_t*, because of this:
4730 for (request.count = 0; message_id[request.count]; request.count++);
4732 That is a bit error prone - enough so to be wrong in the mapitest.
4734 Now we could just fix the mapitest and document the requirements, or we could
4735 change the signature.
4737 Two ideas for a different signature:
4738 1. We could add a uint16_t count to the signature, that says how long the
4740 2. We could use a better data structure than mapi_id_t*. I'm suggesting
4742 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
4743 mapi_object_t *obj_dst,
4744 mapi_id_array_t *message_id,
4749 Add mapitest coverage for CopyTo operations on
4750 folders and attachments, and update API docs.
4752 Also fix one place where we inadvertently used
4753 CopyProps instead of CopyTo...
4757 Typo fixes in comments.
4759 Minor documentation updates.
4761 Clean up created message for SpoolerLockMessage() test.
4765 Update samba4 version test.
4769 Make sure properties are copies into the last valid
4770 location in the extended array (i.e. count-1) not the
4773 Also, make sure we cast the data to a uint8_t for
4774 conversion to boolean.
4776 Also fix compile warning about returning integer instead
4779 We may read up to 0x1000 bytes, so ensure there is
4780 enough room to add the terminating null.
4782 Minor cleanup of the talloc context for FreeBookmark().
4784 Also change around some code to protect things a bit
4785 better against null pointer inputs.
4789 Implement a bit more mapitest for CopyTo (0x39), in
4792 Also make it clean up and report failures properly.
4796 Implement the CopyTo operation (0x39), including initial mapitest.
4797 JK previously committed the IDL for this.
4799 Also make CopyProps (0x67) use an appropriate data structure for
4800 its IDL and update implementation to match.
4804 Minor documentation updates/corrections.
4808 Introduce a default case for MAPI Restriction. In some circumstances -
4809 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
4810 property tag which value is set to 0xFF. However 0xFF doesn't match
4811 any restriction case.
4815 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
4817 - Add IDL for ReloadCachedInformation (0x10) MAPI call
4819 - Add IDL for CopyTo (0x39) MAPI call
4821 - Update the Samba4 GIT revision needed to run openchange properly
4823 - import mapiproxy project from mapiproxy branch
4824 - add custom proxypack MAPI call
4825 - remove deprecated dcesrv_exchange_remote
4828 Add missing part of mapitest for SetReadFlags
4830 This should have been part of r578.
4832 mapitest for SetReadFlags
4834 Implement SetReadFlags (operation 0x66).
4836 Also minor API docs fix.
4838 Move some test infrastructure from the oxctable.c module
4839 into the common area.
4841 Fix IDL error for SetReadFlags, and use existing flags
4842 define (MSGFLAGS_READ) instead of creating a new set.
4844 Build fix for relocation of mapiproxy/ to be under the
4845 top level directory (instead of under the utils/
4850 merge from mapiproxy branch:
4851 * ndr_push Logon_req manually
4853 merge from mapiproxy branch:
4854 * Add IDL and server boiler template for EcDoConnectEx (0xA)
4857 * Fix ndr_push_mapi_response code in ndr_mapi.c
4859 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
4860 ndr_mapi.c. Handles special Notify and Pending cases
4862 * Handle op_MAPI_Pending case properly in
4863 ndr_pull_EcDoRpc_MAPI_REPL
4865 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
4866 DATA_BLOB if there is no RowCount
4868 merge from mapiproxy branch:
4869 * Fix GetReceiveFolder [out] IDL
4870 * Fix some naming convention typo
4872 merge from mapiproxy branch:
4873 * Fix SetMessagReadFlag [out] IDL
4875 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
4876 perfect, but it will prevent mapiproxy from ndr_pull error while
4877 setting message read flag on public folders messages.
4879 merge from mapiproxy branch:
4880 * Fix CreateMessage [out] IDL
4882 merge from mapiproxy branch:
4883 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
4884 * rewrite OpenMessage [in] IDL and report changes in
4885 libmapi/IStoreFolder.c
4887 merge from mapiproxy branch:
4888 * Add IDL for Pending (0x6e) MAPI call
4889 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
4891 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
4893 merge from mapiproxy branch:
4894 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
4896 merge from mapiproxy branch:
4897 * Add IDL for SyncGetTransferState (0x82) MAPI call
4899 merge from mapiproxy branch:
4900 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
4902 Note: This IDL is temporary and should be improved after completion of
4903 the merging process.
4905 merge from mapiproxy branch:
4906 * Add IDL for SyncOpenCollector (0x7e) MAPI call
4908 merge from mapiproxy branch:
4909 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
4911 merge from mapiproxy branch:
4912 * Add IDL for SyncImportMessageMove (0x78) MAPI call
4914 merge from mapiproxy branch:
4915 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
4916 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
4917 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
4919 merge from mapiproxy branch:
4920 * Add IDL for SyncImportDeletes (0x74) MAPI call
4922 merge from mapiproxy branch:
4923 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
4925 merge from mapiproxy branch:
4926 * Add IDL for SyncImportMessageChange (0x72) MAPI call
4928 merge from mapiproxy branch:
4929 * Add IDL for SyncConfigure (0x70) MAPI call
4931 merge from mapiproxy branch:
4932 * Add IDL for RegisterOptions (0x6f) MAPI call
4934 Note: This call is undocumented in Microsoft documentation, but MSDN
4935 RegisterOptions function generates this call on the wire.
4937 merge from mapiproxy branch:
4938 * Add IDL for Progress (0x50) MAPI call
4940 merge from mapiproxy branch:
4941 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
4943 merge from mapiproxy branch:
4944 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
4945 * Add IDL for GetPerUserGuid (0x61) MAPI call
4946 * Add IDL for ReadPerUserInformation (0x63) MAPI call
4948 merge from mapiproxy branch:
4949 * Add IDL for LongTermIdFromId (0x43) MAPI call
4950 * Add IDL for IdFromLongTermId (0x44) MAPI call
4952 merge from mapiproxy branch:
4953 * Add IDL for ModifyRules (0x41) MAPI call
4955 merge from mapiproxy branch:
4956 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
4958 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
4960 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
4961 work around the no-pointer deep recursion pb and remove
4962 existing nopull,nopush,noprint code from ndr_mapi.c
4964 * Fix mapi_SComment_Restriction IDL
4967 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
4968 - use mapi_LPWSTR for PT_MV_UNICODE
4969 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
4970 change its field names.
4972 - Fix emsmdb version
4973 - Change MAPI opnum enum identation -- Helps to fine down merging from
4979 Minor API documentation fixes.
4981 Update label to reflect SetReadFlags -> SetMessageReadFlag
4984 This should have been part of r529 - missed it.
4988 merging from mapiproxy branch:
4989 - Fix MV_UNICODE_STRUCT and unicode strings
4990 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
4991 mapi_LPWSTR for exchange_emsmdb
4992 - Add the NspiGetTemplateInfo IDL
4993 - Fix the NspiUpdateStat IDL
4995 Fix build: SetMessageReadFlag function name was not propagated in the
4999 Initial merge of changes for rename of SetReadFlags to
5000 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
5003 Use private_data instead of private, for C++ happiness.
5005 Minor cleanup. Using "try" confuses my c++ compiler...
5007 This is really part of r525. It moved to IMAPITable.c
5009 Update the table operations:
5010 - implement ExpandRow and CollapseRow
5011 - implement GetCollapseState and SetCollapseState
5012 - add mapitest coverage for the above, plus the Restrict call
5013 - implement ResetTable
5014 - implement FreeBookmark
5015 - add mapitest coverage for SRowSet parsing code
5017 - various API documentation bits
5020 Use right directory for samba4_ver.sh script.
5022 Use common location for Samba 4 git revision.
5026 Use PT_ERROR where appropriate.
5028 Update the SRowSet parser, fixing breakage I introduced.
5032 Update examples to reflect recent API changes.
5035 Don't rely on absolute file paths since the distribution may be installing
5038 make scripts executable.
5042 Avoid segfaulting if you ask for a specific test or tests and
5043 forgot to start the server.
5046 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
5047 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
5048 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
5049 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
5050 #############################[mapitest report]#################################
5051 [*] Date : Sun May 25 11:45:29 2008
5052 [*] Confidential mode : [no]
5053 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
5054 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
5056 [*] System Information :
5058 Kernel release : 2.6.23.17-88.fc7
5060 ###############################################################################
5064 [TEST] NOSERVER-LZFU
5065 ------------------------------------------------------------------------
5066 * uncompress_rtf2 : 0x00000000
5067 * uncompress_rtf2 : PASSED
5068 ------------------------------------------------------------------------
5069 [RESULT] NOSERVER-LZFU: [SUCCESS]
5070 ========================================================================
5072 [*] OXCTABLE-RESTRICT
5073 Server is offline, skipping test: "OXCTABLE-RESTRICT"
5074 [*] OXCTABLE-CATEGORY
5075 Server is offline, skipping test: "OXCTABLE-CATEGORY"
5079 ignores objects that contain invalid handlers in mapi_object_release().
5081 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
5085 Fix API documentation to match signature.
5089 Update QueryRows IDL and implementation to match
5092 The main work here is reworking the SRowSet parsing
5097 Typo fix - allow cleanup to work properly.
5101 Make sure it has a return value.
5105 Rename GetColumns remote operation to GetColumnsAll, and
5106 fix up IDL and implementation to match.
5108 Add some more unit test coverage, and pretty-up the
5111 Fix up breakage introduced in r493.
5114 Make sure nagios directory gets created if it didn't exist yet.
5118 Refactor the unit tests.
5120 Extract out the setup and some of the cleanup code.
5124 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
5125 - Use event_context structure
5126 - update installsamba4.sh script to revert to this revision.
5127 - update torture modulesdir reference
5130 Look a little bit harder for the Samba installation.
5134 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
5135 - Add OXCFXICS mapitest module
5139 - Fix "the very secret" openchange coding style
5140 - Add Copyright for our humble new libmapi developer ;-)
5143 Implement the CopyProperties operation, including
5144 a mapitest for this.
5148 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
5149 code maybe needs some review regarding memory.
5151 - Add the GetTransportFolder MAPI call (IDL + implementation +
5154 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
5156 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
5158 - Add GetRulesTable (IDL + implementation + mapitest)
5159 - Add the OXORULE mapitest suite
5165 Make sure config.mk is the last file removed during distclean.
5169 - Add the Abort MAPI call (IDL + implementation)
5171 OpenChange doesn't support yet asynchronous operation which explains
5172 why no associated mapitest test has been implemented. This should be
5175 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
5176 - Fix some typo in mapitest doxygen
5178 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
5179 - Fix some doxygen stuff
5180 - add a common function within mapitest which looks for a folder name
5181 within a container and return the opened folder object on success.
5183 Add auto-generated Doxyfile to the svn ignore list
5185 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
5187 - Uninitialize MAPI and general memory context at the end of mapitest
5190 Clean up / flush the stream after use.
5192 Saves a bit more "still reachable" in valgrind too.
5196 - Rename CopyMessages to MoveCopyMessages
5197 - Improve IDL + implementation and mapitest added
5200 Make sure the version shown for mapitest documentation
5201 is automatically set to match the package version.
5203 complete the rest of the API documentation autonumbering.
5206 Remove duplicate use of $(SHLIBEXT).
5208 Avoid parallel builds for now.
5212 Fix GetContentsTable binding in perl swig
5214 - Improve the GetHierarchyTable and GetContentsTable IDL and public
5215 IDL implementation (new parameters in,out)
5218 Initial part of automatic list numbering for doxygen comments.
5220 This doesn't work correctly with the current apidocs.css, which
5221 turns the list numbers into bullet points for reasons I don't
5226 - Improve the DeleteMessages IDL request
5228 - Update libmapi version from 0.7 to 0.8
5230 - Public API change for the GetReceiveFolder function; now takes a
5231 message class as 3rd parameter.
5233 - Improve GetSearchCriteria request IDL (unknown removed)
5234 - update libmapi copyright headers 2007 -> 2007-2008.
5236 - Improve the SubmitMessage IDL
5237 - minor indentation fixed in IMessage.c
5239 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
5241 - Add SeekStream MAPI call (IDL + implementation + mapitest)
5242 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
5244 - Add CommitStream MAPI call (IDL + implementation + mapitest)
5245 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
5246 - refactor the stream test to include all stream related operations
5247 - add a common function which generates a random ASCII blob of data
5250 Add doxygen support for the mapitest examples.
5253 Allow cleaning individual parts.
5257 - Add GetStatus call (IDL + implementation + mapitest)
5259 - Fix format string problem in mapitest headers
5261 Run offline suites by default.
5263 - Introduce the online/offline mode for suite
5264 - Fix Exchange headers print bug when server is offline
5265 - reset errno to 0 before running new test
5268 Install the libmapiadmin.h header.
5270 Fix a compile-time warning on amd64, for the second
5271 argument to the getline() call - incompatible pointer
5274 I'm assuming that size_t is equivalent to uint32_t
5275 on a 32-bit architecture, but not on a 64-bit arch.
5277 A quick test showed no difference in actual output.
5280 Remove bashisms in installsamba4.sh
5284 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
5285 - Improve some ModifyRecipients and Recipients structure naming
5289 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
5291 - Add OpenPublicFolderByName call added (IDL and implementation).
5293 - Note: the reply IDL doesn't handle Server and ServerCount yet.
5295 - Note: this call only refers to NNTP folders (e.g: folders located
5296 within "Internet Newsgroups". If developers use this call within "All
5297 Public Folders", then the call with return MAPI_E_NOT_FOUND.
5299 - Call not added to mapitest cause it require RightsAuthor permissions
5300 on Internet Newsgroups which is not the case by default.
5302 - dump-data and debug options added to mapitest
5303 - FOLDER suite renamed to OXCFOLD (naming convention)
5305 Rename module folder to oxcfold
5307 Replace the existing mapitest tool with a new implementation. It is
5308 less complete but more modular.
5311 Add proto headers to ignore file.
5315 OpenFolder request: replace unknown field with OpenModeFlags
5317 - Rename 0xFE opnum from OpenMsgStore to Logon
5318 - Update the Logon request IDL
5321 Add BEGIN_DECLS for private_proto.h.
5323 Add forgotten part of rev435.
5325 Add unit test framework for compressed RTF decoding.
5327 Refactor lzfu.c to improve testability.
5331 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
5332 to some incorrect sanity check tests.
5334 - Remove deprecated fuzzer_msgstore torture test
5335 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
5339 A couple of minor fixes to make it read better.
5342 properly clean up sofiles
5344 Import exchange nagios check script by Bill Edmunds.
5346 Add support for creating libocpf soname symlink.
5348 Use standard include for uint64_t definition.
5350 Cleanup talloc and tdb before building samba4.
5354 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
5356 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
5357 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
5359 Add reference to the ocpf lib within the pc file.
5363 Remove duplicate SWIG instructions (already covered by stdint.i).
5365 Ignore files created by swig.
5367 Use config.mk in swig/perl/Makefile.
5369 Allow sambaprefix and prefix to be different. Allow building with unknown
5370 Samba git revisions (will still warn though).
5372 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
5376 Add domain to the mapiprofile dump output.
5378 Fix OpenMessage IDL and GetRecipientTable fetched data
5380 -This line, and those below, will be ignored--
5383 M trunk/exchange.idl
5384 M trunk/libmapi/IStoreFolder.c
5385 M trunk/libmapi/emsmdb.c
5386 M trunk/libmapi/IMessage.c
5390 Fix typo, change samba-config -> samba-hostconfig.
5394 - Add openchangepfadmin to make install
5395 - Add openchangemapidump and locale_codepage to make clean
5399 Merge the samba4-latest branch.
5403 Revert so version number to 0.7
5405 Fix Perl bindings: update mapidump_message
5407 ** Start libmapi-0.8 ROMULUS development **
5409 Add ChangeLog and apidocs to the releases
5411 - Delete unmaintained regression suite
5412 - Fix typo error in torture-clean rule
5414 Add modified release script originally from abartlett/samba4
5416 - Check for specific Samba4 git revision in configure.ac
5417 - Prefix locale functions with lcid and make them _PUBLIC_
5420 API documentation update.
5427 Add installation script for samba4
5429 - Apply the nspi pointer patch - make openchange works with
5430 samba4-alpha3 git 41309dc
5435 Move the top level API documentation to an "overview"
5436 section and add a redirect to that overview.
5438 This keeps the doxygen output more nicely separated for
5441 Also, generate the man pages where the install expects
5446 - Fix strsep bug in openchangeclient
5447 - Add RECIPIENT support to libocpf
5449 - escape/unescape strings support added
5450 - PT_MV_STRING8 type added to OCPF write API
5454 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
5455 (based upon patch from lofi@mountproc.org)
5456 - makes the workstation parameter of mapiprofile optional (use
5457 gethostname if not defined by the user on command line)
5459 - Fix an allocation memory problem in cast_SPropValue
5460 - update svn:ignore proplist
5464 Update the documentation build so it keeps generating an embedded
5465 website in with apidocs/html as root directory.
5467 - Add support for PT_UNICODE and PT_SHORT to libocpf
5468 - Initial implementation of the libocpf write API
5469 - Update libocpf documentation
5470 - add --ocpf-dump option in openchangeclient
5471 - Fix realdistclean rules for server
5472 - add cast_SPropValue function to libmapi/property.c which cast
5473 mapi_SPropValue to SPropValue
5476 Split API documentation into two separate sections - one
5477 for libmapi and one for libocpf.
5479 Also add in a top level intro page.
5483 New build system which gathers a list of things that can be built with
5484 the libraries/utilities the user has installed and build that when
5489 Add missing allocation for OLEGUID
5491 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
5492 makes ocpf-syntax "exclusive" (quit after performing the operation).
5495 r371 was bad. What was I thinking with that nonsense!
5497 Revert to something sane.
5499 Make the ./bin/ directory if it doesn't exist.
5501 This should resolve ticket #33.
5505 Improve language handling when creating profiles.
5507 You can now get a list of valid languages and use either
5508 the language code ID or the language name to specify what
5509 language later versions of Exchange should reply with.
5511 Typo fix - duplicate ; at the end of the structure.
5513 Match format to unsigned int argument.
5515 Make the format specifier match the unsigned argument.
5519 propset svn:ignore update
5521 Update propset svn:ignore on doc/examples and libocpf targets
5523 - Fix ticket #29: http://trac.openchange.org/ticket/29
5525 - use access(2) to see if the database already exists
5526 - test if the profile already exists prior trying to add it
5527 - add descriptive error messages
5528 - catch CTRL-C signal and run a profile deletion routine
5531 Update API documentation for ocpf_nproperty_add().
5537 Fix mapidump_message call parameters
5541 Add fid/mid parameters to mapidump_message and changed
5542 openchangeclient_fetchitems to reflect these changes.
5544 Patch from Brad Hards <bradh@frogmouth.net>:
5545 updates the OCPF doxygen file.
5547 Patch from Brad Hards <bradh@frogmouth.net>:
5548 adds the doc/examples into the build system and enables make examples.
5550 Patch From Brad Hards, <bradh@frogmouth.net>:
5551 API documentation update and minor fix for the error value change.
5559 - Add PT_BINARY property support to OCP
5560 - Add stream support to OCPF for large PT_BINARY blobs.
5561 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
5566 - Prevent from assigning a value which type doesn't match with
5568 - Add missing substitution variable support for some named properties
5570 - Improve sample_appointment.ocpf example
5571 - Add PT_MV_STRING8 keyword to the list of supported property type
5576 Improve OCPF PT_MV_STRING8 support.
5578 - Initial revision for libocpf and its documentation
5579 - YACC support added to the build system
5580 - custom lid and string support in mapi_nameid
5581 - lookup functions added for OOM, lid and string
5582 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
5584 - PR_FID displayed in openchangeclient --mailbox
5585 - PT_MV_STRING8 support added to cast_mapi_SPropValue
5589 Patch from Brad Hards <bradh@frogmouth.net>:
5590 updates code to build with current API
5592 Patch from Brad Hards <bradh@frogmouth.net>:
5593 little update for some API dox
5597 - Add --update option to openchangeclient and allow users to modify
5598 existing messages (calendar, task, contact, note)
5599 - Add --delete option to openchangeclient and allow users to delete
5600 existing messages (calendar, task, contact, note)
5601 - Add some folder/message unique ID to mapidump outputs and send*
5602 openchangeclient functions.
5603 - Fix a bug in set_SPropValue: add sanity check on unicode
5604 string. Thanks to Suman Manjunath for this patch.
5605 - Fix mapidump_task function and identifiers of named properties used.
5609 Fix missing sanity check on priority
5611 Fix a bug in openchangeclient when tasks are created without body
5613 private flag added to openchangeclient appointments
5615 Fix folder IDs problem for Exchange 2007 SP1
5619 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
5623 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
5624 GetRecipientTable. We were extending SPropTagArray prior calling
5625 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
5626 and erroneous data to be inserted in the SRow.
5628 - Fix libmapi/socket/interface.c:
5629 - Use the latest version from Samba4 which removes reference to
5631 - Moves struct interface declaration to netif.h
5632 - Report changes to emsmdb.c notification functions.
5634 - Change GetGALTable prototype to match general libmapi policy. Remove
5635 the usage of bool and replace it with uint8_t. Possible values added
5640 - Improve NspiQueryRows IDL and implementation
5641 - Add GetGALTable implementation: fetch all the Global Address List
5643 - Add --userlist option to openchangeclient
5644 - Add a convenient and basic dumping function for Global Address List
5647 - Improve OpenMessage reply IDL
5648 - Fetch mapi recipients from OpenMessage reply
5649 - Add GetRecipientTable convenient function
5650 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
5651 GetRecipientTable implementation.
5652 - Add convenient SPropTagArray_add function
5653 - Add internal emsmdb_get_SRow routine
5657 Patch from Suman Manjunath <msuman@novell.com>:
5659 - Adds named-properties which define recurrence patterns for
5660 appointment and task.
5661 - Adds named properties for appointment timezone
5663 - Fix the SNotRestriction IDL and write custom push,pull,print
5665 - Add 2 new MAPI calls to the IDL:
5666 * GetSearchCriteria,
5668 - add sample {Get,Set}SearchCriteria torture test
5669 - add convenient mapi_id_array implementation
5670 - add GetDefaultFolder support for CommonView and Finder folders
5674 Make sure directory exists.
5678 - Fix tiny 'nail down samba4 version' bug
5679 - update the minimal Samba4 required version
5681 - Add FindRow call to the IDL
5682 - Improve mapi_Restriction support
5683 - Remove deprecated ndr_print_QueryRows function
5684 - Add a print function for fuzzyLevel
5685 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
5687 - Add couple of new MAPI tags to mapi-properties
5688 - change initial bookmark index to 3
5692 - Add 2 new MAPI calls to the IDL and mapitest:
5694 * GetReceiveFolderTable
5696 - Fix a bug in the SortTable test when no messages are returned by
5699 - Add SeekRowApprox to the IDL and mapitest
5700 - Fix some doxygen typo
5702 - New calls added to the IDL, torture suite and mapitest:
5705 - Internal mapi_object_bookmark_t implementation added to
5707 - SBinary_short default ndr_print function changed to custom
5711 Temporary fixes unexpected segfault in SortTable test. Emails sent
5712 during the Submit test have sometimes not yet been dispatched when the
5713 SortTable test begins. This fix adds a sleep(1) and an arbitrary
5714 number of attempts (5).
5716 Add 2 new MAPI calls to the IDL and libmapi:
5720 Tests for SortTable added to mapitest and the torture suite
5721 Test for AddressTypes added to mapitest.
5725 Fix perl bindings and fetchmail test
5727 2 new MAPI call added to the IDL and mapitest:
5733 - Add DeleteAttach MAPI call
5734 - Add new mapi unit tests:
5738 * GetAttachmentTable
5740 - Update mapitest README
5741 - Add some convenient functions to mapitest_common.c
5745 Add a preliminary draft of the mapitest standalone MAPI test suite.
5751 - Fix the build with the latest Samba4 version.
5753 - Add a basic libmapi/version.h auto-generated
5754 file (based on Samba4 one)
5755 - Remove some warnings when compiling the utf8
5757 - Add a emsmdb_info structure to fetch some
5758 information from the Exchange server
5760 WARNING: Please note that EMSABP is definitely broken and
5761 requires a review and update.
5764 DESTDIR should never get into any source files, that would defeat its purpose.
5768 Fix the torture suite.
5772 provide extra required argument.
5774 Store a loadparm context in the global mapi context.
5776 Deal with samba version.h's that don't contain the Subversion revision.
5780 Use SWIG-provided typemaps for stdint.
5784 Fix Content-Type field in exchange2mbox
5785 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
5789 - Improve the CreateMessage IDL
5790 - Add new parameters to IMAPIFolder CreateMessage libmapi function
5791 - Add --mkdir --rmdir options to openchangeclient
5792 - Update the CreateFolder API and openchangeclient documentation
5793 - Fix CreateFolder calls in openchange tools and torture suite
5794 - Fix gendb_search warning
5798 Add new PSETID_Address named properties
5800 Fix a few code convention typos
5802 Patch from Suman Manjunath <msuman@novell.com> applied:
5803 converts a 'struct timeval' to 'NTTIME'.
5804 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
5808 update Samba4 first revision to 26100
5811 Cope with ndr updates.
5815 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
5819 Fix profile creation in a clustered Exchange 2007 environment.
5823 Fix QueryColumns req size.
5827 ** Start libmapi-0.7 PHASER development **
5829 add --dump-data option to mapiprofile for debugging purpose
5833 openchangepfadmin (1) man page added
5835 Store messageID in the object when SaveChangesMessage is called
5837 Nail down Samba4 version for libmapi-0.6
5841 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
5842 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
5843 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
5844 - Fix a typo bug in openchangeclient body help string
5846 Update doxygen section
5850 - Add doxygen man (3) pages to installman and uninstallman rules
5851 - do not run doxygen if apidocs already exists
5855 Move documentation to doxygen
5859 Add convenient date related functions for implementors:
5860 returns a timeval struct matching a PT_SYSTIME property
5861 for improved date manipulation in 3rd party softwares
5865 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
5867 Fix make realdistclean when swig perl is enabled
5869 Fix swig perl bindins compilation: move *.o to *.po
5871 use talloc_memdup to copy const data in the body DATA_BLOB
5872 Should only provide valid pointer to talloc_free
5876 Fix the DeleteMessages [out] IDL.
5878 The remaining bytes were not part of DeleteMessages but
5879 MAPI notification (0x2a)
5883 - Add RTF support in exchange2mbox
5884 - Use openchange-tools public functions
5885 - Replace GetPropsAll calls with GetProps
5888 * Use GetProps rather than GetPropsAll for message dump
5889 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
5890 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
5892 -This line, and those below, will be ignored--
5895 A trunk/utils/openchange-tools.c
5896 M trunk/utils/openchangeclient.c
5897 M trunk/utils/openchange-tools.h
5898 M trunk/utils/openchangeclient.h
5899 M trunk/libmapi/mapidefs.h
5907 Remove useless svn:ignore
5910 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
5912 Original lzfu decompress routine fetched from libpst-0.5.2
5914 make enum MAPISTATUS variables naming uniform in libmapi
5918 Add PT_CLSID case to get_SPropValue_data
5920 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
5922 Patch from Brad Hards <bradh@frogmouth.net>:
5923 Fix compilation for x86_64 platforms.
5927 More svn:ignore updates
5929 Update of svn:ignore
5933 added the IDL license
5935 Convert OpenChange to GPLv3
5937 - Add .po files to make clean
5938 - Fix a couple of warnings in the utf8 conversion lexer
5939 - Prefer long filenames to truncated one for attachments in openchangeclient
5943 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
5945 Add PT_CLSID and PT_MV_CLSID support to the IDL
5947 - Add new named properties
5948 - Convenient function for MNID_STRING props lookup added
5951 Make .po a recognized suffix.
5955 Use -fPIC for library objects.
5959 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
5960 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
5962 - add mapi_nameid convenient interface and headers
5963 - mapi-named-properties populated, parser added to mparse.pl, file
5964 added to the build system
5966 - remove any incorrect reference to named properties in openchange
5969 - remove deprecated libmapi/mapi.h file
5970 - remove unused ulFlag parameter from IProfAdmin functions
5971 - remove unused memory context from libmapi/x500.c
5973 - support sendnote operation in openchangeclient
5974 - optimize check/list oc_element functions in openchangeclient
5976 - update swig interface
5980 - New MAPI calls: Named properties support
5983 * GetAllNamesFromIDs
5985 - Modified MAPI calls:
5988 These calls now have more granularity in libmapi with flags support
5990 - sample mapi-named-properties file introduced in libmapi/conf
5992 - Torture test suite:
5993 * suite temporary fixed (import torture_rpc_* functions from
5995 * torture_namedprops test added
5997 - SWIG Perl bindings fixed according to changes described above
5998 - minor improvements in libmapi/mapidump.c
6002 - Decrease MAX_READ_SIZE to 0x1000
6003 - Clean-up Read/WritreStream related code
6004 - add dump-data option to openchangepfadmin (debugging purpose)
6009 - remove reference to core/nterr.h
6010 - add global_loadparm reference where missing
6011 - add reference to core/error.h where needed
6014 Improve output during build.
6018 Pass loadparm contexts, should fix the build with newer Samba revisions.
6022 - WriteStream API changed: now returns the number of bytes written
6023 - WriteStream man page updated
6024 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
6025 - Set open mode to 0600 when attachments are stored on the filesystem
6030 Fix preliminary Perl bindings so it works with Samba4 alpha2
6031 and latest libmapi revision.
6033 Patch from Andrew Gaylard <ag@computer.org>:
6035 - When calling openchangeclient with the --dump-data switch, it will
6036 dump core, since the global_mapi_ctx pointer isn't initialised yet.
6037 The fix is to wait until it's set before accessing it.
6039 Patch from Andrew Gaylard <ag@computer.org>:
6040 - Leaving any blank lines before .TH directives appears to cause a blank page
6041 to be output when converting man pages to DVI files (which is a step to converting
6042 them to PDF). The following patch remove the blank line above the .TH in each man page file.
6044 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
6049 - Add objectClass to the object: container, message or attachment
6050 - Rename content to message in openchangebackup functions
6051 - add objectClass parameter to ocb_record_init
6055 - Move debug options to their correct location (after MAPIInitialize)
6056 - Improve code related to LDB transactions
6057 - Add convenient error checking macros
6061 - Add preliminary openchangemapidump draft
6062 - Fix lp_parm_* 1st parameter in the torture suite
6063 - New functions in property.c for MAPI data retrieval
6067 Use configure definition for mandir.
6071 Activate debugs this time
6073 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
6075 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
6077 Add error check for samr call.
6078 set errno with MAPI_RETVAL_IF.
6082 Make required packaged more clear (LinuxMagazin input)
6086 Remove invalid comment.
6090 - Clean-up function prototypes
6091 - Dump email when NEWMAIL notification is received
6095 Proper dependencies.
6097 Don't regenerate proto headers unless necessary.
6101 Use install for installing files/directories.
6103 Actually use replacement variable for libmagic.
6107 Remove forgotten BOOL
6109 Remove mapi_session pointer in mapi_objects
6110 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
6114 Prevent users from creation of *undeletable* folders in Outlook and
6115 perform sanity check on dirclass + display possible values.
6117 Provides a way to modify Default and Anonymous permissions for a given folder.
6119 Fix errno in getdir function + add sanity check on opt_rmdir
6121 - Fix a memory related bug in mapiadmin_add_user
6122 - Add latest howto.txt modifications from Dan
6124 - Fix bug in *UserPermission function: return when user is not found
6125 - Add sanity checks to mapi_object API functions
6126 - mapi_object_release reset errno to 0: need to release object
6127 after displaying the potential error message.
6129 Fix a mapidump_appointment bug
6130 Add PF folder support to fetch-items operation
6134 openchangeclient now support send/read/delete operation on custom PF directories.
6136 - Add libmapiadmin library draft: Add/Remove Exchange user
6137 - openchangepfadmin tool added: Public Folders management
6138 - Add Sanity check to CreateFolder
6143 Fix last references to BOOL, True and False.
6145 Fix more references to BOOL, False and True.
6147 Use standard type and values for booleans since Samba no longer exports
6148 BOOL, True and False.
6152 - Add OpenPublicFolder function to libmapi, Open Public Folder store
6153 - change torture suite API to match latest Samba4 pidl changes
6154 - utf8_convert regexp improved
6155 - minor changes: printf to DEBUG
6156 - howto.txt patch from Dan included
6157 - Samba4 torture code related to user account creation included in the
6162 Fix segmentation fault when running update prior populating the database.
6166 Remove obsolete file from the torture suite
6168 - Add Exchange Administration test to the torture suite: Create Exchange user
6170 Dan update on howto.txt
6174 - Add Exchange ACLs support to MAPI library
6175 - Add 2 new MAPI opnum: GetTable and ModifyTable
6176 - Improve mapidump functions
6180 - Improve aclocal check in autogen.sh
6181 - Fix flex binary detection in configure.ac
6189 Create libmapi.so symlink
6193 Fix mandir installation path
6194 Add ldconfig intructions to openchange installation documentation
6200 RES_AND and RES_OR preliminary implementation.
6204 - doc patch from Brad Hards
6205 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
6206 - fix a warning in property.c
6210 Add some 'const' (fixes compile warnings).
6212 Use sonames (required for the Debian packages).
6214 Add .bzrignore file.
6216 Update version number and use globally defined version number in libmapi.pc.
6220 - Add IDL implementation for restrictions Content, Property,
6221 CompareProps, Bitmask, Size, Exist.
6222 - Add Restrict MAPI call handling the restrictions above
6223 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
6224 - convenient sendmail function added to mapi_common.c
6225 - get property size function for mapi_SPropValue added to property.c
6227 test --This line, and those below, will be ignored--
6231 M torture/openchange.c
6232 A torture/mapi_restrictions.c
6233 M torture/mapi_common.c
6234 M libmapi/property.c
6235 M libmapi/IMAPITable.c
6239 Documentation update: Perl bindings installation
6243 - Add mapitags and mapicode support to Perl SWIG bindings
6244 - SPropTagArray support
6245 - SRowSet preliminary support
6246 - new constructor/destructor for mapi objects
6250 - IProfAdmin patch applied: having password outside of the profile
6252 - Perl bindings draft added to the trunk and to the build system:
6253 --enable-swig-perl=yes
6255 - datarootdir fixed in libmapi.pc.in
6259 - Add CopyMessages IDL and COPYMAIL torture implementation
6260 - Fix man page install dir according to latest Samba4 changes
6261 - Add datarootdir var to libmapi.pc.in and fix configure warning
6265 convenient function which retrieve a value from a SPropValue array
6266 given its property tag name, otherwise NULL
6270 Patch from Brad Hards <bradh@frogmouth.net>:
6271 openchangeclient man page updated
6273 - Add Windows UTF8 to classic UTF8 conversion through a lexer
6274 - openchangeclient --mailbox option changed to use it
6275 - flex and bison support added to configure.ac
6276 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
6280 - features added to openchangeclient:
6281 * --send-appointment
6285 - openchangeclient man page updated
6286 - new properties added to mapi-properties
6288 - Add man pages for simple_mapi.c functions:
6290 * GetFolderItemsCount
6292 - Remove deprecated functions from IMsgStore.c
6293 - Update man pages documentation
6295 Fix install rule in Makefile: add missing headers
6296 Move callback retval from uint32_t to int
6298 Fix notification callback retval
6300 - Advise opnum added to the IDL
6301 - Parts of the Notify response IDL implementation
6302 - Add Notification support to libmapi
6303 - Add --notifications option to openchangeclient
6307 Patch from Brad Hards <bradh@frogmouth.net>:
6308 - PR_BUSINESS_FAX_NUMBER
6309 - improves the information provided on a contact by
6314 - Fix the release call in,out
6315 - Call Release from mapi_release_object
6316 - Add sanity check to OpenMsgStore
6317 - clean up parts of the mapi_newmail test
6319 EcDoDisconnect code now sounds to work properly
6320 Tested against Exchange 2000 / Exchange 2003
6322 - Fix SpropValue property pull problem when GetProps layout is set
6323 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
6324 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
6325 - Add debuglevel and dumpdata options support to openchangeclient
6329 - Remove useless memory allocation in mapidump.c
6330 - Improve mapidump_appointment
6331 - Add sample mapidump_note
6332 - Add --fetchitems option to openchangeclient:
6333 This command offers an easy way to fetch calendar, contacts,
6334 tasks, notes and mails from the Exchange server.
6335 - Add IPF container class defines to mapidefs.h
6336 - Add and Fix property tags
6340 - Commit the EcDoRpc max_data patch proposed on the devel list
6341 - Clean up folders related functions from the torture suite
6342 (GetDefaultFolder makes this code obsolete)
6346 Add the --mailbox option to openchangeclient which recursively
6347 lists the full mailbox folder hierarchy
6349 - Add PT_SYSTTIME support to get_SPropValue_data
6350 - Add mapidump_SPropValue_date dumping function
6351 - Add PT_SYSTIME support to mapidump_SPropValue
6353 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
6356 - Add GetDefaultFolder implementation to simple_mapi.c. This function
6357 provides a convenient way to retrieve default folders ID. const
6358 olFolder values are stored in libmapi/mapidefs.h
6360 - Modify the torture test suite to reflect these changes.
6362 - OpenMsgStore now decodes all the fid returned in the response
6364 - fix a bug size in libmapi/property.c
6368 - Fix SMTP recipient in libmapi
6369 - Add SMTP recipient support to openchangeclient
6370 and the torture test suite
6371 - Fix a bug in SRow_addprop
6375 - OpenMessage IDL changed: we have a permission field.
6376 It is now set by default to 0x3 (read/write) until we
6377 change OpenMessage prototype.
6379 - Add a sanity check to MAPIInitialize when no profdb
6384 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
6386 - SetReadFlags IDL and implementation added to libmapi
6387 - Warning fixed in emsabp.h
6389 Fix a bug in openchangeclient when attachments are using
6390 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
6391 attachment filename.
6393 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
6394 private structure member to private_data for C++ compatibility.
6396 Add libmapi/simple_mapi.c designed to hold convenient
6397 functions for application development.
6399 - GetFolderItemsCount added which returns the number of
6400 total and unread messages for a given folder.
6404 - Fix a body openchangeclient bug which now prevent openchangeclient
6405 from segfault when no body is specified.
6406 - Add GetDefaultProfile call to exchange2mbox for the default
6408 - Improve fuzzer_msgtore output
6412 Add a fuzzer torture test on OpenMsgStore which
6413 test all the possible max_data value.
6415 Should help to understand if libmapi fails because
6420 exchange2mbox improved:
6421 - tdb dependency removed
6422 - message-id are now stored in the profile database
6423 - it now mirrors deletion operation from the mbox file back to the
6425 - man page updated to reflect these changes
6427 - GetProfileAttr function prototype modified. It now returns the
6428 results count for the given attribute and store values in a string
6430 - GetProfileAttr man page updated to reflect these changes
6431 - Fix mapiprofile attribute search command
6432 - migrate from open/write calls to stream ones in exchange2mbox
6435 newmail torture + notifications implementation
6441 Fix the SambaXP live demo segfault: When an ambiguous recipient is
6442 specified, it now skips the name properly and maintain a correct
6445 - Fix a bug when storing attachments into mbox
6446 - Add default path support to exchange2mbox
6450 - Update libmapi version according to the roadmap
6451 - Fix nspi_resolvenames to use default profile database and profile
6455 - Add default profile database and profile support in the torture suite.
6456 - Fix a bug in mapidump_task
6460 - Change MAPILogonEx to MAPILogonProvider and avoid potential
6461 emsmdb endpoint related problem
6462 - add sanity check on global session pointer
6466 Merged MAILOOK-branch changes r64:163 into the trunk.
6470 Remove ChangeLog, use svn log instead ;p
6474 - libmapi includes moved from libmapi/include to libmapi
6475 - Remove arguments from prototype definitions generation in mkproto.pl
6476 - __BEGIN_DECLS __END_DECLS support in header files
6477 - united libmapi/libmapi.h header file
6478 - openchange.h header removed
6479 - PIDL generated files moved to gen_ndr
6480 - compilation rule for libmapi header installation added
6481 - useless torture tests removed
6487 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
6488 Add GetAttachmentTable call
6494 Remove -Werror CFLAGS until I figure out how to fix
6495 our problem definitively.
6497 Remove static from dcesrv_exchange.c functions definition
6502 . reimplement GetProps
6503 . retrieve attachment size
6504 . modify fetchmail and fetchattach torture
6509 . add GetPropList to exchange.idl
6510 . add GetPropList implementation to IMAPIProp.c
6513 - Add fetchattach torture; Attachment size is not yet
6514 defined and 42 is used.
6515 - add 3 new EcDoRpc opnums:
6524 Forgot to add IMAPISession.c
6530 Remove spurious warnings at compile time and
6531 add -Werror -Wstrict-prototypes to CC.
6535 Dispatch libmapi functions into filenames matching
6536 the MAPI interface they belong to.
6540 Fix the attach issue by value and add torture test to
6541 the openchange torture suite.
6546 attachment torture test implementation
6552 Add a null element at the end of MAPI_REQ array
6553 so we can exit from the loop in ndr_print_mapi_request
6557 - Add the DeleteMessages IDL
6558 - New torture tests added:
6559 * OPENCHANGE-MAPI-SENDMAIL
6560 * OPENCHANGE-MAPI-DELETEMAIL
6562 These are experimental implementation
6567 subject option for delete message torture test
6571 added (recipients == null) check
6573 added default subject
6578 Add NspiResolveNames and the associated torture test.
6584 Fix nspi decoding problem due to the usage of
6585 a hyper instead of a dlong.
6589 - Add a preliminary NspiUpdateStat IDL
6590 - Fix the new server code convention naming
6591 (function prefixed with dcesrv_)
6592 - Fix a security bug in emsabp provider code
6596 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
6600 Add SetProps [out] support.
6602 Temporary allocation pb fixed in ndr_pull_mapi_response.
6603 Final fix in next commit.
6609 Fix the SetProps [in] IDL
6611 New mapi call support added:
6612 - ModifyRecipients [in,out]
6613 - SubmitMessage [in,out]
6617 Add IDL support for the following mapi calls:
6622 The SetProps IDL is still experimental and the
6623 content blob should be decoded more than the current
6630 Fix the align problem in QueryRows reply blob
6631 Add some printing output and clean useless DEBUG.
6637 Fix the OpenMessage IDL and add ndr_print support
6638 to the MAPI-FETCHMAIL torture test so we can
6643 Commit of the first experimental but working implementation
6644 of the MAPI-FETCHMAIL torture test able to retrieve mails
6645 from an Exchange Server.
6649 - Add a preview implementation of cached data system for multi MAPI calls requests
6650 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
6651 - Enhance some MAPI calls IDL
6652 - Fix some pull/print functions according to error_code and row_count values
6658 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
6659 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
6660 we have to stop processing the function IDL since no parameters follow.
6664 add MAPISTATUS to EcDoRpc_MAPI_REPL
6665 add mapi library code for:
6671 add mapi calls described above to MAPI-FETCHMAIL torture test
6675 add mapi_response to emsmdb_transaction so we can get the results
6676 check the mapi call error core in OpenMsgStore
6680 Add MAPISTATUS field in each mapi calls
6681 Add new MAPICODE (MAPI_E_CALL_FAILED)
6685 Fix the mapi_request push function
6686 Add a first approach to the MAPI client side library
6687 Add a first approach of the MAPI-FETCHMAIL torture test
6688 Fix the smb.conf.example with new fields and remove Samba4 unused ones
6694 Initial mapidump commit
6695 OpenMessage IDL fixed
6701 Unused and dummy code removed
6705 - Remove the MAPI decoding TDR layer and associated functions
6706 - Add MAPI decoding in exchange.idl at NDR layer
6707 - mapi_request / mapi_response pull/print ok
6708 - implement subcontext for async response decoding in
6710 - new MAPITAGS added related to Message envelope properties
6711 - clean up the code and remove unused files
6713 - Add new MAPI opnums and associated IDL:
6714 * [in] Release (opnum=0x1)
6715 * [in,out] OpenFolder (opnum=0x2)
6716 * [in,out] OpenMessage (opnum=0x3)
6717 * [in,out] GetContentsTable (opnum=0x5)
6718 * [in,out] GetProps (opnum=0x7)
6719 * [in,out] Secolumns (opnum=0x12)
6720 * [in,out] QueryRows (opnum=0x15)
6721 * [in,out] GetReceiveFolder (opnum=0x27)
6722 * [in,out] OpenMsgStore (opnum=0xFE)
6728 For IDL with unknown fields followed the IDL may
6729 change and the mapping of these unknown bytes incorrect.
6730 It's just based on assumptions and results of the different
6735 - The mapi_request / mapi_response pull function
6736 - emsmdb torture tests and libmapi/emsmdb.c
6738 All this code is currently broken and will be fixed
6739 when we start writing the new emsmdb torture suite
6747 Fix ndr_pull_MAPI_DATA function
6751 - Add new mapi opnums
6752 - Add a first IDL implementation for OpenMsgStore out
6756 - Enhance the handles id support in MAPI_DATA
6757 - Remove unused code
6759 EMSMDB encoding/decoding is currently broken.
6760 It will be fixed when we start the client side
6761 mapi library implementation.
6767 - Change IMAPISession.idl to mapi.idl
6768 - enhance mapi content payload decoding (multiple calls supported)
6769 - add sub EcDoRpc opnums and IDL for setcolumns (in)
6776 - new function on emsabp provider for entry id generation
6782 Old mapitables code deleted and merge of the samdb
6783 code used in openchange (emsabp_result_guid function).
6785 The following revision compiles and work fine with
6786 Samba4 revision 20341
6793 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
6799 - Fix compilation warnings based on patches provided
6800 by Stefan Huehner <stefan@huehner.org>
6801 - Fix the DSO issue for x64 platforms
6802 - Add the evolution plugin in the compilation process
6803 - remove the mapidump code (obsolete and replaced with ndrdump usage)
6809 evolution plugin moved into client/evolution for
6810 a correct and extensible naming convention.
6812 EcDoRpc IDL modified:
6813 - opnum are now 8 bits
6815 - EcDoRpc ndrdump output enhanced
6817 IMAPISession IDL modified:
6818 - Change OpenMsgStore function name to MAPI_RPC_LOGON
6819 for the 0xFE opnum operation.
6821 Fix warnings in the code.
6827 Openchange-Evolution plugin commit
6828 I reorganized openchange evolution plugin source tree.
6829 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
6830 Everything can be found in the oc-evolution directory.
6831 This is code a minimalist implementation of the camel provider for evolution.
6832 It will make appears an openchange server type in the server list handled by evolution.
6833 Still have to fix the ./configure to create a Makefile though.
6837 Fix the memory allocation problems in the emsmdb torture test
6841 Removed ascstr and directly add it to the IDL
6843 Fix the NspiQueryRows response where strings
6844 containing the user email address have to be
6847 The EMSABP provider is working ;-)
6851 The emsabp provider is now able to return multiple users
6852 when searching for part of a username.
6858 Fix the networkAddress binding strings for the
6859 Exchange object in the configuration db. The
6860 SERVER variable based on exchange:server had
6861 been added while we needed the NETBIOSNAME one
6863 Fix a segmentation fault in emsabp.c due to an
6864 unchecked pointer res->msgs. This was causing
6865 smbd to segfault when the supplied legacyExchangeDN
6866 sent by the user wasn't present in the database.
6872 Remove unused files and directory.
6873 Update Makefile.in and remove storedb compilation
6882 - provisioning (for the legacyExchangeDN of the server entry)
6886 Fix the build and remove dynconfig samba lib
6892 Unused ldif files removed + Schemas definitions updated
6896 Provisionning fixed (old ldif files cleaned)
6902 add tags rules to the Makefile
6906 add the \\pipe\\protected_storage named pipe
6907 to exchange_nsp bindings
6913 Add a dcerpc_server module in charge of the
6914 exchange interfaces registration. When this module
6915 is loaded prior the remote endpoint, it let us proxify
6916 the exchange_nsp and exchange_emsmdb ones.
6918 Change the exchange_nsp ncacn_np binding string to
6919 reflect how Exchange server is currently using it.
6921 Conform the IDL with latest pidl requirements and
6922 move the MAPI_DATA structure from exchange_nsp to
6929 Create the $prefix/modules/{dcerpc_server,torture}
6932 This fix openchange make install rule.
6936 This commit conforms openchange with the Samba4
6937 trunk and fix the autotools checks.
6939 I've modified the openchange torture file to
6940 match the current smbtorture API and the
6941 OPENCHANGE-NSPI-PROFILE test was successful.
6943 The NSPI ndrdump suite has fully been tested and
6950 This commit fix the build system:
6951 - add the -ldynconfig dependency to LDFLAGS
6952 - add header checks in configure.ac. We need them
6953 for the moment cause Samba4 doesn't install some headers
6954 required by openchange core
6955 - fix the make install
6957 - remove autotools generated files and definitively
6958 ignore them with the .svnignore file
6960 - keepref keyword removed from exchange_nsp interface
6965 + aclocal.m4 removed from repository
6966 + provisionning fixed