13 Fix OOM used in sample_appointment.ocpf
15 Consolidate PSETID array and rely on libmapi definitions.
20 Add server-side skeleton for WriteStream Rop.
22 Add server-side skeleton for SetSearchCriteria and GetSearchCritera
25 Improve GetSearchCriteria IDL and work around the null restriction
26 response size in GetSearchCriteria reply by tweaking generated code
27 into nopull,nopush,noprint
29 Add generated mapistore ldif file to the ignore list
31 - Add preliminary implementation for named properties support in
32 mapistore. The API is yet very preliminary (init + get mapped
33 property ID), but is enough to return consistent data to Outlook and
34 make its behavior more reliable.
36 - mparse.pl now generates a LDIF file for the mapistore namedprops LDB
37 database which maps named properties within namespaces and store
38 default values for common/standard named properties Outlook is
41 - add a custom ldb_connect wrapper in mapistore to allow mapistore to
42 open multiple instances of the same mapi named properties ldb
45 - Complete preliminary implementation of GetIDsFromNames in oxcprpt.c.
49 - Fix some named properties
50 - Add a referenced propID value once it is mapped.
51 Will be used by mapistore to populate/generate the initial
54 Fix a bug with unmapped named properties lookup.
55 For convenience purposes GetProps accepts within input SPropTagArray
56 unmapped named properties we internally turn into mapped ones using
57 GetIDsFroNames. This behavior was incorrect cause we were looking for
58 properties within specific ranges. Replace this behavior with a global
59 lookup over named properties we know about.
61 One limitation of this fix is that custom nameid properties (not referenced
62 within libmapi/conf/mapi-named-properties) won't be lookup. However it is
63 acceptable for the moment.
66 Fix signed / unsigned issue in openchangebackup utility.
68 Fix some signed/unsigned issues in libmapi.
70 Fix up signed / unsigned issues with libocpf.
72 This changes the API to allow easy testing of failure vs results.
74 make sure that the 0 is interpreted as unsigned.
76 Fix a signed / unsigned comparison warning in libmapi.
78 Fix some signed / unsigned warnings in torture suite.
80 Avoid signed / unsigned comparison in libmapiadmin.
82 Avoid signed / unsigned comparison in openchangedb.
84 Avoid signed / unsigned comparisions in mapitest
86 Avoid signed / unsigned comparisons in FSOCPF backend.
90 Avoids warning with gcc's -Wmissing-field-initializers option.
93 Fix imports, clean up.
95 Raise exception on invalid arguments to openchange_mapistore_url.
102 Use calculated len inside the loop, instead of calling strlen each time.
106 Add new properties and PSETID
110 Change variable name to avoid shadowed variable name warning with ICC.
112 Add newline at end of file to avoid compiler warning with ICC.
116 Ensure server modules work when building with coverage enabled.
119 Consistently use spaces rather than tabs.
121 Remove string exception.
123 Remove duplication of openchange name in namespace.
127 We didn't set a valid error_code for FindRow skeleton.
129 - Add server-side skeleton for ReadStream ROP.
130 - Add preliminary sanity checks on server-side FindRow
134 Activate correct handling of retval in CreateFolder, despite Outlook
135 2007 bad behavior. Currently working on fixing this.
137 My small Outlook 2007 'Search missing ROP implementation' shouldn't
140 Add server-side skeleton for DeleteProperties Rop.
142 Implement server-size skeleton for GetPerUserGuid Rop.
144 Add server-side skeleton for GetPerUserLongTermIds Rop.
146 Add a preliminary stream object implementation
147 Add stream to emsmdbp convenient functions
149 Create a handle in OpenStream
151 Add skeleton server side implementation for OpenStream
153 Forgot to redo changes here.
155 - Undo the SetMessageReadFlag IDL change and add an explanation, so we
156 don't make the same error twice and have pointers when we want to fix
158 - Improve OpenMessage IDL and add the Reserved uint16_t bit.
159 - Replace sizeof() with known types to prevent from IDL mismatch types
162 For single process implementation, this code was fine.
163 For multi-process/contexts, when we need to cache information
164 to limit disk access, we should be using the ocpf element as
167 This patch makes it possible.
169 Fix SetMessageReadFlag IDL.
171 Add server side skeleton for SetMessageReadFlag Rop.
173 the previous "or"ed value used in LogonType union was non handled
174 properly by pidl. Replace them with static values instead. This
175 prevent Outlook rom reconnecting in different situations.
177 This was causing the ndr push error. Outlook now receive OpenMessage
182 With current implementation messages loaded and added to the mapistore
183 fsocpf private list were never released/unloaded/free'd.
185 Similar behavior would have occured in the future with folders. Add a
186 mapistore release_record function which will free/delete
187 information/data associated to a given folder/message.
189 - Add a preliminary OpenMessage reply implementation
190 - Add a function to resolve recipients against AD
191 - Add implementation of GetProps for mapistore messages
192 - Add mapistore getprops semantic
193 - Add fsocpf getprops implementation
195 Note: current implementation does not free message object and memory
196 allocation needs to be revised.
198 Note 2: openchangeclient --fetchmail works with this version :-)
200 Fix OpenMessage response size calculation. Subcontext size is already
201 calculated when we add the RecipientRow.length size to the global size.
203 - Make ocpf_recipClass public
204 - Turn path to headers to local in the lexer
207 Avoid leaking file descriptors on error.
209 Check return type for vasprintf in libocpf.
213 Change mapistore openmessage semantics to fetch/retrieve recipients
214 and properties from mapistore. Modify OpenMessage ROP to dump
215 mapistore_message structure contents retrieved from mapistore.
217 Add a function to retrieve recipients from a parsed OCPF message.
219 This is a wip commit, so there is a lot of DEBUG across the code. This
220 will go away in further commits when the implementation is complete.
222 - Add indexing API to mapistore. This API adds an indexing.tdb file
223 within user's mapistore private space and associate MID and FID to
224 their full mapistore path. Current implementation expects folder and
225 mid are repsented under their hexadecimal representation and using
226 the 0.16PRIx64 format string. It is not robust, but should do the
227 trick for the moment. Among features available:
228 - create/open the indexing database
229 - search of existing indexing context
230 - ref count assessors
231 - add/delete fid/mid records
232 - retrieve the list of folders pointing to an element (parsing
233 of the mapistore URI)
235 - Calls to the API have been added to the emsmdb provider
236 implementation for initialization and automatic attempt to add
237 entries whenever we open a folder.
239 - Add preliminary code (relying on indexing API) for OpenMessage when
240 parent handle is the store object. The entire set of cases for
241 mailbox have been included.
243 - Add mapistore code for op_openmessage operation.
244 - Add message list to the fsocpf context
245 - Add preliminary fsocpf backend code to open a message and store it
249 Refactored some of the FSOCPF backend.
251 Basically some Extract Method refactoring to improve code re-use.
253 Use PRIx64 macro to avoid compiler warning.
258 Add a new OCPF error OCPF_E_EXIST returned if a context already exist.
259 Prevent ocpf_new_context from adding a context to the list if it
262 Clean up debug code introduced while working on new libocpf version
264 - Make libocpf reentrant and use contexts/ref_count: No more globals
265 are used in libocpf, they are all specific to contexts. libOCPF is
266 now multi-process/thread friendly.
268 - Remove Makefile bison compiling option with a bison %option in
271 - Propagate libocpf changes to openchange server and utils
273 - Fix a bug in file/folder listing when we have both folders and
280 - add libmapiserver calculation for OpenMessage + related OXCDATA structures
281 - add skeleton implementation for server-side OpenMessage ROP
282 - add preliminary emsmdbp_object_message implementation/initialization
284 - Flush ocpf output when an error occurs
285 - Fix retrieval of message list in fsocpf backend
287 Add QueryRows implementation for mapistore in fsocpf backend.
289 - Add implementation for mapistore GetContentsTable
290 - Fix error reply for GetHierarchyTable
292 Fix how PT_DOUBLE data is passed among libmapi layers.
294 Fix an issue introduced in r1858. PT_DOUBLE patch is valid
295 for EMSMDB, not for NSPI. Rollback change for SPropValue
297 Add IPM.Note as a default receive folder for Inbox. This is used by
298 Outlook 2003 in the Send/Receive process.
300 Add server-side skeleton for GetAttachmentTable operation.
302 Implement SetSpooler server-side function. The function looks like a
303 skeleton ... and is one until we figure out what should be the
304 associated server-side mechanism when clients tells OpenChange server
305 they want to act as a mail spooler.
307 The LogonType cases were not handled properly
309 Replace existing method to retrieve emsabp_ctx in NSPI server code
310 with mpm session management API and comparison to actual dce_call structure.
312 Replace MAPI_E_LOGON_FAILED rather than MAPI_E_NOT_ENOUGH_RESOURCES in emsmdb server
313 code when session is not found.
319 We were adding context the list but were never removing them while the
320 context_id was added to the free list. This was causing
321 inconsistencies in mapistore context management + invalid
322 record/pointers to remain and cause OpenChange server to crash.
324 Also add commented code to CreateFolder ROP that will need to be
325 enabled when we understand related Outlook behavior.
327 Patch from Bharath Acharya <abharath@gnome.org>:
329 Print calendar items created at half hours
331 Minor warning fix - unused variable, not initialized
333 Fix a bug with invalid session leading to OpenChange server crash.
335 We are now retrieving the emsmdbp_context pointer from our session
336 management API, after a comparison check vs dcesrv_call_state rather
337 than blindling and directly from dce_call.
340 Add better error path handling for the OXCFOLD-CREATE mapitest module.
344 Extend mapistore API to have a mapistore URI associated to the backend
345 context. We want to limit creation of new contexts to the strict
348 Propagate this change to emsmdbp_object_folder_init. Only create a new
349 context if the uri intended to be opened is not already associated to
352 Handle additional LogonFlags cases for mailbox store in Logon_repl
354 Fix empty EcDoRpc replies. Outlook 2007 is now happy and stops from
355 disconnecting untimely.
357 Add server-side skeleton implementation for GetPermissionsTable
359 Pass parent mapi_handles to emsmdbp_object_folder_init rather than
362 Improve emsmdbp_object_folder_init to handle all the different folder
363 creation cases (root folder, mapistore or not, within mapistore or
364 openchangedb etc.) OpenChange server now passes mapistest folder
365 creation test properly.
367 Fix a bug with context_id and mapistore. We were passing the parent
368 context, then deleting it at some point, causing the parent object to
369 be invalid. Now makes use of a reference counter we manage to keep
372 Add a convenient function to emsmdbp_object API to retrieve the
373 contextID associated to an object.
375 It looks like we still have some issues when running both Outlook 2007
376 and Outlook 2003 at the same time with OpenChange server. There may be
377 some additional session checks to perform in the future.
379 Fix a bug in session management API:
381 The mpm_session API uses id, id2, node and context_id from the dcerpc
382 session to uniquely identify a session context.
384 However when Outlook calls EcDoConnect multiple times, it still uses
385 the same dcerpc session. With previous API we were freeing the session
386 while it was still in used - which lead in unstable and unpredictable
389 The following patch adds a ref_count to the mpm_session API and server
390 code has been changed for emsmdb and nspi server to increment the
391 ref_count when the session already exists or create a new session if
392 none is already stored.
394 Also the mpm_session code checks for the ref_count value and ensures
395 it is 0 before calling the destructor.
397 Call emsmdbp_object_folder_init in any case when creating a
398 folder. The emsmdbp_object function now do required checks and
399 initialize the folder's object properly.
402 trivial comment cleanup.
404 Minor cleanups for RopCreateFolder in the server.
406 Prefix the mapistore_uri folder name in the path with "0x"
408 Use ulFolderType (the folder) instead of ulType (ansi vs unicode) when
409 deciding which folder type to create.
411 Trivial comment fixes.
415 Complete the opendir implementation for mapistore folders. Outlook
416 doesn't crash anymore when attempting to open mapistore folders.
418 was using the wrong function emsmdbp_is_mapistore instead of
421 Commit Brad Hards's implementation for Public Folders support.
422 Personal changes wrt initial patch:
424 - remove mapistore_uri from openchangedb PF record at
425 provisioning. Only new created folders should be mapistored.
426 - Add a mailboxstore boolean to folder and mailbox emsmdbp so we can
427 select the correct basedn for searches.
428 - Fix GetProps to provide an accurate answer to Outlook when fetching
429 public folder's store specific properties.
430 - Use get_PublicFolderId rather than SpecialFolderId when we open a
436 Patch from Milan Crha <mcrha@readhat.com>:
438 Fix PT_DOUBLE support in openchange
440 Fix unicode ocpf format in ocpf_write
442 - Fix PT_I8 support in libocpf: PT_I8 support was incorrectly
443 processed as PT_DOUBLE and prevented properties with 0x0014 proptag
444 (e.g. PR_PARENT_FID) to be added properly to ocpf files.
446 - Add PR_PARENT_FID to the set of properties when creating folders
448 Fix mkdir prototype in sqlite3 backend
453 Outlook uses GetProps with the PidTagSubFolders property to check if a
454 folder has subfolders. Add this property at provisioning (set to
455 FALSE), then set it to true on system/specialfolders if folder
456 creation in mapistore went OK.
458 - Implement mkdir operation at mapistore level
460 - Update PidTagFolderChildCount of parent folder when parent is the
461 root folder of a mapistore context (folder attributes stored in
464 - Improve RopCreateFolder implementation
466 - Clean-up emsmdb_object_folder_init implementation
468 - Add a convenient function to turn ROPs parameters into MAPI
469 properties. This prevents from having endless number of parameters.
471 - Commit remaining parts of the provision changes
473 This TODO doesn't belong here
475 Add a convenient function to retrieve the distinguishedName of a
476 folder given its folder identifier. This function is useful when
477 building dn for openchangedb ldb_add operations.
479 Add PidTagComment so it can be used in openchange.ldb when root
480 folders are created with a comment CreateFolder parameter.
482 Make it possible to retrieve MailboxRoot folder using
483 olFolderMailboxRoot in GetDefaultFolders.
485 Outlook 2007 tries to create a To-Do search folder under user
486 mailbox. Creates the folder at provision time to be kind with it.
488 Set PidTagParentFolderId to 0 for mailbox root
490 The wrong index in mapi_repl was causing the crash I've investigated
491 over the past 10 hours.
493 Please always use idx for mapi_response->mapi_repl[] index ;-)
497 In current architecture, we need to retrieve root mapistore folder properties
498 from openchangedb, then use mapistore for operations such as GetHierarchyTable or
499 GetContentsTable. This was not possible with the current design where we only
500 switch between mapistore: true or false.
502 I have introduced a mapistore_root boolean associated to folder object which we
503 set to true if the folder initializes a mapistore context (otherwise false).
505 This boolean is used in GetProps so we retrieve mapistore container properties
506 from openchangedb and not mapistore.
509 Add size calculations for public folder RopLogon
514 We'll change CreateFolder to generic code later.
515 For the moment change from sqlite to fsopcf backend for system folders
517 Fix handling of flagged property row in GetProps (Mailbox case).
519 Missing break added, now makes Outlook 2003 launhes properly.
521 Ensure PidTagAttr is valid and prevent ldb layer from segfaulting
523 Send a flagged PropertyRow when GetProps is called with mapistore
524 Add a nasty hack and call this fake MAPI_E_NOT_FOUND property value for
525 GetProps if the object doesn't exist.
527 In openchangeclient we are calling get_container_class using the parent object
528 (Mailbox root folder) and the FID of the 2-level down folder. This causes
529 openchange server to crash. The hack exposed above will help temporary workaround
530 this problem while we figure out/remember the real problem: Why do we have
531 to call the parent to retrieve the container class?
533 Remove last references to systemfolder in libmapiproxy API
535 release objects properly in the mailbox recursive function
537 After we release ocpf_context, strings are destroyed.
538 Prevent from happening by stealing the overall context and
539 talloc_strdup strings.
541 We'll need to find a better/encapsulated way to do this on long term.
543 Add a small hack to handle StandardPropertyRow properly
544 StandardPropertyRow have no errors and have a prefixing flag set to 0
546 Get ride of the previous way to detect
547 systemfolder/mailbox/mapistore folders.
549 This was barely understandable and error prone.
551 It is now replaced by a mapistore boolean set for every object
552 + a convenient emsmdbp_object function to check mapistore value
553 for given handle quickly.
557 Add mapistore implementation for QueryRows ROPs relying on
558 GetHierarchyTable objects (folders properties listing).
560 Add fsocpf backend implementation to fetch folders properties from a
561 .properties OCPF file stored within the folder (identified by its
564 Customized emsmdbp table object to have:
565 - a context_id and whether the table is within mapistore or not.
566 - to know if the table comes from GetHierarchyTabke or
569 Add a path element to the folder_list structure in fsocpf backend to
570 quickly use the full path and open the .properties file.
572 Note: current code is for developers only. It is known to have bugs
573 (e.g. memory allocation), furthermore there is some manual
574 openchangedb and filesystem operation to perform in order to have the
575 commit intended results.
577 Add a convenient function for openchange server that lets build the
578 SPropValue array with known properties.
580 Replace the hardcoded fsocpf_ctx->fid with a basic code searching for last elements
581 in mapistore_uri path.
583 Fix typo in PidTag name
585 Add PidTagFolderChildCount
587 Add libocpf as a dependency to mapistore_fsocpf backend
589 Add a ulType to emsmdbp table object.
590 We need to make the difference between folders table (hierarchy) and messages ones (contents).
592 This is a large work in progress commit:
594 - Do not add mapistore_uri for Mailbox and IPM Subtree. These are only
595 openchange.ldb containers.
597 - Fix a memory issue with emsmdbp object destruction: use a different
598 context for folder object. This was preventing from having a valid
599 DIR * when releasing the object at mapistore layer.
601 - Add preliminary implementation for OpenFolder (GenericFolder) in
602 emsmdbp server code and mapistore. It can't yet be tested properly
603 with openchangeclient --mailbox because we need to extend QueryRows
604 implementation first. This will be achieved in further commits
606 We are now using mapistore_uri attribute value (valid or NULL) to
607 detect whether it is a systemfolder (blank container) or if we need
608 to initialize a mapistore backend context.
610 - Add mapistore implementation of GetHierarchyTable and backend
611 implementation for fsocpf. Since we don't have a working
612 Createfolder/mkdir implementation yet, you need to add
613 PidTagFolderChildCount = 1 to the folder record in openchange.ldb +
614 manually create the directory on the filesytem.
616 Missing mapi_object_release call added
620 - Add libmapi as a dependency to libmapistore. We need libmapi to
621 benefit from operations on MAPI properties.
623 - Add a MAPISTORE_RETVAL_IF macro and a MAPISTORE_SANITY_CHECKS one
626 - Refactor the search of the backend context given its context id in a
627 function and propagate the change to related functions.
629 - Add skeletons for opendir, closedir, mkdir and rmdir. Prototypes of
630 these function may change in the future.
632 Implement create_context and delete_context for fsocpf backend. Patch
633 initially from Brad Hards.
635 Add a double linked list with fid/DIR couples for folders operations
638 Fix a bug in NSPI server which was preventing NspiGetMatches
639 from retrieving the correct DN from the in-memory tdb database.
641 Should fix the profile creation error users were experiencing.
644 Add a reference to the libocpf documentation for ospf backend
647 Add forgotten part of r1818.
649 Support provisioning mailboxes with either fsocpf or sqlite backends.
651 fsocpf is the default at this stage.
657 Fix paths to related pages
659 Patch from Brad, fix doc typo, grammar - makes it sound more English.
663 Add API documentation for init, backend connection contexts
664 Add programming samples
666 Install libmapistore pc file
668 0.2 version of mapistore documentation.
669 Merge some of the initial mapistore wiki page content.
670 Add a section on FSOCPF backend
673 Various API documentation fixes. All trivial.
675 Fix some hard-coded formatting in mapitest common code.
677 Add a simple create / delete folder test to mapitest.
679 I've been using this to test the basic operations.
681 Enable DeleteFolder rop, now we have a partial implementation.
683 Implement RopDeleteFolder, and handle the case where a folder already exists in RopCreateFolder
685 This still only works for a top level folder.
687 Add convenience API to obtain the FID for a given folder (by name).
689 This is useful to tell if a folder exists, which we need to do before
692 Also fixes a nuisance warning about printf specifiers.
694 Extend CreateFolder size calculations to handle some of the optional elements
696 We still don't properly handle the variable length server element.
700 Add general overview of what mapistore is and
701 how it can be used from a user perspective
705 Refactor mapiproxy documentation into a global mapiproxy / openchange server doc.
706 - Add a mapistore documentation skeleton
707 - Add related pictures
711 Add folder atomic operation to mapistore and skeleton to backends:
712 mkdir,rmdir,opendir,closedir,readdir
715 API documentation typo fix.
720 - Push Brad's CreateFolder implementation after turning hardcoded fields to generic one.
722 Note: current implementation is incorrect as it states that any folder is referenced
723 within openchange.ldb while only system/top folders are. We have a mapistore URI for
724 system/top folders, not for subfolders which are stored directly within specified
727 However the implementation is almost correct when it comes to create folders directly
728 under / in the user mailbox.
730 - Add a 'fsocpf' mapistore backend skeleton (FileSystem + OCPF)
731 - Fix some doxygen in mapistore sqlite3 backend
732 - Add an op_mkdir skeleton to mapistore
733 - Add fsocpf:// namespace test to mapistore_test
734 - Compile fsocpf only if libocpf gets compiled
737 Add defs_private.h so we can use PRIx64 where appropriate
739 It makes more sense to directly return the next available and formated FID rather
740 than the GlobalCount raw value.
742 Add exchange username to emsmdbp_ctx structure for convenient purposes
744 After openchange_ldb is opened, map attributes of the @ROOTDSE record
745 with ldb_set_opaque so ldb_get_default_basedn and ldb_get_root_basedn work.
749 Implement a convenient function to retrieve the GlobalCount value from
750 the objectClass=server record in openchangedb - which is the next FID
753 Note: the function currently lacks locking mechanisms. We should
754 introduce some to prevent from race conditions.
756 This code was originally designed by Brad. I've just refactored it.
758 Add a rootDSE entry to openchangedb.
759 This change makes possible to call:
760 - ldb_get_root_basedn() to retrieve CN=server,DC=domain,DC=ext
761 - ldb_get_default_basedn() to retrieve CN=firstou,CN=firstorg,CN=server,DC=comain,DC=ext
763 Add server-side skeleton for ROPs:
769 NOTE: GetTransportFolder is using hardcoded data that will be removed
772 Add libmapiserver size calculation for ROPs:
774 - RopModifyRecipients
776 - RopGetTransportFolder
780 Fix provisioning script and push a master-git samba4 version known to compile
781 and work properly with openchange.
783 There is probably a small typo left in installsamba.sh post_install script to fix
786 Update docs for new samba version.
788 Looks like we now have real complexity requirements for passwords...
792 Fix the container class for the Drafts folder.
794 This is per MS-OXCSFLD
796 Add PT_I8 for cast_SPropValue().
800 Fix openchange vs latest samba4 git-master branch
802 - Fix OpenChange schema: Had to split our 1-file schema into multiple
803 files in order to be compliant with Samba4 LDB schema validation
806 - Fix openchange provision script
807 - Fix calls to smb_iconv_convenience_init
808 - Fix the copied libmapi/socket code to work with latest samba4 code
809 - Fix openchange server SIGSEGV when EcDoConnectEx is called
811 I have tested the following to ensure nothing is broken:
812 - mapitest with Exchange 2003. All tests are OK
813 - openchangepfadmin (user creation/deletion OK)
814 - openchange server provisioning
815 - openchange server vs Outlook 2003:
816 - profile creation OK
817 - Outlook can open the user mailbox and display it properly
821 Skeleton server code for DeleteFolder ROP
823 Just add more skeleton code to select between available folder types
825 Server side skeleton for CreateFolder operation
830 Implement some more properties for cast_mapi_SPropValue().
832 Patch mostly by Milan Crha, some changes by me.
834 Use retval instead of GetLastError() in a couple of places.
836 Add missing failure path handling.
838 Avoid assigning a boolean result to an enum MAPISTATUS.
840 Fixes problem noted with mapitest on OXCFOLD-MOVECOPY-MESSAGES.
845 Add comment about the number for each ROP in the server.
850 Make sure we can load a server module when it is built with coverage testing enabled.
855 Fix some mapitest issues reported by valgrind.
857 These only occur when running against the openchange server - mostly problems with failure paths.
859 Fix up a few segfaults found when running against openchange server.
864 Add support for EcDoRpc GetAddressTypes (0x49) and OptionsData (0x6f) to server.
866 This is completely driven by the server provisioning - no hard coding.
868 This makes a binary incompatible change, so if you get crashes, please try a
874 Add PT_DOUBLE support for set_SPropValue().
879 Add support for PT_ERROR in mapi_SPropValue casting function.
881 Add support for a couple more types in the casting code.
883 Also adds a development-version "OPENCHANGE_ASSERT()" that flags incomplete code.
888 Add a convenient function to retrieve the total
889 number of records in the Global Address List.
891 Modify openchangeclient to expose this change in
892 the --userlist option.
897 Fix OpenChange notification subsystem to handle multiple session properly
898 Patch OpenChange trunk to reflect this API change
900 Add quick and dirty doc/examples/multiple_notif.c to show how to setup
901 multiple sessions + notifications with threads.
903 Add PidTag for transport message headers
908 One more server API documentation fix.
910 More server side api documentation work.
915 Mix of api documentation fixes for server side.
917 Add MAPI_E_NOT_IMPLEMENTED.
919 This is based on information at
920 http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/d3c860a8-f131-4c7a-aa11-b9ec328d06c4
925 Implement RopOptionsData (0x6F).
927 Updates IDL, adds implementation and mapitest coverage.
929 This has no practical use, but might be useful for testing the server.
934 Add talloc leak checking options to mapitest.
939 Update man page for mapiprofile to reflect new --language option format.
944 Add special handling for PS_MAPI property name mapping.
946 This fixes a long-standing mapitest failure.
948 The logic is based on MS-OXCPRPT, section 2.2.12.2.2 PropertyIds.
950 Minor API documentation fix.
955 Build fix for example code
960 Fix format string problem #184 ticket
963 Add status reporter classes to allow redirecting the progress
966 Update man page to reflect mapitest --subunit option.
968 Implement basic subunit output protocol format for mapitest.
970 There are a couple of documentation bits to follow.
975 Trivial API dox addition.
980 Update the IDL and implementation for RopGetPermissionsTable (0x3e)
981 and RopModifyPermissions (0x40) to match MS-OXCPERM.
983 The function signature for GetTable() and ModifyTable() has changed.
984 They are now called GetPermissionsTable() and ModifyPermissions()
985 respectively, and there is an additional "flags" argument, which you
986 almost certainly want to pass as 0x00 if you are porting from some
987 older implementation.
989 Updates all users, and adds mapitest unit tests.
994 Add country codes to codepage-lcid description file
997 Remove copied code from samba (ldb) and just use the ldb
1000 Resolves ticket #167
1002 Allow building if popt isn't available.
1005 - remove unnecessary include in libmapiadmin
1006 - only build mapistore test tool if popt is available
1007 - only build torture tests if popt is available.
1009 The last change could be finer (e.g. only leaving out the
1010 part of the torture test that actually requires popt) but
1011 that seemed more fragile and generally unnecessary.
1013 Resolves ticket #233.
1021 Ensure we always initialise before trying to cleanup (e.g. in a failure scenario).
1023 Issue identified and patch provided by Erik Hovland, minor changes by me.
1025 Resolves ticket #236.
1027 prop is declared within the switch statement.
1029 Fix by Erik Hovland - thanks very much.
1031 Resolves ticket #239.
1033 Use strncpy instead of strcpy.
1035 Patch by Erik Hovland, plus a minor change by me to ensure the string is null terminated.
1037 Resolves ticket #237.
1039 Add missing break statements
1041 Patch by Erik Hovland <erik@hovland.org>
1043 Resolves ticket #238.
1045 Mark appropriate constructors as explicit.
1047 Patch by Erik Hovland - thanks very much.
1049 Resolves ticket #240.
1053 Patch from Erik Hovland - thanks again.
1055 Resolves ticket #242.
1057 Fix spelling errors.
1059 Patch by Erik Hovland - thanks very much.
1061 Resolves ticket #241.
1063 Make sure we actually can compile when using --enable-openchange-qt4
1065 This patch ensures that $(MOC) gets set in the Makefile.
1070 Add canonical names for codepage related properties (involved in
1071 PT_STRING8 encoding/decoding)
1076 - Add parser for codepage-lcid
1078 - Add entire set of conversion functions for lcid, codepage, language
1081 - mapiprofile now uses codepage/lcid matching LC_CTYPE environment
1082 variable for language detection, otherwise codepage/lcid matching
1083 language list. Language list is now dumped from codepage-lcid
1086 - Remove deprecated util and tests directory from libmapi and from
1087 build system. We now only rely on codepage_lcid.c
1089 - Update openchange code (utils, mapiprofile, mapitest and
1090 exchange2ical libs) to use this new API.
1092 - I have not looked into icalparameter_get_language, but assuming it
1093 is relying on previous API, I may have introduced a bug here. Looks
1094 like the function outputs for example "en-US" while we now checks
1095 for "en_US" to match setlocale output.
1098 Minor API documentation adds.
1100 Add unit test coverage for the GetGALTable() function.
1102 This is mostly lifted from utils/openchangeclient.c
1104 Switch to only building Qt4 bindings if specifically asked for.
1106 This is a bit experimental for now, so lets go safer...
1111 In this particular case (error returned, mapi_response shouldn't
1114 Fix bug 605827 - SRowSet was free'd while still needed
1119 Template file which associates Language, LCID, Locale and Codepage.
1120 Furthermore commits will implement the mparse parser which will
1121 auto-generate the associated C files. This should give us a reliable
1122 way to use it in mapiprofile, MAPI profiles database and for
1123 PT_STRING8 proper conversion purposes.
1125 If anything is missing or is incorrect, updating the file will
1131 Fix bug where you couldn't select another messages in the default folder without
1132 changing folder first.
1134 Looks like this is just a bit I forgot to update when changing from an initial
1135 cut to the "more working" implementation.
1140 - Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
1143 - Remove deprecated utf8_convert lexer and windows_to_utf8 routine
1145 - Change openchange tools to use _UNICODE tag version instead
1147 - octool_get_propval now prefer UNICODE properties over PT_STRING8
1148 ones (default behavior).
1150 - Change mapidump_message API to take an optional mapi_object_t
1151 message parameter. If the message object is specified, we can have
1152 access to the subject, and recipients (to, cc, bcc) without having
1153 to query them within a GetProps call.
1156 Fix an ugly cut-n-paste error.
1158 Add pkg-config support for libmapi++.
1163 Fix ticket #123 (known as 562948 on gnome bugzilla):
1164 "Unable to send mails containing UTF8 strings"
1166 OpenChange was using strlen(str) * 2 + 2 to calculate the
1167 expected size for utf16 string. This patch fixes this and
1168 replaces it with a function that make proper utf8 to utf16
1171 This commit also replaces PT_STRING8 properties in openchangeclient.c
1172 with PT_UNICODE ones to ensure utf8 strings get converted properly.
1177 - Add NormalizedSubject and SubjectPrefix strings to object_message_t
1179 - Add a function to retrieve TypedString value
1180 - Add a mapidump function for obj_message (only retrieve subject and
1182 - Add --fetchsummary option to openchangeclient: Dumps properties from
1183 OpenMessage response only (subject and recipients) rather than going
1184 through GetProps and dumping a more complete version.
1187 Move make distclean to the end again.
1192 Remove a copy of the dlinklist.h header, and just use the samba
1198 Install missing file.
1203 Allow us to find samba python code on 64-bit machines.
1208 Update EcDoConnectEx IDL to match latest specifications
1211 Minor additions to "make clean" / "make distclean" to remove
1212 generated python bits, and also the config.h file.
1217 Implement IsMailboxFolder for public folder types.
1219 Involves some refactoring of the way we handled the mapi_object_store_t,
1220 such that we now talloc_zero the structure.
1222 Adds mapitest coverage for these.
1224 Resolves Ticket #134.
1229 Add unit tests for IsMailboxFolder
1231 Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.
1236 Change location of .cpp.o and .ccp.po to the correct location
1237 and inhibit compilation line output for moc and cpp compilation.
1240 Try harder to clean up libmapi++ bits.
1245 Ignore moc files and generated binary
1247 Update OpenChange version to 0.10 NOMAD
1249 Nomad is a mechanical explorer sent from Earth in 2002.
1250 It was melded with an alien device named Tan Ru and the resulting robotic
1251 hybrid began destroying anything that was imperfect including, in 2267,
1255 Add documentation for qt/ subdirectory.
1257 Try harder to find moc.
1259 Initial commit of some Qt-style bindings.
1261 This is mostly for testing, although hopefully the library will
1262 emerge with a set of mostly-useful widgets for implementing
1268 Quiet the build here.
1270 Inadvertent removal in a previous patch.
1272 Some support for ReviewBoard.
1277 Update OpenMessage flags to match specification values.
1279 Cleanup libmapi++ code when we "make clean".
1281 Add svn ignore entries.
1283 Remove inline from shared library class.
1285 Fixes build on Intel C++ compiler.
1290 libmapi++ is no longer a header-only library
1295 Add first part of Restrictions support.
1297 A little more documentation fixes.
1301 Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
1302 In such situation, mapi_response is not allocated but has a destructor
1303 associated. This fix removes the destructor whenever the error code is
1304 different from MAPI_E_SUCCESS.
1306 Also add a minor (probably useless) check on mapi_response pointer validity
1307 before attempting any other child's free.
1310 A couple of minor API documentation fixes.
1315 Rename libmapi into openchange in our release script.
1316 Makes more sense given the scope of our releases.
1318 Fix format string warnings.
1320 New ModifyRecipients IDL and implementation.
1322 This patch improves the logic within the RecipientFlags bitmask
1323 calculation function and make use of different MAPI properties for
1326 Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763
1329 Minor API documentation fix.
1333 Fix some exchange2ical memory leaks / "still reachable" memory.
1335 Fix property tag array count, so we get the language in Summary
1336 lines in the ical output.
1338 Add protection against null CN values.
1340 Resolves ticket #232.
1342 Thanks to Arnout Engelen for the bug report and the patch to fix the problem.
1344 Handle all day events for UTC+ timezones.
1346 This resolves ticket #217. Thanks to Arnout Engelen for both reporting
1347 the problem, and providing a patch. In the end I heavily modified the
1348 patch, and implemented a much simpler version while we sort out the
1349 timezone identifier problems.
1354 Minor documentation update to reflect GSoC exchange2ical merge.
1356 temporary fix for building on FreeBSD 7.2.
1358 Remove this file - converted it to trac tasks.
1362 Patch from Johnny Jacob <johnnyjacob@gmail.com>:
1364 Changed MonitorNotification to be non-blocking.
1365 Also checks whether to process notifications using a callback.
1367 Open Profile Store using global_mapi_ctx for the memory context. This
1368 fix removes 20 context errors when running valgrind on mapitest.
1370 - Fix important memory leaks in OpenChange NSPI stack. The memory
1371 context modifications applied to the EMSMDB stack have been
1372 propagated to the NSPI one. NSPI dcerpc_* functions now rely on a
1373 temporary context passed in parameter to the nspi_* functions from
1376 - Changes propagated to torture, mapitest, IProfAdmin interface and
1377 ResolveNames function to match the internal API.
1379 - Add missing MAPIFreeBuffer call in mapitest modules
1381 Minor cosmetic change
1383 Minor changes to match our coding convention more closely
1385 Return (const void *) instead of (void *) where missing
1387 - Fix important memory leaks within the OpenChange stack. Most of the
1388 leaks came from the pipe memory context used in emsmdb_transaction
1389 which was only released on MAPIUninitialize and sometimes leaded in
1390 lost blocks. This fix makes extensive usage of the temporary memory
1391 context used in top MAPI calls implementation. This context is
1392 passed in argument to emsmdb_transaction and used for dcerpc_*
1395 When we return from any libmapi call implementation, this context is
1396 destroyed. This guarantee no extra memory within NDR layer is kept.
1398 The only requirement for this patch to work is to make sure the data
1399 we return from MAPI calls is either reparent to another memory
1400 context or copied properly.
1403 Add support for skipping tests that don't apply to some
1406 Change the format of the server version, so it matches the Microsoft
1407 way of doing versions.
1412 Fix store version info assignment - Exchange version now works again
1415 Clarify the developer's task when using GetPropList.
1417 We were allocating the SPropTag proptag array with the session context
1418 pointer, which was not released with a MAPIFreeBuffer(SPropTagArray).
1420 We are now using SPropTagArray pointer as parent context and clarify
1421 that the developer must pass an allocated SPropTagArray pointer to the
1424 Missing mapi_object_release leading in small leaks.
1426 Sanitize RfrGetNewDSA function and memory usage.
1428 The function was returning either a const char * passed in parameter
1429 or the string returned by RfrGetNewDSA call. Furthermore we were using
1430 the session pointer for the memory context. Finally the function description
1431 was not matching its behavior.
1433 What this patch does:
1434 - use a named memory context for RfrGetNewDSA call
1435 - return an allocated string on success otherwise NULL
1436 - release RFR memory context properly
1438 valgrind before patch (mapitest):
1439 ==28876== LEAK SUMMARY:
1440 ==28876== definitely lost: 0 bytes in 0 blocks
1441 ==28876== indirectly lost: 0 bytes in 0 blocks
1442 ==28876== possibly lost: 3,193,529 bytes in 23,296 blocks
1443 ==28876== still reachable: 345 bytes in 2 blocks
1444 ==28876== suppressed: 0 bytes in 0 blocks
1446 ==28876== For counts of detected and suppressed errors, rerun with: -v
1447 ==28876== ERROR SUMMARY: 2351 errors from 2351 contexts (suppressed: 45 from 10)
1449 valgrind after patch (mapitest):
1450 ==29083== LEAK SUMMARY:
1451 ==29083== definitely lost: 0 bytes in 0 blocks
1452 ==29083== indirectly lost: 0 bytes in 0 blocks
1453 ==29083== possibly lost: 3,190,285 bytes in 23,256 blocks
1454 ==29083== still reachable: 345 bytes in 2 blocks
1455 ==29083== suppressed: 0 bytes in 0 blocks
1457 ==29083== For counts of detected and suppressed errors, rerun with: -v
1458 ==29083== ERROR SUMMARY: 2338 errors from 2338 contexts (suppressed: 45 from 10)
1460 This patch fixes most of the leaks coming from pull_emsmdb_property() function.
1461 pull_emsmdb_property is using pointers and allocate memory to prevent from
1462 returning a local variable address. Such pointers include PT_I2, PT_I8, PT_LONG,
1463 PT_ERROR or PT_BOOLEAN. Pointer's values are assigned in set_SPropValue but were
1464 never released/free'd. This patch implements free_emsmdb_property to fix this problem.
1466 valgrind before patch (mapitest):
1467 ==26674== LEAK SUMMARY:
1468 ==26674== definitely lost: 0 bytes in 0 blocks
1469 ==26674== indirectly lost: 0 bytes in 0 blocks
1470 ==26674== possibly lost: 3,264,485 bytes in 23,387 blocks
1471 ==26674== still reachable: 345 bytes in 2 blocks
1472 ==26674== suppressed: 0 bytes in 0 blocks
1474 ==26674== For counts of detected and suppressed errors, rerun with: -v
1475 ==26674== ERROR SUMMARY: 2370 errors from 2370 contexts (suppressed: 45 from 10)
1477 valgrind after patch (mapitest):
1478 ==27270== LEAK SUMMARY:
1479 ==27270== definitely lost: 0 bytes in 0 blocks
1480 ==27270== indirectly lost: 0 bytes in 0 blocks
1481 ==27270== possibly lost: 3,127,733 bytes in 23,293 blocks
1482 ==27270== still reachable: 345 bytes in 2 blocks
1483 ==27270== suppressed: 0 bytes in 0 blocks
1485 ==27270== For counts of detected and suppressed errors, rerun with: -v
1486 ==27270== ERROR SUMMARY: 2348 errors from 2348 contexts (suppressed: 45 from 10)
1489 Minor API documentation fixes.
1494 - Add a macro to mparse.pl to free both mapi_response
1495 and mem_ctx within OpenChange calls implementation.
1496 For the moment it is only implemented in OpenUserMailbox call.
1498 - Fix a memory leak in OpenUserMailbox: When the call failed
1499 (ecUnknownUser or ecUseEnryption) mapi_response was not free'd
1502 Minor indentation fix
1505 Add some missing newlines to reduce compilation noise.
1507 Merge in Ryan Lepinski's Google Summer of Code work on exchange2ical.
1509 See the gsoc_exchange2ical branch history for commits.
1511 I also made a change to address ticket #216, and
1512 fixed a couple of typos.
1517 Minor updates to provisioning instructions.
1519 Thanks to Girish Venkatachalam for some suggestions.
1524 Fix 'unused variable' warning on FreeBSD for exchange2mbox
1527 Add documentation for the --freebusy option.
1534 Fix segfaults in mapitest launched with exchange2010
1536 Fix compilation warnings
1539 Add missing -L directory specifier.
1541 Looks like this was tolerated by gnu ld, but not by opensolaris ld.
1543 Patch by Brian Lu (Sun). Thanks again.
1545 Add documentation for new mapiprofile --encrypt option, introduced in r1602.
1547 Fix a couple of typos that trash CFLAGS during build.
1552 Automatically switch from connect to seal on the emsmdb pipe if
1553 ecNotEncrypted is returned by EcDoConnect.
1555 - Make OpenChange natively working with Exchange 2010
1556 - Factorize binding string construction code within a single function
1557 - the seal flag is mandatory to connect to Exchange 2010
1558 - add seal boolean value to MAPI profile creation and mapi_profile
1560 - add --encrypt option to mapiprofile to set the seal value
1565 Add documentation for set_SPropTagArray().
1567 Thanks to Brian Lu (Sun) for reporting.
1572 This doesn't really fix ticket #149, but this should
1573 at least prevent from triggering segmentation fault when
1574 PR_EMAIL_ADDRESS_UNICODE doesn't have any cn=Recipients,cn= substring
1577 Trivial fix (newline) for warning on FreeBSD compiler.
1579 Add support for manually creating the library symlinks for FreeBSD
1581 This is a somewhat speculative commit.
1583 Also fixes a couple of cosmetic whitespace issues.
1588 Patch from Bryan Lu <brian.lu@sun.com>:
1590 Create symbol link only on Solaris
1592 This closes ticket #221 and makes it possible to compile openchange
1595 Temporary bug fix in emsabp.c - If restrictions are NULL in
1596 emsabp_search, return MAPI_E_INVALID_OBJECT. This prevents from using
1597 invalid res pointer leading in segmentation fault.
1599 Initial fix proposed by Erik Hovland <erik@hovland.org>
1601 Patch from Erik Hovland <erik@hovland.org>:
1603 fid might be null. Check it before dereferencing in the
1604 ocpf_folder_lookup() call. Similar behavior fixed in openchangeclient
1605 folder_lookup() function.
1607 Patch from Erik Hovland <erik@hovland.org>:
1609 NotificationData 'could' be null. Check it before handing it to
1610 notification-callback(). This is important because eventually
1611 NotificationData will be dereferenced in the code path.
1613 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1615 Fix MAPI Warning error codes
1617 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1619 bugfix: Bugs in abp_tdb layer fixed.
1621 emsabp_tdb_traverse_MId() returns 'false' (i.e. not found) in most of
1624 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1626 Implement NspiQueryRows() address list enumeration
1628 We can now run openchangeclient --userlist on OpenChange NSPI server
1629 and Outlook 2003 is able to query GAL.
1631 Note: the initial patch was proposing:
1632 "(&%s(showInAddressBook=*))", purportedSearch
1634 I replaced it with "%s", purportedSearch only since we don't have yet
1635 any showInAddressBook attribute in AD.
1637 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1639 - Add server side implementation for NspiResolveNamesW
1640 - Refactor and split emsabp_verify_user in two functions
1642 A new function emsabp_get_account_info() implemented to fetch info
1643 about given user name. emsabp_verify_user() uses the above function
1644 check if authenticated account_name is valid mail account and if so,
1645 account_name is cached in emsabp context for future use
1647 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1649 NspiGetProps() reimplemented to match [MS-NSPI] specification more
1652 As a side-effect, emsabp_fetch_attrs() was altered to return
1653 MAPI_E_INVALID_BOOKMARK in case requested MId is not found. This way
1654 the function returns more meaningful error codes - if requested MId is
1655 not found this surely means InvalidBookmark rather than CorruptStore
1660 Path from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1662 Propagate dwFlags for incoming call to get EntryIDs correctly.
1664 Actually we need to propagate dwFlags so that emsabp_query()
1665 function to be able to determine whether EphemeralEntryID
1666 or PermanentEntryID is requested to be built.
1668 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1670 Implement PR_SEARCH_KEY attribute getter
1672 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
1674 Add PR_ADDRTYPE_UNICODE and PR_EMS_AB_PROXY_ADDRESSES_UNICODE getters.
1676 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1678 - Extend NspiDNToMId() to search in Configuration and Domain
1681 - NspiDNToMId() has been extended to cache returned data properly,
1682 i.e. DNs from Configuration partition are cached in ttb_ctx db, DNs
1683 from Domain partition are cached in in-memory db ttdb_ctx.
1685 Patch from Kamen Mazdrashki <kamen.mazdrashki@postpath.com>:
1687 emsabp_set_PermanentEntryID() implements MS specification more
1688 closely. For reference: [MS-NSPI] and [MS-OXOABK]
1690 - Replace emsabp_get_server_GUID with samdb_ntds_objectGUID Samba4
1692 - Change the way we initially fetched server GUID
1694 Credits to Kamen Mazdrashki <kamen.mazdrashki@postpath.com> for
1695 initial patch and associated research:
1697 It turns out MS implementation for NSPI reads the guid from: "CN=NTDS
1698 Settings,CN=<NETBIOS_NAME>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,<CONFIG_DN>" entry.
1700 Fix samdb_connect warning.
1701 Add function prototype to nsp,emsmdb header files.
1702 Change samdb_ctx from void * to ldb_context *
1705 Update docs to match those in mapiproxy doxygen docs.
1707 Roll to the latest Samba4 version.
1709 This should have no noticeable difference over the
1710 Samba4 alpha9 release, but its nice to use the latest
1711 version, and it might make a difference on the server
1716 Fix OpenChange server code and access to Samba4 databases.
1717 Starting with samba4-alpha9, there is no more configuration.ldb or users.ldb.
1718 All information can be accessed through a single access to SamDB and configuration records
1719 accessed through ldb_get_config_basedn.
1721 The following implementation has been tested and is working with:
1722 - mapiprofile profile creation
1723 - openchangeclient --mailbox
1724 - Outlook 2003 account creation
1725 - Outlook 2003 mailbox opening
1730 Fix openchange user provisioning scripts
1732 Forgot to commit this LDIF modifications for openchange provisioning
1737 - Fix OpenChange server provisioning (exchange classes and attribute only)
1738 - Remove deprecated provisioning steps
1739 - OpenChange user provisioning is still broken at this point, but will be
1740 fixed in further revisions.
1745 Fix a cast warning at compilation time for libmapi++
1747 - Update openchange libraries to 0.9: close trac ticket #165
1748 - Propagate pkgconfig solution in trac ticket #94 to other libs
1750 - Update openchange code to work with samba4-alpha9 release
1751 - Apply minor fix to ldb_wrap_connect (number of parameters)
1752 - Update mapiproxy code to handle new Samba4 assoc_group implementation properly
1753 - Update samba4 version script to match alpha9 and related git commit
1758 Ensure we get output if sqlite3 isn't found at configure time.
1760 Now outputs "no" instead of a blank.
1765 Fix attribution, per IRC discussion.
1770 Ensure API documentation gets generated for utilities functions.
1772 Some undocumented stuff in here to look at later.
1774 Add additional mapidump functions for notifications
1776 This is a patch from Johnny Jacob (Novell), with unit tests and some extra checks by me.
1778 Maintains good test coverage for this file.
1783 Avoid use-after-free for the number of rows in the SRowSet.
1785 Resolves issue #212, which has the valgrind error.
1790 Add test for get_proptag_value().
1792 Minor cleanups for mapidump functions.
1794 - Add support for dumping property tags using PT_SHORT.
1795 - Modify the tag for PR_whatever_ERROR results to include the _ERROR bit
1796 - Minor format change for PT_BINARY (training colon)
1797 - Ensure PT_SYSTIME respects the seperator value (API change)
1798 - Add a conditional assert() using infrastructure introduced in r1553.
1800 Implement mapitest support for all of libmapi/mapidump.c
1802 Update openchangeclient for the API change.
1804 Introduce a compile time definition that is set for SVN snapshot releases.
1806 The intent is to use this to protect assert() calls that indicate incomplete code.
1811 Improved Sun Studio compiler support.
1813 Patch by Brian Lu (Sun) - thanks again.
1815 Revert inadvertent part from previous commit (r1549)
1817 Add coverage testing support.
1819 ./configure now supports --enable-coverage, which builds with the right options
1820 to support gcov. Also adds a new makefile target ("coverage") that runs the
1821 required post-processing steps.
1823 Also added a test script that does a range of openchange related (client side)
1824 operations. This is useful for generating the test load for coverage checks.
1826 So the basic recipe here is
1827 1. Add the --enable-coverage option at configure time.
1829 3. Install it, or otherwise ensure that coverage-enabled libs are used
1830 4. generate the test load (e.g. run ./script/smoketest.sh)
1832 6. Inspect the results in ./covresults
1837 Add support for the SunStudio compiler.
1839 I previously special-cased the Intel C compiler, and relied on some ugly ordering requirements to
1840 ensure it all worked.
1842 This approach is cleaner, allowing options to be build up separately for each compiler, and for
1843 the C and C++ versions.
1845 Tested on Linux with all three compilers.
1850 Adding missing include.
1854 Patch from Brian Lu (Sun). Thanks very much.
1859 Additional portability fixes for SunOS.
1861 Based on a patch (ticket #220) by Brian Lu (Sun). Thanks very much.
1863 I modified the patch to try to use autoconf where possible.
1865 Resolves ticket #220.
1867 Remove MAP_FILE flag from mmap(). Looks like this is only required on really
1868 old unix systems (e.g. NetBSD prior to 1.0), which we probably won't ever support.
1870 Patch by Brian Lu (Sun) - thanks very much.
1872 Partly resolves ticket #220 - still need to handle the first patch.
1877 Fix build problem using Sun Studio compiler.
1879 Reported by Brian Lu (Sun), including a patch (Ticket #219)
1881 I slightly modified the patch, but nothing substantial.
1886 Patches provided by raboof:
1887 - Ticket #213 deprecated include directive removal
1888 - Ticket #214 missing sanity check
1889 - Ticket #215 fix some DEBUG macro level for sain ouput
1899 Use mapi_profile_get_ldif_path to find ldif path when one is not given
1904 Added libmapi++ wrapper function for CreateProfileStore
1909 Update buildsystem to avoid using bash-specific (well, not sh-supported) +=
1912 Should allow FreeBSD to be supported.
1917 Alternative solution to ticket #179, provided by Alan Alvarez.
1919 This alternative avoids the need for the user to clean up the string returned by what().
1921 Also includes a test case, which I've used to validate that the original (prior to r1524) code
1922 is faulty, and that both fixes (From Erik Hovland and from Alan Alvarez) deal with it.
1924 Resolves Ticket #179 (again).
1929 Make sure that the string given by what() can be used.
1931 Patch by Erik Hovland - thanks very much.
1933 Resolves ticket #179.
1935 Ensure that the libmapi++ messages example works even if there is no
1936 PR_CONVERSATION_TOPIC (subject).
1944 Modify mapi_object_set_logon_id() to be able to report errors.
1946 Original patch by Erik Hovland, I made some changes.
1951 Implement RopReloadCachedInformation (0x10).
1953 Minor change to IDL (previously implemented), and adds
1954 implementaiton and mapitest code.
1956 Also editorial comment fix in some related mapitest stuff.
1958 Resolves ticket #186
1960 Implement GetValidAttachments ROP (0x52).
1962 Includes IDL, implementation and mapitest.
1964 mapitest also checks DeleteAttach behaviour, which I don't think we previously
1967 Also includes a comment fix in the mapitest code.
1974 Patch by Erik Hovland <erik at hovland.org>
1979 Update the properties list.
1981 Patch from Girish Venkatachalam <girish at gayatri-hitech.com>
1986 Update API to use MAPITAGS enum.
1988 Update to match API change.
1990 Use appropriate enum here.
1992 Use enum for OpenEmbeddedMessage call.
1994 Use enums where appropriate.
1996 Update users of FindRow to use enums.
1998 We are supposed to be returning a MAPISTATUS, so switch to using
1999 the OPENCHANGE_RETVAL_ERR macro here.
2001 Use appropriate enums instead of int types.
2003 Use enums instead of ints / hardcoded values.
2005 Use enum types where appropriate.
2007 Fixes warnings from Intel C compiler.
2009 Return a suitable MAPISTATUS if we can't talloc sufficient memory here.
2011 Fixes warning from Intel compiler.
2016 Only pass "-Wmissing-prototypes -Wstrict-prototypes" to CFLAGS,
2017 not to CXXFLAGS as well.
2019 Avoids g++ warnings.
2021 Use enumerated type instead of integer.
2023 Remove unreachable code.
2025 Add "static" to avoid the need for additional declarations.
2027 Avoids noise from the intel c compiler.
2029 Namespace variable in macro, so we don't get noise about shadowing a
2032 Help icc find comparison_fn_t.
2034 Match up data types in argument and format string.
2036 Remove unused variable, and change a name to avoid a "shadowed declaration"
2042 Portability fixes for Intel C Compiler.
2044 Set CFLAGS early, otherwise AC_PROG_CC will set
2045 CFLAGS to "-O2 -g", which later has -O3 appended, which
2046 icc complains about.
2048 Check if we're really icc, and if so, turn off some warnings.
2049 Also turn off the "FORTIFY_SOURCE" define which causes problems
2050 with missing builtins.
2052 The warnings can (and should) be turned back on later, after we
2053 fix the current issues.
2058 Correct diagnostics messages.
2063 Remove explicit -Wstrict-aliasing=3 from command line.
2065 This is implied by gcc -Wall option, and icc produces nuisance warnings
2066 with it enabled (related to the -W option, not the code being compiled).
2068 Fix some memory leaks and a bug in mapiprofile.
2070 I introduced the bug in r1467, there could be others that are similar.
2075 Minor rewording of description
2082 Move initialisation up, to make sure everything is valid in the failure paths
2084 Patch by Erik Hovland. Thanks once again.
2086 This closes out ticket #178.
2088 Remove unreachable code.
2090 Patch by Erik Hovland. Thanks again.
2092 This is the second part of ticket #177. This completes the checkin of that ticket.
2094 Remove unreachable code.
2096 Patch by Erik Hovland. Thanks very much.
2098 This is the first part of ticket #177.
2103 Ensure that we check the result of the operation we just performed.
2105 Patch by Erik Hovland. Thanks very much for continuing to provide these.
2107 This is the third part of the patch in ticket #177. The first two parts are yet to be addressed.
2109 Make sure that return values are checked and report that given status if there is an error.
2111 Patch from Erik Hovland, with minor additional changes. Thanks again for the patch.
2115 More cleanups of memory leaks for setting up database and an associated failure case.
2117 fix leak in openchangeclient
2119 (as seen with valgrind of "openchangeclient -m")
2121 Fix memory leak in mapiprofile utility
2126 Ensure that when we pass --profile to mapitest, that profile
2127 gets used instead of the default.
2129 Also fix a small memory leak when using --profile, and add some
2132 Fix error handling case.
2134 Patch from Erik Hovland - thanks very much.
2136 Resolves ticket #175.
2141 Remove unused enum values.
2143 Remove unused code - no simple tests.
2148 Update the script version of samba4 to alpha8.
2153 Add tevent to dependencies.
2158 Remove unused headers.
2160 Patch by Erik Hovland - thanks very much,
2162 Resolves ticket #164.
2164 Apply patch from Erik Hovland, from ticket #162.
2166 From the original patch:
2167 "The problem is that when you do stat first w/ a file string anyone can
2168 exploit the time in between to do whatever they want with the file that
2169 the string is a name for. Instead, try to open straight away. Then fstat
2170 w/ the file descriptor."
2172 I think the patch is fine, although I didn't run the torture test.
2177 Avoid duplicate call to mapi_object_get_logon_id
2179 Based on a patch proposed by Erik Hovland, but adapted to follow the
2180 pattern used in OpenStream().
2182 Resolves issue #163.
2184 Applied modified version of patch from Erik Hovland to address unused variables.
2186 See http://trac.openchange.org/attachment/ticket/160/unused-values for
2191 My version removes variables (rather than commenting them out) since we don't need
2192 them now. I also updated the documentation for options that are no longer available
2194 The origin of the unused PR_FOLDER_CHILD_COUNT is a bit strange. It was introduced
2195 in r808 (to resolve #103), and looks like it might have been used for debugging - no
2196 impact on the code. I pulled out the whole lot.
2198 Tested with openchangeclient --fetchmail --folder="Sent Mail" and mapitest.
2200 Use array form of delete (error identified with libmapixx-attach test, using valgrind).
2202 Fix potentially unused variable.
2204 Tested with mapitest (even though nothing should have been affected) and
2205 with libmapixx-test and libmapixx-attach under valgrind.
2207 Patch is remaining part of http://trac.openchange.org/ticket/153
2209 Thanks to Erik Hovland for the patch.
2214 Remove dead / unused code.
2216 See http://trac.openchange.org/ticket/152#comment:1 for rationale.
2218 Original patch by Erik Hovland - thanks again.
2220 Update test case to reflect new behaviour
2225 Link libmapistore against tdb.
2227 Update copies of config.guess and config.sub.
2229 Link libmapiproxy against tdb.
2231 Declare a SOVERSION for libmapistore.
2233 Use LDFLAGS when linking exchange2ical.
2235 Create symlink for libmapistore.
2237 Link libmapi against tevent since it uses tevent_context_init, link ndr_exchange.po into libmapiserver since it uses some ndr_push_* symbols.
2239 Fix typo in variable name.
2244 Fix typo in Python variable name.
2246 Keep separate flags for libraries around in config.mk.
2248 Link libmapiserver against all libraries.
2253 Add some PidTag* mapping involved with Recipients and RecipientRow
2258 Patch from Erik Hovland <erik@hovland.org>:
2260 Initializes variables to make sure they aren't used uninitialized.
2264 - Add sanity check on mapitest_common creation routines within
2267 - Apply patch from Erik Hovland <erik@hovland.org>: check return
2270 Patch From Erik Hovland <erik@hovland.org>
2272 In torture_rpc_mapi_sendattach a call is made to the system function
2273 read at line 199. The return value of read is assigned to read_size,
2274 which happens to be of unsigned type. So if read returns -1 (which it
2275 can) it will not be noticed. The patch changes the type to ssize_t
2276 (signed) and checks for -1 as well as zero to break out of the loop.
2280 Patch from Erik Hovland <erik@hovland.org>
2282 1. In mapiproxy, the directory handle dir will be leaked after it is
2284 2. exchange2mbox main() should use exit at line 785 just like all of
2285 the other error paths so that we don't leak anything
2289 Patch from Erik Hovland <erik@hovland.org>
2291 Adds a #include config.h to suppress compiler warnings for vasprintf
2293 Patch from Erik Hovland <erik@hovland.org>:
2295 Make sure pointers are valid before dereferencing
2296 1. lpProps 'might' be null
2297 2. Add folder to variables checked before moving on.
2298 4. Check nprop->guid before giving to strcmp, two times
2299 6. Check definition before handing to strlen (which will dereference
2300 it) Reworked this one to include talloc_free
2301 7. Check MessageClass? before handing to strncasecmp
2302 8. Check backend, return if null.
2303 10. Don't print out anything if lpProp is null
2304 11. Check attach_size before dereferencing
2309 Fix pull structure for QueryRows reply when no RowData is available
2314 - Add preliminary IDL support for Exchange 2003/2007 EMSMDB RPC calls:
2318 - Add LZxpress and XorMagic support to EcDoRpcExt2 request/reply
2319 blob. However it doesn't yet support Chained calls.
2321 - Add AuxInfo/AUX_HEADER structures and IDL
2323 - Refactor mapi_request and mapi_response: move obfuscate_data calls
2324 up to the EcDoRpc layer
2329 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2331 call ProcessNotification() after each successful
2332 emsmdb_transaction() in all the libmapi calls.
2334 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2336 Mapi notifications can occurs inside any emsmdb_transaction; currently
2337 only the notification send by the server inside the
2338 emsmdb_transaction_null() in MonitorNotification() are
2339 parsed/processed/delivered to the appropriate callback.
2341 To be able to process all the received notifications, the notification
2342 structure must comprise the private data to be passed to the
2343 notification callback, since in the average mapi call this data is not
2344 available. This patch modifies the Subscribe() call and the
2345 mapi_notification structure, adding the private_data parameter (also the
2346 related Subscribe() calls are update) and add a libmapi call
2347 (DispatchNotifications) to force the notification dispatching in
2348 a [quite] non blocking way
2353 Patch from Paolo Abeni <paolo.abeni@gmail.com>:
2355 ProcessNotification() is ignoring the handle value contained into the
2356 processed notifications. This means that if many Subscribe() calls are
2357 performed on different folders but with the same flags, all the
2358 registered callback are [incorrectly] signaled with each received
2361 The attached patch match the handler contained into the notification
2362 message against the notification object handle to avoid such
2368 Make sure delayed authenication is not called when server mode is enabled
2371 Update property list to reflect current OAB props.
2373 This deletes a few incompatible properties. Cannot determine the history of the PR_MAILBEAT_ props.
2375 Fix display of Folder ID values (one is filled with ., the other is prefixed with .16 instead of being filled.
2377 Also remove duplicate close() of file descriptor.
2389 Implement RopTransportNewMail (0x51).
2391 Includes IDL, libmapi implementation, and basic mapitest coverage.
2393 Also fix a few doxygen / formatting things.
2398 - Add Redirect buffer support for OpenMsgStore and OpenPublicFolder.
2399 This commit fixes the ecWrongServer (0x478) error users encounter
2400 while running openchange based software in a clustered Exchange
2406 Implement RopCloneStream (0x3b) and RopWriteAndCommitStream (0x90).
2408 Includes IDL, implementation and mapitest tests.
2413 Fix Search notifications.
2415 MS concurred that the docs are wrong.
2417 Patch by Paolo Abeni - thanks very much for the
2418 investigation and the patch.
2420 Update GetStoreState documentation.
2422 Implement RopSetPropertiesNoReplicate (0x79).
2424 IDL was already done. mapitest for DeletePropertiesNoReplicate was
2430 Implement (IDL, libmapi, mapitest) RopHardDeleteMessagesAndSubfolders (0x92)
2432 Also fix some bugs in mapitest common code, and an incorrect sanity check in CreateFolder().
2437 Implement RopHardDeleteMessages (0x91).
2439 Includes IDL, implementation and mapitest.
2442 Ignore generated property file.
2447 Add PT_ACTIONS to list of data types.
2449 Not fully/correctly handled yet.
2454 - Add dcerpc_mapiproxy:delegated_auth option
2455 This option delays mapiproxy-remote server authentication when
2456 the client sends the first request on a given pipe. This is
2457 mandatory in order to have delegated credentials to work.
2459 - Factor remote connection into mapiproxy_op_connect
2464 Add session state to the notification.
2465 Patch by Paolo Abeni - thanks for the investigation and fix.
2467 Also remove a stray debug message.
2469 Add a new mapitest suite for OXCNOTIF (Core Notifications).
2471 Add a test to the OXCNOTIF suite based on test case provided by Paolo Abeni.
2476 Update IDL for ModifyRules (0x41) and add IDL for
2477 UpdateDeferredActionMessages (0x57).
2479 This is a checkpoint commit, pending further investigation
2480 into how we handle PtypRestriction and PtypRuleAction.
2485 Mapitest cleanups - remove GetLastError(), and other minor edits.
2487 Implement LockRegionStream and UnlockRegionStream ROPs.
2489 These appear to be a relatively recent addition to the
2490 documentation, possibly only used in Exchange 2007 / Outlook
2493 This is complete except for testing of whether the locking
2499 Use parent folder full replica ID: 2 bytes instead of 1 byte
2501 - Add Implementation for Logon redirect response buffer in OpenChange IDL
2502 - Update libmapiserver size calculation routine for Logon call to handle this case
2507 Add session and logon_id to the list of parameters to copy between objects.
2508 This patch fixes a problem in openchangeclient when using the --folder parameter.
2511 Remove code relating to free'ing the bookmark returned
2512 by SetCollapseState. Initial investigations with MS
2513 lead me to believe that you can't free that resource.
2515 May be more work in this area as investigation continues.
2520 Fix memory leaks for functions relying on pull_emsmdb_property
2525 Fix emsabp valgrind errors
2530 Make it possible to specify a version number for release different
2531 from major/minor from configure.ac
2536 Make it possible to open and control up to 255 mailboxes within a
2537 single MAPI session.
2539 It implements an internal management of a logon_id array at session
2540 level + enable transparent transport/copy of current logon_id value
2541 among MAPI calls + finally transparently free the logon_id value when
2542 the store object (PF or mailbox) is being released.
2544 - Retrieve recipients from OpenEmbeddedMessage reply
2545 - Test the implementation in mapitest
2546 - Avoid potential memory leak: steal context for returned ulPropTags.
2551 Be more tolerant with Logon request flags
2553 Set retval to MAPI_E_INVALID_BOOKMARK rather than returning.
2554 This case still needs to be fixed though.
2556 Delete debug message
2558 Create a default GetProps reply on error
2563 Fix retval problem in libmapi/nspi.c for GetIDsFromNames.
2564 Function returns MAPI_E_SUCCESS, but errno is set to 0x0000000b.
2565 Set errno to retval to work around this problem.
2568 NSPI-GETIDSFROMNAMES
2570 OXCPRPT-NAME-ID mapitest now passes: The QueryNamedProperties ecMemory retval
2571 has been worked-around by setting QueryFlags to NoStrings to limite the results
2572 scope. This means the MNID_STRING case is not fully checked anymore. We should maybe
2573 add additional tests to do full coverage.
2575 Fix GetNamesFromIDs IDL and implementation.
2577 Note: We should probably update the function prototype
2578 so it takes a mapi_SPropTagArray rather than a single property.
2581 Protect against bad results from GetGALTable().
2583 Resolves ticket #142
2588 Patch from Paolo Abeni: Add sanity check to Subscribe
2589 and prevent applications from crashing if notify context
2595 Ensure NSPI server functions have a valid dcesrv_handle
2597 Add quick/additional configuration information on how to setup openchange server
2599 This commit adds a retval check on private data retrieval function and prevents QueryPosition from causing a
2600 segfault when parent object is meant to come from GetContentsTable.
2602 - Fix NspiGetMatches server reply when specified username is invalid and
2604 - Make use of talloc hierarchy for NspiGetProps properties fetch + fix
2605 a talloc_free bug leading to segfault on failure.
2607 Prevent from registering same mapistore backend multiple times
2615 Add skeleton for GetRulesTable
2617 - return MAPI_E_SUCCESS when QueryRows reply count is 0
2618 - Move Reminders from IPM Subtree to Mailbox root
2620 - Add QueryPosition implementation
2621 - Move from offset to numerator/denominator couple for table objects
2623 Outlook now opens properly using openchange server and display the
2624 mailbox folder list with icons ;-)
2626 - Add skeletons for Restrict, SortTable, FindRow calls
2627 - Introduce emsmdb provider table object
2628 - Add preliminary table implementation for system/special folders
2629 - Add preliminary implementation of GetHierarchyTable, SetColumns and QueryRows
2630 - Improve creation of GetProps reply blob for Mailbox folder
2631 - Fix bug in EcRRegisterPushNotification when associated handle is invalid
2632 - Remove some usage of ldb_filter and use format string instead
2633 - Update libmapiserver sanity checks and look for error_code != MAPI_E_SUCCESS
2634 so openchange server is able to return failed replies to MAPI clients
2635 - Introduce flaggedPropertyRows in libmapiserver_push_property (needed by QueryRows)
2637 This commit makes openchange server work with "openchangeclient --mailbox" ;-)
2639 Still preliminary but anyway worthwhile enough to be mentioned ...
2641 - Add a function to count subfolders of a container
2642 - Add a function to wrap MAPI tables over openchangedb
2643 - Factorize code used to fetch property values from LDB records
2645 - Add default properties to folder records while provisioning mailbox
2646 - Add few more mapping for PR_* to PidTag
2647 - Add a new MAPI property to the list
2649 Avoid openchangeclient --mailbox to segfault when run vs openchange server
2652 Remove some ldb_filters, and just use varargs into ldb_search
2654 warning fix for 64-bit arch.
2656 Revert previous commit.
2658 Experimental commit to fix build problems resulting
2659 from property changes.
2664 - Add PidTagDisplayName property to Mailbox object
2665 - Add PidTagParentFolderId to all system/special folders
2667 - handles array depends if a valid mapi_repl exists. This commit
2668 fixes the destructor semantics.
2669 - Fix a mapitest segfault encountered while run vs openchange server
2670 - Return 1 in SRowSet_propcpy if an error was encountered.
2672 Fix libmapi stack segfault when MAPI calls returns
2673 with error_code different from MAPI_E_SUCCESS.
2675 Do not process NSPI request if we can't find the handle
2677 Remove unnecessary ldb_filter parameter and replace it
2678 with ldb_search format string.
2683 - GetPropertyIdsFromNames skeleton added
2685 - Fix how Release replies are handled in mapi_repl[] array
2686 - Remove Release size calculation
2687 - Fix QueryRows size in libmapiserver
2688 - Add a dummy/skeleton GetPropertiesSpecific function for mapistore objects.
2689 - GetHierarchyTable skeleton added
2690 - SetProperties skeleton added
2691 - CreateMessage skeleton added
2692 - SaveChangesMessage skeleton added
2698 Set mapi_response to NULL upon init ... just to get sure
2700 Fix MAPIUninitialize segfault
2708 - Add skeleton for GetContentsTable Rop
2709 - Add skeleton for some [MS-OXCTABL] Rops: SetColumns, SortTable, QueryRows, SeekRows
2710 - Add libmapiserver size calculation functions for all the above
2711 - Ensure we only set objects parameter if it exists
2712 - Return when dcesrv handle is not available
2714 Merge s4-alpha7 branch back into trunk
2719 - Add several PidTag to openchange.ldb folders
2720 - Add provisioning convenient function which adds attribute/value pair
2721 to a given folder record
2722 - Replace existing special folders reference within Inbox with PidTagIpm* tags
2723 - Add new PidTag values to mapi-properties
2724 - Add a function to libmapiproxy to build a folder EntryID as described in MS-OXODATA
2725 - Add a function which builds special properties for openchangedb folders
2726 - Add PT_BOOLEAN case to openchangedb folder get property function
2727 - Keep a reference to the mailbox username within emsmdb provider context
2728 - Create and return a handle in RegisterNotification
2733 Wrong MessageClass size calculation fixed
2736 Remove duplicate _GNU_SOURCE definition (already specified by Makefile)
2738 Ignore new binary and trial output.
2743 - Fix systemfolder value for System/Special folders
2744 - Add GetProps support to System/Special folders
2746 Add auto-generated parser to the ignore list
2748 - Add auto-generated parser for MAPI property to PidTag mapping
2749 - Add some PidTag values
2750 - Add a lookup and get property functions on system folders
2752 - tuple SystemIdx in the dictionnary to workaround the ordering problem
2753 - Add ParentFolderId attribute to System Folders
2755 - Add creation of "Special folders" to mailbox provisioning
2756 - Rename fid attribute to PidTagFolderId
2757 - Rename name attribute to PidTagDisplayName
2758 - Rename ExplicitContainerClass to PidTagContainerClass
2760 Fix GlobalCount increment
2762 Fix mailbox provisioning
2765 Add test for FILETIME structure.
2767 Update docs for mapiproxy entry.
2770 Fix handling of fids.
2774 - Fix openchangedb mailbox hierarchy and introduces subfolders
2775 as described in [MS-OXOFOLDS] specifications.
2776 - Update openchangedb API to reflect this change.
2778 Rename private mailbox folder "non_ipm_subtree" to "mailbox_root"
2779 to fit with MS-OXOFOLDS specifications.
2781 - Add provisioning code for GetReceiveFolder defaults
2782 - Check if mapistore content repository already exists for the user
2783 - Make mailbox creation verbose
2786 Fix parentfolder reference.
2790 Use recursive call to create folders.
2792 Simplify list iteration, PEP8, avoid using string exceptions.
2797 Fix 'dereferencing type-punned pointer' warnings
2799 - Add strict-aliasing compiler flags
2800 - Fix format string warnings on ubuntu buildbot
2802 - Add _FORTIFY_SOURCE=2 to the compiler CFLAGS
2803 - Fix warnings introduced by -D_FORTIFY_SOURCE
2806 I might have been a bit hasty with that last commit...
2810 Try harder to find sqlite3.
2812 Seems to be in sqlite.pc on Ubuntu.
2814 Fix warning on 64-bit arch.
2818 - Add RopGetReceiveFolder (0x27) implementation
2819 The function respects should respect the semantics and behavior
2820 as described in MS-OXCSTOR specifications. However the python's
2821 code modification required: add ExplicitMessageClass attributes
2822 to folder records is not yet effective.
2824 - Add GetReceiveFolder size calculation function to libmapiserver
2825 - Add a function to openchangedb API to retrieve the FID/ExplicitMessageClass
2826 couple for a given SystemFolder within user's mailbox.
2828 - Provision scripts: create a mapistore default storage space within ${private}/mapistore/${username}
2829 - Provision scripts: add default sqlite:// mapistore URI for system folders
2830 - Add mapistore context initialization when calling OpenFolder on SystemFolder
2831 - Add mapistore context release for folders in emsmdbp object destructor
2833 Factorize emsmdbp objects
2834 Add emsmdbp_object generic talloc destructor
2837 Add test for PT_MV_LONG.
2839 Add tests for PT_I8 and PT_BINARY
2841 Fix warning about no newline at end of file.
2843 Remove most recently added tests from "to be done" list.
2845 Add a couple more mapi_SPropValue tests.
2850 - Initialize mapistore within emsmdb provider context
2851 - Add destructors for MAPI handles and mapistore contexts
2852 - Remove emsmdbp_ctx memory context structure member and
2853 allocate directly with emsmdbp_ctx
2855 I don't see any good reason why we would pad MAPI replies with some bytes.
2856 I guess it comes from some prehistoric openchange code.
2858 Fix systemfolder assignment depending on IsSystemFolder value
2860 - Initialize OpenFolder server reply
2862 - Wrap TDB connections to mapistore (code from samba4) so
2863 multiple instances can open read/write to the same TDB database
2864 - Remove static id_mapping_context (replaced with tdb_wrap calls)
2865 - Update mapistore linkage rules so mapistore can be used with exchange_emsmdb server
2866 - Link mapistore with exchange_emsmdb
2868 Fix aclocal warning for AC_DEFINE comparison_fn_t
2870 Remove useless GetProfilePtr from IProfAdmin interface
2871 Closes trac ticket #131
2873 Add missing script - prevent configure from generating warning vs missing file.
2875 Remove stamp-h1 file during distclean and add it
2878 - Add server-side GetReceiveFolder (0x27) skeleton
2880 Work around the comparison_fn_t redefinition problem
2881 between libocpf and ndr.h
2883 FreeBSD doesn't have time.h daylight global variable
2886 start testing mapi_SPropValue_array.
2887 This also tests some underlying functions.
2892 Add comparison_fn_t support to ndr.h
2893 This was the latest change require to make openchange compiles under FreeBSD
2895 = samba4/openchange FreeBSD support completed =
2900 Remove duplicated post_install call
2902 Add a post_install operation on FreeBSD
2903 Make sure pidl is installed properly.
2905 Patch samba4 tarball so it compiles properly on FreeBSD 7.0
2906 Note: this is a dirty hack which needs to be removed in the future
2908 Install Samba4 correctly although user's PKG_CONFIG_PATH env variable
2909 may not be adjusted properly.
2911 Avoid download samba4 release tarball if already available
2912 in current directory.
2914 - Add test for comparison_fn_t in configure.ac
2915 - libocpf auto-generated files include stdlib.h and prevent from
2916 having the proper comparison_fn_t typedef. This commit works around this
2917 problem and define comparison_fn_t within a private header.
2919 getline is a stdio GNU_SOURCE extension not available under FreeBSD.
2920 Use fgetln instead when it is compiled on this OS.
2922 FreeBSD doesn't define sighandler_t but sig_t
2924 Replace open() call with O_DIRECTORY flag (Linux specific) with opendir
2926 - Add non-default search path /usr/local/{include,lib} to
2927 CFLAGS and LDFLAGS when compiling OpenChange under FreeBSD
2928 - Make use of LDFLAGS while compiling openchange tools
2931 A few improvements for property handling.
2933 Also add unit tests to verify behaviour is correct.
2935 The implementation for the FlatUID (GUID) structure appears broken. Perhaps I'm not using it correctly.
2937 Microsoft confirmed the LCID is wrong in the spec, and will be updated in the next rev.
2942 Check for Flex version < 2.5.35
2943 Make sure users can define the FLEX environment variable
2945 Add automake scripts for AC_CANONICAL_HOST support
2946 Needed for FreeBSD OS detection in configure.ac
2951 Fix warnings from lexer output.
2953 Fixes for warnings on 64-bit architectures.
2955 Fix warning on 64-bit architecture.
2958 Add some more tests for openchange.mailbox.
2960 Fix creation of new mailbox after provision.
2962 Always use the same URL when connecting to openchangedb.
2964 Fix arguments to openchangedb_provision.
2969 Fix libmapi 64-bit machine cast warnings mentioned in Brad's devel email
2972 Warning fix for 64-bit arch.
2977 Add doxygen definition for RopRelease
2979 - Add server-side skeleton implementation for RopOpenFolder and RopRegisterNotification
2980 - Add preliminary size calculation functions in libmapiserver for the 2 calls above
2981 - Fix size bug for serialized requests
2982 - Add skeleton case for RopGetPropertiesSpecific on SystemFolders
2983 - Make sure the GetProps reply blob is initialized whatever happen
2984 - Add a skeleton emsmdbp folder object init function
2989 Remove debug strings for GetPropertiesSpecific Rop
2991 Enable verbose output in server mode - useful during development
2993 Implement preliminary server-side RopGetPropertiesSpecific call for mailbox object.
2995 - Fix GetProps blob for PT_BINARY: use SBinary_short instead of Binary_r
2996 - Fix GetProps size: subcontext is not added to the fixed size calculation
2998 - GetPropsSpecific size calculation function added to libmapiserver
2999 - Function to create a GetProps reply property blob added to libmapiserver
3002 Add tests for provisioning.
3004 Several cleanups in python code, add tests for schema use.
3006 Don't clear PYTHONPATH override.
3008 Remove unused imports, add extra tests.
3010 Use member variable for Ldb, rather than subclassing.
3012 Remove print statements to avoid cluttering test output.
3014 Add simple and incomplete testcase for OpenChangeDB.
3016 Move wipe of data to mailbox.py, simplify arguments to add_root_mailbox.
3018 Move adding a server to mailbox.py.
3020 Move ldif from oc_provision_openchange.ldif into Python.
3022 Stop providing setup_path to OpenChangeDB, as it's no longer used.
3024 Avoid using separate LDIF file when creating folder mailboxes.
3026 Avoid using separate LDIF file when creating mailboxes.
3028 Avoid passing full names object.
3030 Add check-python target.
3035 fix openchange_newuser.
3037 Use SamDB for actual SAM databases, Ldb otherwise.
3039 Remove unused parameters, don't make parameters optional if they are mandatory.
3041 remove unused parameters.
3043 make mailbox object-oriented, remove creds/lp parameters.
3045 Fix OpenChangeDB syntax.
3050 - Add a systemfolder member to the MAPI handle structure to make a difference
3051 between objects managed by mapistore and those stored within openchange.ldb
3052 (root mailbox folders).
3054 - Add opaque functions to set/get private_data and systemfolder to the MAPI
3057 Minor doxygen fix/improvement
3059 Add libmapistore object files to the ignore list
3061 - Add a very preliminary and light libmapistore implementation.
3062 mapistore only supplies init/release and add/del backend contexts.
3063 This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
3064 - A temporary mapistore testing tool has been added locally for implementation checks.
3067 Use convenience function for connecting to openchange.ldb.
3069 Use standard LDB functions - openchange.ldb is not a SAM database.
3074 Implement support the SUMMARY language tag.
3076 Initial checking of libical based exchange2ical code.
3078 This has a long way to go, so think of this as more of a checkpoint
3081 See http://sourceforge.net/projects/freeassociation/ for the library, or
3082 see if your distro has a package.
3086 Add missing parameter to API documentation.
3088 Resolves ticket #130.
3090 API documentation fixes for OpenEmbeddedMessage()
3092 Implement OpenEmbeddedMessage ROP (0x46).
3096 Factor out message creation and message fill actions.
3098 Also remove GetLastError() where appropriate.
3100 Add some API documentation.
3105 Update openchangepfadmin description
3106 Fix tool relying on libmapiadmin
3113 Add more explanation for README
3115 Reimplement RTF decompression.
3117 Add unit tests from MS-OXRTFCP.
3119 Fix warnings in example code
3121 Add description for libmapiadmin
3123 Add description for libmapi / libmapi++
3125 Start on the directory descriptions.
3131 Add overview. Extracted from API docs.
3135 Outline of README file.
3137 (also using this to test buildbot without changing real code)
3141 Add Version field - avoid breaking pkg-config --list-all
3143 Fix warnings (gcc 4.2.4)
3146 Use variable for package version rather than hardcoding it.
3156 - Add an implementation of the MAPI handles management API. The API
3157 internally uses an in-memory TDB database to keep object hierarchy
3158 and a doubled chained list to associate private data to handles.
3160 The API currently provides add, search and delete facilities. Note
3161 that while untested, the delete operation is designed to recursively
3162 delete children of the 'meant to be deleted' handle.
3164 Finally the API doesn't remove TDB records but mark them as free so
3165 they can be reused across MAPI session and prevent from handle counter
3166 growing indefinitely.
3168 - Add a preliminary implementation of the Release call
3169 - Add Release size calculation to libmapiserver
3170 - Update EMSMDB provider to use MAPI handles API
3173 Minor api documentation fix.
3179 Minor API docs tweak.
3181 Token commit of tiny API docs fix.
3184 Look for GNU make harder (gmake on BSDs).
3189 - Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
3190 - Add common routines for OpenChange LDB context init and search
3192 - Add libmapiserver skeleton with size calculation routine for RopLogon
3193 - Change DSO linking dependencies for mapiproxy shared libraries
3194 - Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
3198 Remove .po and .o objects within libmapiproxy subdirectory
3200 Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
3201 Fix make uninstall for AD and profiles directories
3205 Add python code and ldif files needed to create and populate the experimental
3206 openchange dispatcher database.
3208 Add 5-Minute configuration documentation for OpenChange server mode
3210 - Rebase ldif files into sub directories:
3211 * AD for OpenChange AD modifications
3212 * profiles for OpenChange IProfAdmin interface
3213 - Makes it easier figuring out LDIF files scope
3214 - Prepare setup folder for LDIF openchangedb files integration
3215 - Update install/uninstall Makefile rules for ldif files and
3216 make sure everything got removed
3221 Add support for short language names (e.g. en-AU) for lcid.
3226 Delete deprecated libmapi setup Perl script
3229 Add summary report for tests.
3231 Make mapitest return the number of failed tests.
3236 - Add pkg-config pc file for libmapiproxy
3237 - Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
3239 Free memory allocated by the fake subcontext in
3240 ndr_pull_mapi_response.
3242 This fix saves 300kb of memory and removes 700 loss records while
3243 valgrinding mapitest.
3245 Fix segfault - Add sanity check - when SPropTagArray is NULL in
3246 NspiQueryRows request
3248 Fix openchange_newuser name typo
3250 Fix server provisioning command line examples
3252 Fix several libmapi leaks.
3254 mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
3255 and was not free'd when libmapi function released their
3256 context. Furthermore we need to release mapi_response->mapi_repl and
3257 mapi_response->handles which are now automatically free'd when
3258 mapi_response destructor is called.
3260 However note that this fix is not perfect: mapi_response memory is not
3261 free'd properly when calls exit with an error.
3263 This commit also make use of talloc_steal where necessary to keep
3264 returned fields allocated.
3268 Use named context rather than autofree
3270 Fix memory leak in emsmdb.c: Use a temporary memory context for
3271 request and length allocation in emsmdb_transaction.
3273 - This removes 827 loss records and approximatively saves 41kb of
3274 memory while valgrinding mapitest
3276 - Fix memory leak in GetDefaultProfile and GetProfileTable.
3277 - Save from 10 loss records while valgrinding mapitest
3278 - Developers are now responsible from freeing the GetDefaultProfile
3279 string the function allocates.
3280 - Apply changes to all openchange tools.
3282 Add blackbox subunit tests for mapiprofile tool
3285 One more trivial fix.
3289 (Yep, more trivial changes)
3291 Fix incorrect LCID for en-CA.
3293 (OK, its token, I admit).
3296 Don't define _GNU_SOURCE unconditionally.
3300 Prevent mapiproxy from multiple init and modules/server register
3301 when an smb client connect to the server (e.g. windows browser or smbclient)
3305 According to [MS-OXOCAL] Section 2.2.1.44.1
3306 "RecurrencePattern Structure", a monthly recurrence
3307 also has a Day specific parameter.
3312 Simply run autogen.sh rather than replicating it inside the Makefile.
3314 need to run aclocal before autoconf for the pkg-config macros.
3318 Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
3319 Saves from 4 loss records while valgrind'ing mapitest.
3321 Use temporary memory context for EcDoConnect.
3322 Saves from 20 loss records when valgrind'ing mapitest.
3324 Free PropertyProblem structures returned by CopyTo.
3326 Replace deprecated talloc_init calls with talloc_named
3327 This commit removes some valgrind loss records talloc_init was responsible for
3330 Free everything when running mapitest --list-all.
3331 Valgrind however shows a loss record related to talloc_init ...
3334 Minor Intel C compiler warning fixes.
3336 Minor apidocs cleanups.
3340 Use double pointer for lp_ctx in GetLoadparmContext assessor
3342 Fix memory leak in utf8 lexer.
3344 - Remove custom iconv_convenience from pull_emsmdb_property and use
3345 lp_iconv_convenience on loadparm_context argument instead.
3347 - Change OpenChange libmapi API to reflect this change
3349 - Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
3350 (mostly for mapitest modules). libmapi/mapiproxy developers
3351 should never have to make use of it.
3353 - Remove pointless duplicated call to lp_load_default in MAPIInitialize.
3355 Free lpProps returned by GetProps, Fix context error in valgrind
3357 - Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
3358 - Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
3359 prevent from "invalid read size of 4" messages from valgrind and remove context errors.
3362 Don't install mapiproxy if python wasn't found, since
3363 we wouldn't know where to install the provisioning scripts or be able
3368 Merge libmapi-0.8 branch r1015 to 1017 into trunk
3370 ** Start libmapi-0.9 COCHRANE development **
3372 Merge libmapi-0.8 branch changes into trunk
3376 Add python install/uninstall rules to provision rather than mapiproxy-servers
3378 - Remove server Makefile rules
3381 Note: server and providers have been merged within mapiproxy,
3382 so there is no reason keeping this deprecated code.
3386 Undoing change committed in r1004.
3388 Use .po files instead of .o files for openchange tools
3390 Add --version to openchange tools
3392 Add COPYING file with GPLv3 license
3396 - Add RenameProfile function to IProfAdmin API
3397 - Remove pointless CopyProfile from IProfAdmin API
3398 - Add --rename option to mapiprofile tool
3399 - Update man page to reflect this addition
3401 (close trac ticket #124)
3403 Fix libmapi from crashing when mapi_repl is NULL.
3405 Update Samba4 git rev to fix the charcnv segfault met in openchange
3409 Try to find the Samba python modules if they're not installed in the system
3414 - Fix Subscribe semantic bug and add WholeStore boolean parameter
3415 - propagate API change to tools/torture callers
3417 - Add assessor functions to set dumpdata and debug level in libmapi
3418 (SetMAPIDumpData and SetMAPIDebugLevel)
3419 - OpenChange tools modified to use these function rather than set these
3420 parameters on their own
3422 - Fix --debuglevel segfault in openchange tools
3423 - Enable logging to stdout in MAPIInitialize
3427 * OpenChange libmapi function now returns MAPI error instead of -1
3428 - use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
3429 - add doxygen documentation for some missing functions/files
3431 - Missed this event->tevent change in previous commit
3433 - Update openchange to use latest Samba4 master git rev (990491d)
3434 - Fix references to tevent_context structures
3435 - Fix iconv_convenience init in MAPIInitialize
3436 - Remove errorchecks mapitest module warning
3439 Use tevent_context_init.
3445 Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
3446 using profile's mailbox string directly. This commit fixes the bug.
3448 - Add EcDoConnect and EcDoDisconnect preliminary support to
3449 dcesrv_exchange_emsmdb.c
3450 - Add internal session management mechanism to EMSMDB server
3451 - Add init and unbind modules function to EMSMDB server
3452 - Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
3455 Fix valgrind errors caused by using free'd memory.
3459 Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
3460 Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
3461 0xB (opnums using LZ based compression).
3463 - Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
3467 - Preliminary implementation of NspiGetProps NSPI server function
3468 - Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
3469 - Use correct ldb context (users or conf) depending on where MId is
3470 located (on-memory or on-disk)
3471 - Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
3473 *** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
3475 - Preliminary implementation of NspiDNToMId NSPI server function
3476 - Add emsabp_search_legacyExchangeDN to search for a record given its
3477 legacyExchangeDN attribute.
3479 - Preliminary implementation of NspiQueryRows NSPI server function added
3480 - fix a bug in the MID TDB traversal routine: cut dptr to dsize length
3481 rather assuming it is NULL terminated
3482 - Add support for "referenced" property tags
3483 - Add support for PR_MV_STRING8
3484 - Add emsabp_search_dn which search for a DN within AD and return the
3485 associated LDB message
3486 - Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
3487 emsabp_property array
3489 Prevent from trying to add a NULL element to profile database and segfault on strlen
3491 Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
3493 - Preliminary implementation of NspiGetMatches NSPI server function
3494 - Make use of a on-memory TDB database for Ephemeral Entry IDs
3495 - Add TDB traversal routines to retrieve DN associated to MId
3496 - Move lp_ctx within emsabp_ctx for convenience
3497 - Add EphemeralEntryID to Binary_r routine
3498 - add emsabp_query (Find attribute matching given property tag and
3499 return associated data)
3500 - add emsabp_fetch_attrs which builds a SRow array given a MId and
3501 requested property tags.
3502 - add emsabp_search which searches AD given input search criteria
3503 - add a preliminary Property Tag to AD attribute mapping + associated
3504 functions in emsabp_property.c
3506 Note: This NspiGetMatches is limited to MAILUSER which means we only
3507 look for users (located within users.ldb). This limitation will be
3508 removed when we have a preliminary working emsmdb server, so we can do
3509 more extensive NSPI server tests.
3511 Add sanity check to get_SPropValue_SRowSet, prevents the function
3512 from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
3514 Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
3515 with NULL ppOutMIds is returned.
3520 - Preliminary NspiGetSpecialTable implementation added to NSPI
3521 server/EMSABP provider: Hierarchy Table supported (required during
3523 - add PT_BINARY support for mapidump_SPropValue
3524 - fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
3530 Add new Display Type values (used by EMSABP provider)
3532 Change DEBUGLEVEL for RfrGetNewDSA
3534 - preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
3535 - mapiproxy-servers-install now installs openchange python scripts and ldif file
3539 Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
3540 This structure is required for NTLM_AUTH_IS_OK macro
3542 - Add doxygen comments for all OpenChange server modules
3543 - Fix doxygen return value for exchange_nsp
3545 - Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
3546 - Add exchange handle enum to dcesrv_mapiproxy.h
3547 - Add authentication verifier macro to libmapiproxy.h
3548 - Add preliminary EMSABP Address Book Provider implementation:
3549 * supports initialization, destructor (talloc)
3550 * implements user and codepage check routines
3551 * retrieve NSPI server GUID
3552 - Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
3553 - Add internal session mechanism management to NSPI server
3554 - Add init and unbind modules function to NSPI server
3555 - Add doxygen comments to all dcesrv_exchange_nsp.c functions
3556 - Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
3558 OpenChange configuration schema updated with Addressing schema
3559 (Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
3561 Execute server modules init function when loaded
3564 A few API documentation fixes.
3569 Add documentation for MAPIProxy 'server mode'
3574 - Implement mapiproxy server mode architecture
3575 - Add server modules management API
3576 - Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
3577 - Add temporary provision Makefile rule
3582 Initial text was correct - rollback
3587 Ensure that GetLastError() also returns the correct value.
3589 Start changing the MAPI_RETVAL_IF() usage to two new macros:
3590 OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
3592 simple_mapi.c is the only one converted at this stage.
3594 Also added a set of unit tests that verify at least some initial
3597 Remove unreachable code.
3599 Partly resolves ticket #124
3604 Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
3606 mapiproxy documentation update: 3 questions added to FAQ section
3608 Patch from Corentin Chary:
3609 - Add PR_CONTENT_FILTER_SCL property to libmapi
3611 - Update openchange to work with samba4 master git rev f308c2f
3612 - Replace reference to events.h with tevent.h
3613 - Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
3618 Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
3619 Update openchangeclient to reflect these changes.
3624 Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
3626 Fix PIC object flags for SWIG build. Patch by metze.
3631 User %u format specifier for unsigned integer.
3633 Make return value match signature.
3635 Miscellaneous minor cleanups. Mainly making return types
3636 match signatues, format conversion (%u for unsigned values) and
3637 matching up result variable types (bool instead of enum MAPISTATUS).
3639 Return an enum MAPISTATUS, instead of a bool, to match function signature.
3641 Use %u instead of %d for unsigned values.
3646 Another minor APIdox edit.
3648 API documentation tweak.
3656 More apidox triviality.
3658 Trivial APIdox edits.
3660 Supplement the user's PKG_CONFIG_PATH rather than
3664 Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
3666 Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
3668 Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
3673 Actually use pymapi variables in Makefile.
3675 Add configure flags for building and installing Python MAPI bindings (disabled by default).
3680 Add namespace prefix to scanner.
3685 - spnego / gssapi_krb5 authentication now available for mapiprofile
3686 - add the --realm | -R option
3687 - update mapiprofile man page
3692 Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
3696 Don't generate / install man3 pages for libmapi++ or mapitest.
3698 Resolves ticket #121.
3700 Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
3703 Allow retrieving id and session of MAPI objects.
3705 Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
3707 Add stubs for Session class.
3709 Add infrastructure for MAPI python module.
3711 Look for python and python-config binaries.
3713 Remove empty directory.
3717 Remove obsolete --properties option and related code
3722 Fix RecipientRow member's order
3727 - Update to latest samba4 git master revision (3508a66)
3728 - Fix references to samr info24 struct
3729 - Add support for assoc_group_id proxy
3730 - Add support in mapiproxy for bind/alter connections using assoc_group_id
3731 - Update mapiproxy documentation
3736 Improve building. Partially addresses #94.
3738 More work required on this as we work on the
3739 portability in the future.
3741 Expose the underlying session.
3746 Remove unused --priority option.
3748 These offsets / values can be negative, so we shouldn't
3749 use unsigned int type to represent them.
3754 Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
3756 This patch first tries to forge EssDN Logon string from "o" and "ou"
3757 attributes stored in the profile. If Logon fails with ecUnknownUser,
3758 then try to open the mailbox using the mailbox attribute stored in
3764 Document the --label option.
3769 Make openchange compile and work against latest samba4 master git rev (58db2be)
3772 Remove check for unused type 'uint_t'.
3777 More tweaks on the openchangeclient man1 page.
3779 More updates for man1 page for openchangeclient.
3780 Still doesn't fully address #113.
3782 Update the openchangeclient man1 page.
3784 Partly addresses ticket #113.
3786 There is still some work to do on this.
3788 Fix a typo, and try to make the descriptions more
3794 Initial version of man1 page for mapitest
3796 Initial man1 page for exchange2ical utility.
3801 Update man1 page for openchangepfadmin
3803 Minor updates for the man pages.
3808 Fix build errors: wrong number of arguments for ocpf_propvalue
3810 Fix warnings when compiling with -Wextra
3812 Fix warnings when compiling with -Wextra
3814 Fix warnings when compiling with -Wextra
3817 Complete initializers here.
3822 Update to reflect latest state of mapiprofile.
3827 Prevent segfault when running mapitest. Looks like the we can
3828 return MAPI_E_SUCCESS even if one of the property values is
3829 MAPI_E_NOTFOUND. That error then get turned into a char*, and
3832 Also fix a possible bug relating to operator precedence, and
3833 a couple of warnings (one for signed / unsigned comparison, and
3834 the other for an unsigned value never being less than zero).
3839 Enable output to stdout.
3841 Resolves ticket #106.
3843 Thanks to raboof for the report and fix.
3848 Fix missing initialisers (issue #110).
3850 Also fix some signed/unsigned warnings.
3852 Fix problems with incorrect initialisers (#110) and
3853 operator precedence.
3855 Also fix a couple of places with signed/unsigned confusion.
3857 Partial fix for issue #110, and a couple of very minor cleanups.
3864 We probably want to return here, not do nothing.
3869 Fix empty patch function problem: add a retval
3874 Explain the boost-thread trick.
3876 Minor documentation tweaks.
3881 - remove usage of global_loadparm in libmapiadmin
3882 - make use of session context rather than global_mapi_ctx in libmapiadmin
3883 - use local context rather than mapiadmin context in libmapiadmin
3884 - libmapiadmin now uses ldb helper rather than raw implementation (ldb async code)
3885 - libmapiadmin and openchangepfadmin now works again (user creation/deletion) !! ;-)
3886 - remove global_loadparm in torture test and replace it with torture context
3887 - fix dcerpc_init to match latest samba4 API
3888 - update samba4 version required to build openchange
3891 More API documentation tweaks.
3893 More API documentation tweaks.
3895 Some API dox fixes for libmapi++.
3898 Remove unnecessary patching of lib/events/events.h.
3903 Update to a more recent Samba4.
3906 Remove some usages of deprecated global_loadparm.
3908 Cope with new argument to dcerpc_log_packet().
3913 Fix includes for DEBUG(), fix some more warnings.
3915 Use same_net_v4 rather than deprecated same_net().
3917 Fix Samba 4 git revision.
3919 Fix includes - debug.h can only be included once.
3921 Include debug header.
3923 Cope with API changes in Samba functions.
3925 Use new function is_zero_ip_v4 rather than removed is_zero_ip.
3930 Fix OpenMsgStore binding in swig perl and fetchmail script
3935 Fix pointless const definition for GetFreeBusyYear return type
3939 - Add the IsFreeBusyConflict convenient function which checks if a
3940 given date conflicts with existing FreeBusy Busy/OOF events
3942 - Modify openchangeclient --sendappointment behavior to check whether
3943 start or end date conflicts with FreeBusy published data for the
3946 - Add the --force option to openchangeclient to override this behavior
3948 - Fix a counter bug in mapidump_freebusy_events
3950 Fix doxygen typo error
3952 - Add GetUserFreeBusyData convenient function which retrieves FreeBusy
3953 data in public folders for a given user. Note: Ambiguous name is not
3954 supported at the moment.
3956 - Add convenient FreeBusy mapidump routines
3958 - Add FreeBusy read support to openchangelient
3960 - Add PT_MV_LONG and PT_MV_BINARY support to pull_emsmdb_property and
3961 property.c functions
3963 - Add OpenUserMailbox which let developers open other mailboxes
3964 instead of the default profile one.
3966 - Add GetABRecipientInfo: convenient function which retrieves Address
3967 Book information for a given recipient
3972 - Add libmapi implementation for DeletePropertiesNoReplicate
3973 - Add mapitest test units for DeleteProps and DeletePropertiesNoReplicate
3975 Fix doxygen documentation
3980 - Implement multisession into libmapi
3981 - Update openchange tools and suite to reflect these changes
3982 - Fix SRow_addprop behavior
3984 NOTE: OpenMsgStore, ResolveNames, GetGALTable and RFR functions
3985 now take a mapi_session parameter.
3988 Use my openchange.org email address.
3993 - Add a session management API for mapiproxy modules. Similar code
3994 already existed for mpm_cache module. Common functions are now
3995 available to all mapiproxy modules through libmapiproxy
3997 - replace smbd with samba in mapiproxy documentation
3999 - Cache calendar, contact, journal, note, task and drafts folders IDs
4000 when GetDefaultFolder call is performed on one of these folders and
4001 keep them until obj_store is released.
4003 - Add a reverse lookup routine which says whether a given FID belongs
4004 to a default folder and which olFolderType it is.
4006 - Remove pointless memory context in GetDefaultFolder
4007 - Move entryID to FID code into a separated routine (GetFIDFromEntryID)
4009 Restore install rule for mapi profiles ldif files in
4010 libmapi-installscript. Fix the MAPI_E_NO_ACCESS bug when mapiprofile
4011 tries to create a new mapi profile store.
4015 - Ticket #103 resolved. openchangeclient can now perform custom folder lookup, fetch, mkdir and rmdir.
4016 - mapi_object_copy routine added to mapi_object.c
4021 Fix missing Month field in LogonTime structure
4025 propagate IDL warning fix to property.idl
4028 Add target for building python API documentation.
4032 Fix samba4 release and git revision
4034 Fix installsamba4.sh script paths
4039 Install OpenChange python modules.
4041 Check for python dir during configure.
4043 ignore generated files.
4045 Stop installing js files.
4047 Use autoconf cache prefix.
4049 Use newer version of Samba 4.
4053 Remove dcesrv_exchange.so from server Makefile rule and
4054 move mapiproxy from TOOLS to SERVER.
4056 dcesrv_exchange and providers Makefile rules are orphan, planned
4057 to be removed (with their associated code) when emsabp merge process
4058 into mapiproxy is over.
4062 Export the Binary_r structure.
4066 Use more descriptive variable names in messages example code.
4068 Add a description of messages to libmapi++ API documentation.
4070 Add messages binary to the ignore list.
4072 Add new example showing libmapi++ message handling, and
4073 associated API documentation and build system changes.
4077 Update the API documentation main page for libmapi++
4081 Add foldertree binary to the ignore list
4083 - Add missing Input parameter
4084 - Add sanity check on ppNames
4087 - Fix a bug in NspiUpdateStat: make plDelta mandatory and use it for in,out
4088 - Add a NspiGetSpecialTable test for Address Creation Template
4091 Fix valgrind-reported error, per ticket #101.
4093 Make sure we clean up after mapitest runs.
4099 - Add msExchUserAccountControl attribute to extended user record
4100 - openchange_newuser can now create/enable/disable an OpenChange account
4102 Exit the test if the WriteStream operation fails
4104 Fix ncacn_ip_tcp binding string for OpenChange server object
4106 With new NSPI IDL, using cValues - 1 is incorrect and lead to errors. Use cValues directly instead
4108 Fix pipe function check and use ndr autogenerated defines rather than static strings
4109 Fix calls to NspiDNToMId
4112 Make sure we set the body and body format properties, to
4113 ensure that the message is shown correctly with
4114 openchangeclient -F.
4119 - Rename oc_* python scripts to openchange_*
4120 - Add Full Exchange 2003 schema (classes and attributes)
4121 - Full Exchange 2003 modified classes and attributes support
4122 - Add prefixmap OID for some Exchange classes and attributes
4123 - Add missing ADSC classes and attributes
4124 - Improve configuration LDIF file with new objects
4126 NOTE: provision.py should find a way to handle firstorg properly
4127 NOTE: oc_provision_configuration.ldif is still incomplete
4130 API documentation improvements.
4134 Add an example to the libmapi++ documentation, and
4135 the right build magic and doxygen linkage.
4137 Minor API documentation fix
4141 Add forgotten part of API documentation fixes for mapitest.
4143 Improve mapitest API documentation.
4147 Use new DeleteFolder flags to clean up folders on deletion.
4149 This doesn't completely resolve ticket #84, but it does help.
4151 Ignore API documentation.
4153 Add Doxyfile to ignore list.
4155 Add initial support for Doxygen API documentation
4160 Implement the remainder of the standard public folders.
4164 Only do header line removal at the start of the file
4165 (lines 20 through 40 seems like a good compromise).
4167 libmapi++ is C++, not C, so we should not optimise
4168 Doxygen output for C.
4172 - Update the Logon_repl IDL (0xFE) and implementation
4173 - Add new folders to the mapi_obj_store for PF folders
4174 - rename pf_finder to pf_search
4177 Suppress some more unwanted headers.
4181 - Add GetStoreState (0x7b) IDL, implementation and mapitest unit
4185 - Update the EmptyFolder IDL
4187 - Update the SearchFlags enum, GetSearchCriteria and SetSearchCriteria IDL
4188 - Add mapitest units for GetSearchCriteria and SetSearchCriteria
4190 Link libmapi++ documentation to main apidocs page
4192 Update GetAttachmentTable IDL and remove the unknown field
4194 - Update DeleteFolder IDL and implementation
4195 - It now supports DeleteFolderFlags as input parameter and can return the ParticalCompletion state
4196 - Sanity checks added at the beginning of the function
4198 - Rename GetRowCount to QueryPosition
4199 - IDL, implementation, documentation and openchange code updated
4200 - ActionType enum fields prefixed with 'ActionType_'. Original
4201 values were causing conflicts while building Perl bindings with
4202 'i386-linux-thread-multi/CORE/opnames.h where OP_DELETE was already defined'
4204 Change enum SaveFlags to uint8_t for doxygen documentation to be generated properly
4206 - Update SaveChangesMessage IDL and implementation
4207 - Add a SaveFlags parameter to SaveChangesMessage function
4208 - update openchange code to reflect this change
4211 Build fix / fix for ticket #99.
4213 Filter out some new #include lines.
4215 This needs to be applied to other modules too.
4219 Update SRow and SRowSet IDL
4221 Delete obsolete input_locale and instance_key structures
4223 Fix WStringArray_r IDL
4225 - Move from MV_UNICODE_STRUCT and LPWSTR to WStringArray
4226 - LPWSTR structure removed
4228 Rename SDateTimeArray to DateTimeArray_r
4230 Rename SGuidArray to FlatUIDArray_r and fix the IDL
4232 Rename MV_LONG_STRUCT to LongArray_r
4234 Rename SBinary to Binary_r
4236 - Add removal of libmapi++ Doxyfile in make distclean rule
4237 - Add Doxyfile to svn:ignore
4239 Rename SShortArray to ShortArray_r
4241 - Move from SLPSTRArray to StringArray_r
4242 - LPSTR structure removed
4244 Rename MAPIUID to FlatUID_r
4246 Fix lexer warnings during compilation (ticket #100)
4248 - Update the EcDoConnect IDL (ref. ticket #99)
4249 - Add new fields to the emsmdb info structure
4250 - Add doxygen comments to libmapi/emsmdb.c
4253 Reduce warnings when compiling with 64-bit arch.
4255 Initial checkin of infrastructure for libmapi++ API documentation.
4259 - MAJOR NSPI protocol and libmapi stack update
4260 - All NSPI protocol functions implemented
4261 - NSPI stack fully documented
4262 - NspiGetHierarchyInfo renamed to NspiGetSpecialTable
4263 - NspiDNToEph renamed to NspiDNToMId
4264 - instance_key removed from nspi_context and set as a parameter to NSPI functions
4265 - SPropertyRestriction renamed to PropertyRestriction_r
4266 - FlagList structure removed and replaced by a SPropTagArray
4267 - MAPI_SETTINGS removed and replaced by a STAT structure
4268 - new MAPI property tags added to libmapi/conf/mapi-properties
4269 - NSPI module added to mapitest
4272 Clean up on failure.
4274 Clean up on failure.
4276 Minor improvements to ensure cleanup on failure.
4278 API documentation fix
4280 API documentation fix.
4282 API documentation fix.
4284 API documentation fix.
4286 API documentation fixes.
4290 API documentation fixes.
4294 Fix EMSMDB 0xb function name
4296 - update EcRRegisterPushNotification IDL
4298 - implement complete MAPI notifications
4299 - update libmapi to reflect these changes
4300 - make openchangeclient prints a brief summary for each notification found
4301 - update ulEventMask used in openchangeclient
4305 - Rename Advise MAPI call to RegisterNotification
4306 - Update RegisterNotification IDL and implementation
4310 - Fix Restrict IDL and implementation
4311 - Add a new parameter to the Restrict function
4314 Add mapi_nameid.h to the ignore list
4316 - Replace libmapi/mapi_nameid.h with a generated mparse file
4317 - Add a mapi_nameid.h parser to mparse.pl
4318 - Add canonical names for named properties
4319 - GetProps and SetProps resolves named properties if they exist
4320 - named properties can now be set directly and make mapi_nameid API be
4322 - replace named property tags hex value with their canonimal names
4323 - replace several use of the mapi_nameid API with smaller code
4325 - Add new IDL file (property.idl) to push/pull structures from binary
4326 blobs and not directly related to any MAPI calls. Include the
4327 generated property.h file into libmapi.h
4329 - Add PT_MV_STRING8 support in pull_emsmdb_property (GetProps reply
4330 parsing) and mapidump_SPropValue
4332 - Add functions to property.c to retrieve RecurrencePattern,
4333 TimeZoneStruct and GlobalObjectId structures (see property.idl).
4335 - add a preliminary version of exchange2ical tool. This version only
4336 dumps calendar folder appointments into ICS file on standard output.
4340 - Update mapi-nameid-properties with a more complete set of properties
4341 - Add a header to mapi-nameid-properties for sanity purposes
4342 - Move named properties with PT_STRING8 type to PT_UNICODE
4343 - update openchange code to reflect these changes
4344 - Add PSETID_Attachment to mapidefs.h
4348 Add missing check on password for the create command
4350 Fix incorrect usage of realm in mapiproxy
4354 Check for provider_rpc_connection retval for RFR functions.
4356 Update Doxyfile to parse mapiproxy/modules files and
4357 include documentation on static functions.
4359 - Add NSPI hook on NspiQueryRows and NspiDNToEph and replace the
4360 Exchange server name with mapiproxy one.
4361 - documentation updated to reflect these changes
4362 - new FAQ question added
4363 - developer documentation improved
4365 Add the RFR mapiproxy file.
4367 - Implement RfrGetNewDSA DN replacement in mapiproxy
4368 - use lp_realm rather than sockaddr in NspiGetProps (FQDN rather than IP address)
4369 - update mapiproxy documentation to reflect these changes
4373 - Add implementation of the NSPI Referral protocol (exchangeRFR)
4374 - update dcesrv_exchange and mapiproxy prototypes for RFR
4375 - add references to the RFR pipe in mapiproxy
4376 - prefix NSPI client connections with a RfrGetNewDSA call
4377 - add RFR functions implementation in libmapi/IMSProvider.c
4378 - add a --getfqdn option to mapiprofile
4379 - fix a minor mapiprofile option parsing bug
4383 Fix mapiproxy dummy module unbind prototype
4385 - Remove flags in EcDoRpc top function, fix compilation vs latest samba4-git version
4386 - EcDoRpc indent updated
4390 Get rid of initialization order warning
4394 - add unbind hook for mapiproxy
4395 - add ahead mapiproxy mode
4396 - add read ahead in cache module
4397 - add synchronization mechanism in cache module
4398 - update mapiproxy documentation to reflect these changes
4402 Temporarily comment out installation of files removed
4407 Fix arguments, paths in provision scripts.
4409 Merge python provision/newuser scripts.
4411 Simplify installation of manpages a bit.
4415 Add configure check for libboost-thread. Add libmapi++ to the build
4416 only if it is available.
4420 - session constructor doesn't login to the server anymore, it calls MAPIInitialize().
4421 - Created session::login() members.
4422 - test applications use default profile.
4426 - Import Alan Alvarez work from libmapi++ into trunk
4427 - Add a g++ check in configure.ac: don't call libmapi++ rules if g++
4429 - Add libmapi++ to the build system
4430 - Add a patch function to installsamba4.sh: rename private to
4431 private_data in samba4 events.h header file
4432 - Change #include directives so it uses <libmapi++ ... rather than
4437 - Add a statitic function monitoring streams over OpenStream and Last
4438 ReadStream operations. Monitoring stream Release is not relevant
4439 since Outlook does not close the handle directly after last
4440 ReadStream operation. Should put in evidence difference between
4441 non-cached(1st retrieval) and cached (further retrieval).
4443 - Fix a few memory leaks
4447 - Commit initial revision for the mapiproxy cache module
4448 - Update mapiproxy hook API for the dispatch routine
4449 - Introduce the mapiproxy structure for modules to control top-level
4451 - Update mapiproxy documentation to reflect these changes
4455 * Fix remaining ByteRead parameter size for ReadStream operations.
4459 * Improve/Update Open/Read/WriteStream IDLs
4460 * Fix ByteRead parameter size for ReadStream operation.
4464 Improve OpenAttach, CreateAttach and DeleteAttach IDL - remove unknown
4467 Propagate r666 changes to OpenMsgStore and fix build
4470 Minor rename of bitmap value to avoid conflict with
4471 Private as a class name.
4475 Minor change: remove old debugging string from mapitest
4477 Fix incorrect header
4479 Remove deprecated mapi_handles API
4482 Initial checkin of some uno (static checker) support
4485 There will be a script to run uno with the right options,
4486 but that requires more work.
4490 Fix OXOMSG-ABORT-SUBMIT return value and return success when expected
4491 error values (MAPI_E_UNABLE_TO_ABORT, ecNoDelSubmitMsg) are encountered.
4493 - Call mapi_object_release in GetDefaultFolder
4494 - Remove pointless references to mapi_object_t
4497 Fix little memory leak.
4501 Fix invalid OpenFolder calls in mapitest modules
4503 Remove references to SaveChanges in doxygen see also statement
4505 - Rename SaveChanges to SaveChangesAttachment (0x25)
4506 - Update SaveChangesAttachment IDL
4507 - Update references to SaveChanges
4509 - Fix the huge memory leak described in Ticket #91
4510 - Rewrite the mapitest NameID test to use the mapi_nameid convenient
4515 - Add mapi_get_errstr auto-generated routine which returns the MAPI
4517 - Add print routine for MAPI retval in mapitest
4518 - Add a color mode (--color) which prints either green or red MAPISTATUS
4519 - Update mapitest modules to use these new routines
4522 Minor API documentation fix.
4528 - Add GetOwningServers (0x42) implementation (IDL + libmapi + mapitest)
4530 - Report and make consistent usage of PropertyProblem in the IDL:
4531 SetProps, DeleteProps and CopyProperties
4533 - Remove unknown field in GetProps and GetPropsAll and replace them
4534 with the correct IDL mapping.
4536 - Add IDL for SetPropertiesNoReplicate (0x79) MAPI call
4538 - Minor typo fix in IMAPIProp.c
4540 Improve CreateMessage request IDL
4542 Improve OpenMessage response IDL
4544 - Add PublicFolderIsGhosted (0x45) MAPI call (IDL + libmapi + mapitest)
4546 - Improve OpenFolder, CreateFolder and OpenPublicFolderByName response
4547 IDL: make these call able to check whether the folder is ghosted or
4550 Revert emsmdb pipe version to the hacked one. Makes mapiproxy work with samba4-alpha5 release.
4552 SeekRow and SeekRowBookmark IDL improved
4554 Improve the SetColumns IDL: remove unknown fields
4558 Minor code convention fix
4560 Check NTSTATUS return value from dcerpc_ndr_request. Prevent mapiproxy
4561 from segfault when invalid dcerpc response is received.
4563 Expose MAPISTATUS error in OXCTABLE-CATEGORY::FreeBookmark.
4564 Requires investigation
4567 Implement GetIdFromLongTermId and GetLongTermIdFromId
4568 functions (ROP:0x43 and 0x44), and associated mapitest.
4570 Documentation typo fix.
4572 Change the QueryNamesFromIDs() call to match
4573 MSDN, including changing the name to QueryNamedProperties().
4575 Also implement mapitest for QueryNamedProperties(),
4576 GetNamesFromIDs() and GetIDsFromNames().
4578 Update torture test to match.
4582 - Build system update: use samba4-alpha5 release with wget method
4583 - introduce 'make samba' and 'make samba-git'
4587 Make sure we have names[] array large enough.
4589 Problem identified using default uno run.
4595 Fix a small errno bug in GetBestBody
4596 Add dump-data and debug options to exchange2mbox
4600 - Move emsmdb interface version back to 0.81 (patch applied in samba4 trunk)
4601 - remove sed hack, modifications applied in samba4 trunk
4602 - update required samba4 git rev required
4609 Minor documentation update: remove deprecated reference to ./bin/smbpython
4611 Fix torture suite entry point name
4612 Fix torture module installation path
4614 - Add implementation for the BestBody algorithm
4615 - Add MAPI_E_NOT_ENOUGH_MEMORY error code
4616 - Remove trailing }}\0 from lzfu code
4617 - Update openchange tools to use GetBestBody rather than
4618 the initial check on PR_MSG_EDITOR_FORMAT
4620 Add a very basic stat module for mapitest: gives a quick overview
4621 of tests which failed at the end of the report.
4623 - Defines a global stream size in mapitest.h
4624 - Decrease stream size from 0x4000 to 0x3000
4625 Sounds like Exchange 2003 SP2 doesn't support 0x4000, return MAPI_E_CALL_FAILED
4630 Fix OC_CHECK_SAMBA_VERSION string
4632 - Move samba4_ver.sh from top dir to script
4633 - update parts of openchange relying on samba4_ver.sh
4635 Add configure check for lib Z
4638 - Temporary fix ldb.pc problem and patch ldb.pc.in
4639 - Update samba4 version to the latest revision
4640 - Add libmapiproxy to svn:ignore proplist
4643 Try a different git revision, just for now.
4647 - Update Samba4 version needed
4648 - Change entry point function from init_module to samba_init_module
4649 - update documentation
4653 Fix calls of ldb_init() as required by newer versions of Samba.
4657 Support newer versions of Samba4.
4661 Add some other standard GUIDs
4669 Use version and soversion in mapiproxy library.
4671 Make modules directory overridable.
4675 Change API as identified on devel mailing list.
4678 After some investigation into an error reported by valgrind, I'm proposing an
4679 API change for the MoveCopyMessages() function.
4681 The signature is currently
4682 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src, mapi_object_t
4683 *obj_dst, mapi_id_t *message_id, bool WantCopy)
4685 The problem is the message_id array. The subtle part is that it needs to be
4686 terminated with a null mapi_id_t*, because of this:
4687 for (request.count = 0; message_id[request.count]; request.count++);
4689 That is a bit error prone - enough so to be wrong in the mapitest.
4691 Now we could just fix the mapitest and document the requirements, or we could
4692 change the signature.
4694 Two ideas for a different signature:
4695 1. We could add a uint16_t count to the signature, that says how long the
4697 2. We could use a better data structure than mapi_id_t*. I'm suggesting
4699 enum MAPISTATUS MoveCopyMessages(mapi_object_t *obj_src,
4700 mapi_object_t *obj_dst,
4701 mapi_id_array_t *message_id,
4706 Add mapitest coverage for CopyTo operations on
4707 folders and attachments, and update API docs.
4709 Also fix one place where we inadvertently used
4710 CopyProps instead of CopyTo...
4714 Typo fixes in comments.
4716 Minor documentation updates.
4718 Clean up created message for SpoolerLockMessage() test.
4722 Update samba4 version test.
4726 Make sure properties are copies into the last valid
4727 location in the extended array (i.e. count-1) not the
4730 Also, make sure we cast the data to a uint8_t for
4731 conversion to boolean.
4733 Also fix compile warning about returning integer instead
4736 We may read up to 0x1000 bytes, so ensure there is
4737 enough room to add the terminating null.
4739 Minor cleanup of the talloc context for FreeBookmark().
4741 Also change around some code to protect things a bit
4742 better against null pointer inputs.
4746 Implement a bit more mapitest for CopyTo (0x39), in
4749 Also make it clean up and report failures properly.
4753 Implement the CopyTo operation (0x39), including initial mapitest.
4754 JK previously committed the IDL for this.
4756 Also make CopyProps (0x67) use an appropriate data structure for
4757 its IDL and update implementation to match.
4761 Minor documentation updates/corrections.
4765 Introduce a default case for MAPI Restriction. In some circumstances -
4766 while Outlook creates an OOF Rules - it sets a PT_SRESTRICT mapi
4767 property tag which value is set to 0xFF. However 0xFF doesn't match
4768 any restriction case.
4772 - Add IDL for OpenEmbeddedMessage (0x46) MAPI call
4774 - Add IDL for ReloadCachedInformation (0x10) MAPI call
4776 - Add IDL for CopyTo (0x39) MAPI call
4778 - Update the Samba4 GIT revision needed to run openchange properly
4780 - import mapiproxy project from mapiproxy branch
4781 - add custom proxypack MAPI call
4782 - remove deprecated dcesrv_exchange_remote
4785 Add missing part of mapitest for SetReadFlags
4787 This should have been part of r578.
4789 mapitest for SetReadFlags
4791 Implement SetReadFlags (operation 0x66).
4793 Also minor API docs fix.
4795 Move some test infrastructure from the oxctable.c module
4796 into the common area.
4798 Fix IDL error for SetReadFlags, and use existing flags
4799 define (MSGFLAGS_READ) instead of creating a new set.
4801 Build fix for relocation of mapiproxy/ to be under the
4802 top level directory (instead of under the utils/
4807 merge from mapiproxy branch:
4808 * ndr_push Logon_req manually
4810 merge from mapiproxy branch:
4811 * Add IDL and server boiler template for EcDoConnectEx (0xA)
4814 * Fix ndr_push_mapi_response code in ndr_mapi.c
4816 * Add the ndr_push_EcDoRpc_MAPI_REPL function in
4817 ndr_mapi.c. Handles special Notify and Pending cases
4819 * Handle op_MAPI_Pending case properly in
4820 ndr_pull_EcDoRpc_MAPI_REPL
4822 * Add code to ndr_push QueryRows in ndr_mapi.c: Do not push any
4823 DATA_BLOB if there is no RowCount
4825 merge from mapiproxy branch:
4826 * Fix GetReceiveFolder [out] IDL
4827 * Fix some naming convention typo
4829 merge from mapiproxy branch:
4830 * Fix SetMessagReadFlag [out] IDL
4832 - Add [flag(NDR_REMAINING)] to SetMessageReadFlag. This is not
4833 perfect, but it will prevent mapiproxy from ndr_pull error while
4834 setting message read flag on public folders messages.
4836 merge from mapiproxy branch:
4837 * Fix CreateMessage [out] IDL
4839 merge from mapiproxy branch:
4840 * rename OpenModeFlags to OpenFolder_OpenModeFlags in OpenFolder
4841 * rewrite OpenMessage [in] IDL and report changes in
4842 libmapi/IStoreFolder.c
4844 merge from mapiproxy branch:
4845 * Add IDL for Pending (0x6e) MAPI call
4846 * Reorder some MAPI calls in EcDoRpc_MAPI_REPL_UNION
4848 - Add SetReadFlags to EcDoRpc_MAPI_{REQ,REPL}_UNION
4850 merge from mapiproxy branch:
4851 * Add IDL for SetSyncNotificationGuid (0x88) MAPI call
4853 merge from mapiproxy branch:
4854 * Add IDL for SyncGetTransferState (0x82) MAPI call
4856 merge from mapiproxy branch:
4857 * Add IDL for SyncImportReadStateChanges (0x80) MAPI call
4859 Note: This IDL is temporary and should be improved after completion of
4860 the merging process.
4862 merge from mapiproxy branch:
4863 * Add IDL for SyncOpenCollector (0x7e) MAPI call
4865 merge from mapiproxy branch:
4866 * Add IDL for DeletePropertiesNoReplicate (0x7a) MAPI call
4868 merge from mapiproxy branch:
4869 * Add IDL for SyncImportMessageMove (0x78) MAPI call
4871 merge from mapiproxy branch:
4872 * Add IDL for SyncUploadStateStreamBegin (0x75) MAPI call
4873 * Add IDL for SyncUploadStateStreamContinue (0x76) MAPI call
4874 * Add IDL for SyncUploadStateStreamEnd (0x77) MAPI call
4876 merge from mapiproxy branch:
4877 * Add IDL for SyncImportDeletes (0x74) MAPI call
4879 merge from mapiproxy branch:
4880 * Add IDL for SyncImportHierarchyChange (0x73) MAPI call
4882 merge from mapiproxy branch:
4883 * Add IDL for SyncImportMessageChange (0x72) MAPI call
4885 merge from mapiproxy branch:
4886 * Add IDL for SyncConfigure (0x70) MAPI call
4888 merge from mapiproxy branch:
4889 * Add IDL for RegisterOptions (0x6f) MAPI call
4891 Note: This call is undocumented in Microsoft documentation, but MSDN
4892 RegisterOptions function generates this call on the wire.
4894 merge from mapiproxy branch:
4895 * Add IDL for Progress (0x50) MAPI call
4897 merge from mapiproxy branch:
4898 * Add IDL for FastTransferSourceGetBuffer (0x4a) MAPI call
4900 merge from mapiproxy branch:
4901 * Add IDL for GetPerUserLongTermIds (0x60) MAPI call
4902 * Add IDL for GetPerUserGuid (0x61) MAPI call
4903 * Add IDL for ReadPerUserInformation (0x63) MAPI call
4905 merge from mapiproxy branch:
4906 * Add IDL for LongTermIdFromId (0x43) MAPI call
4907 * Add IDL for IdFromLongTermId (0x44) MAPI call
4909 merge from mapiproxy branch:
4910 * Add IDL for ModifyRules (0x41) MAPI call
4912 merge from mapiproxy branch:
4913 * Add PT_SRESTRICT support in mapi_SPropValue_CTR
4915 * Add PT_ACTIONS and RuleAction support in mapi_SPropValue_CTR
4917 * Fix mapi_SNotRestriction NDR push routine - add a wrapper to
4918 work around the no-pointer deep recursion pb and remove
4919 existing nopull,nopush,noprint code from ndr_mapi.c
4921 * Fix mapi_SComment_Restriction IDL
4924 - Introduce PT_MV_UNICODE support in mapi_SPropValue_CTR (IDL only)
4925 - use mapi_LPWSTR for PT_MV_UNICODE
4926 - rename mapi_LPWSTR structure to mapi_name in Kind structure and
4927 change its field names.
4929 - Fix emsmdb version
4930 - Change MAPI opnum enum identation -- Helps to fine down merging from
4936 Minor API documentation fixes.
4938 Update label to reflect SetReadFlags -> SetMessageReadFlag
4941 This should have been part of r529 - missed it.
4945 merging from mapiproxy branch:
4946 - Fix MV_UNICODE_STRUCT and unicode strings
4947 - Keep LPWSTR for exchange_nsp and move from LPWSTR to
4948 mapi_LPWSTR for exchange_emsmdb
4949 - Add the NspiGetTemplateInfo IDL
4950 - Fix the NspiUpdateStat IDL
4952 Fix build: SetMessageReadFlag function name was not propagated in the
4956 Initial merge of changes for rename of SetReadFlags to
4957 SetMessageReadFlags (op 0x11) and IDL for SetReadFlags
4960 Use private_data instead of private, for C++ happiness.
4962 Minor cleanup. Using "try" confuses my c++ compiler...
4964 This is really part of r525. It moved to IMAPITable.c
4966 Update the table operations:
4967 - implement ExpandRow and CollapseRow
4968 - implement GetCollapseState and SetCollapseState
4969 - add mapitest coverage for the above, plus the Restrict call
4970 - implement ResetTable
4971 - implement FreeBookmark
4972 - add mapitest coverage for SRowSet parsing code
4974 - various API documentation bits
4977 Use right directory for samba4_ver.sh script.
4979 Use common location for Samba 4 git revision.
4983 Use PT_ERROR where appropriate.
4985 Update the SRowSet parser, fixing breakage I introduced.
4989 Update examples to reflect recent API changes.
4992 Don't rely on absolute file paths since the distribution may be installing
4995 make scripts executable.
4999 Avoid segfaulting if you ask for a specific test or tests and
5000 forgot to start the server.
5003 [bradh@conferta trunk]$ ./bin/mapitest --mapi-calls=OXCTABLE-CATEGORY --mapi-calls=OXCTABLE-RESTRICT --mapi-calls=NOSERVER-LZFU
5004 Failed to connect host 192.168.11.77 on port 135 - NT_STATUS_HOST_UNREACHABLE
5005 Failed to connect host 192.168.11.77 (192.168.11.77) on port 135 - NT_STATUS_HOST_UNREACHABLE.
5006 MapiLogonEx : MAPI_E_RESERVED (0xFFFFFFFF)
5007 #############################[mapitest report]#################################
5008 [*] Date : Sun May 25 11:45:29 2008
5009 [*] Confidential mode : [no]
5010 [*] Samba Information : 4.0.0alpha4-GIT-44d8b70
5011 [*] OpenChange Information : 0.8-SVN-build-510 (Romulus)
5013 [*] System Information :
5015 Kernel release : 2.6.23.17-88.fc7
5017 ###############################################################################
5021 [TEST] NOSERVER-LZFU
5022 ------------------------------------------------------------------------
5023 * uncompress_rtf2 : 0x00000000
5024 * uncompress_rtf2 : PASSED
5025 ------------------------------------------------------------------------
5026 [RESULT] NOSERVER-LZFU: [SUCCESS]
5027 ========================================================================
5029 [*] OXCTABLE-RESTRICT
5030 Server is offline, skipping test: "OXCTABLE-RESTRICT"
5031 [*] OXCTABLE-CATEGORY
5032 Server is offline, skipping test: "OXCTABLE-CATEGORY"
5036 ignores objects that contain invalid handlers in mapi_object_release().
5038 Patch by Alan Alvarez. Compile tested, passes mapitest on SBS2003.
5042 Fix API documentation to match signature.
5046 Update QueryRows IDL and implementation to match
5049 The main work here is reworking the SRowSet parsing
5054 Typo fix - allow cleanup to work properly.
5058 Make sure it has a return value.
5062 Rename GetColumns remote operation to GetColumnsAll, and
5063 fix up IDL and implementation to match.
5065 Add some more unit test coverage, and pretty-up the
5068 Fix up breakage introduced in r493.
5071 Make sure nagios directory gets created if it didn't exist yet.
5075 Refactor the unit tests.
5077 Extract out the setup and some of the cleanup code.
5081 - Update openchange code to work with Samba4 4.0.0alpha4-GIT-44d8b70
5082 - Use event_context structure
5083 - update installsamba4.sh script to revert to this revision.
5084 - update torture modulesdir reference
5087 Look a little bit harder for the Samba installation.
5091 - Add GetLocalReplicaIds MAPI call (IDL + implementation + mapitest)
5092 - Add OXCFXICS mapitest module
5096 - Fix "the very secret" openchange coding style
5097 - Add Copyright for our humble new libmapi developer ;-)
5100 Implement the CopyProperties operation, including
5101 a mapitest for this.
5105 - Add TransportSend MAPI call (IDL + implementation + mapitest). This
5106 code maybe needs some review regarding memory.
5108 - Add the GetTransportFolder MAPI call (IDL + implementation +
5111 - Add SpoolerLockMessage MAPI call (IDL + implementation + mapitest)
5113 - Add SetSpooler MAPI call (IDL + implementation + mapitest)
5115 - Add GetRulesTable (IDL + implementation + mapitest)
5116 - Add the OXORULE mapitest suite
5122 Make sure config.mk is the last file removed during distclean.
5126 - Add the Abort MAPI call (IDL + implementation)
5128 OpenChange doesn't support yet asynchronous operation which explains
5129 why no associated mapitest test has been implemented. This should be
5132 - Add the MoveFolder MAPI call (IDL + implementation + mapitest)
5133 - Fix some typo in mapitest doxygen
5135 - Add MoveFolder MAPI call (IDL + implementation + mapitest)
5136 - Fix some doxygen stuff
5137 - add a common function within mapitest which looks for a folder name
5138 within a container and return the opened folder object on success.
5140 Add auto-generated Doxyfile to the svn ignore list
5142 - Add AbortSubmit MAPI call (IDL + implementation + mapitest)
5144 - Uninitialize MAPI and general memory context at the end of mapitest
5147 Clean up / flush the stream after use.
5149 Saves a bit more "still reachable" in valgrind too.
5153 - Rename CopyMessages to MoveCopyMessages
5154 - Improve IDL + implementation and mapitest added
5157 Make sure the version shown for mapitest documentation
5158 is automatically set to match the package version.
5160 complete the rest of the API documentation autonumbering.
5163 Remove duplicate use of $(SHLIBEXT).
5165 Avoid parallel builds for now.
5169 Fix GetContentsTable binding in perl swig
5171 - Improve the GetHierarchyTable and GetContentsTable IDL and public
5172 IDL implementation (new parameters in,out)
5175 Initial part of automatic list numbering for doxygen comments.
5177 This doesn't work correctly with the current apidocs.css, which
5178 turns the list numbers into bullet points for reasons I don't
5183 - Improve the DeleteMessages IDL request
5185 - Update libmapi version from 0.7 to 0.8
5187 - Public API change for the GetReceiveFolder function; now takes a
5188 message class as 3rd parameter.
5190 - Improve GetSearchCriteria request IDL (unknown removed)
5191 - update libmapi copyright headers 2007 -> 2007-2008.
5193 - Improve the SubmitMessage IDL
5194 - minor indentation fixed in IMessage.c
5196 - Add CopyToStream MAPI call (IDL + implementation + mapitest)
5198 - Add SeekStream MAPI call (IDL + implementation + mapitest)
5199 - Add SetStreamSize MAPI call (IDL + implementation + mapitest)
5201 - Add CommitStream MAPI call (IDL + implementation + mapitest)
5202 - Add GetStreamSize MAPI call (IDL + implementation + mapitest)
5203 - refactor the stream test to include all stream related operations
5204 - add a common function which generates a random ASCII blob of data
5207 Add doxygen support for the mapitest examples.
5210 Allow cleaning individual parts.
5214 - Add GetStatus call (IDL + implementation + mapitest)
5216 - Fix format string problem in mapitest headers
5218 Run offline suites by default.
5220 - Introduce the online/offline mode for suite
5221 - Fix Exchange headers print bug when server is offline
5222 - reset errno to 0 before running new test
5225 Install the libmapiadmin.h header.
5227 Fix a compile-time warning on amd64, for the second
5228 argument to the getline() call - incompatible pointer
5231 I'm assuming that size_t is equivalent to uint32_t
5232 on a 32-bit architecture, but not on a 64-bit arch.
5234 A quick test showed no difference in actual output.
5237 Remove bashisms in installsamba4.sh
5241 - Add ReadRecipients MAPI call (IDL + implementation + mapitest)
5242 - Improve some ModifyRecipients and Recipients structure naming
5246 - Add RemoveAllRecipients call (IDL + implementation + mapitest)
5248 - Add OpenPublicFolderByName call added (IDL and implementation).
5250 - Note: the reply IDL doesn't handle Server and ServerCount yet.
5252 - Note: this call only refers to NNTP folders (e.g: folders located
5253 within "Internet Newsgroups". If developers use this call within "All
5254 Public Folders", then the call with return MAPI_E_NOT_FOUND.
5256 - Call not added to mapitest cause it require RightsAuthor permissions
5257 on Internet Newsgroups which is not the case by default.
5259 - dump-data and debug options added to mapitest
5260 - FOLDER suite renamed to OXCFOLD (naming convention)
5262 Rename module folder to oxcfold
5264 Replace the existing mapitest tool with a new implementation. It is
5265 less complete but more modular.
5268 Add proto headers to ignore file.
5272 OpenFolder request: replace unknown field with OpenModeFlags
5274 - Rename 0xFE opnum from OpenMsgStore to Logon
5275 - Update the Logon request IDL
5278 Add BEGIN_DECLS for private_proto.h.
5280 Add forgotten part of rev435.
5282 Add unit test framework for compressed RTF decoding.
5284 Refactor lzfu.c to improve testability.
5288 Fix openchangeclient --mailbox --pf with wasn't launched anymore due
5289 to some incorrect sanity check tests.
5291 - Remove deprecated fuzzer_msgstore torture test
5292 - replace mapi_flags with logon_id in EcDoRpc_MAPI_REQ
5296 A couple of minor fixes to make it read better.
5299 properly clean up sofiles
5301 Import exchange nagios check script by Bill Edmunds.
5303 Add support for creating libocpf soname symlink.
5305 Use standard include for uint64_t definition.
5307 Cleanup talloc and tdb before building samba4.
5311 Check for ocpf_set_Recipients retval (MAPI_E_NOT_FOUND)
5313 - Reset ocpf to NULL after release so the ocpf_init/release couple can be called more than once.
5314 - Sanity check on recipient, avoid parsing if no recipient is set. Return MAPI_E_NOT_FOUND instead.
5316 Add reference to the ocpf lib within the pc file.
5320 Remove duplicate SWIG instructions (already covered by stdint.i).
5322 Ignore files created by swig.
5324 Use config.mk in swig/perl/Makefile.
5326 Allow sambaprefix and prefix to be different. Allow building with unknown
5327 Samba git revisions (will still warn though).
5329 Add --with-samba argument to configure so samba and openchange can be installed in different directories.
5333 Add domain to the mapiprofile dump output.
5335 Fix OpenMessage IDL and GetRecipientTable fetched data
5337 -This line, and those below, will be ignored--
5340 M trunk/exchange.idl
5341 M trunk/libmapi/IStoreFolder.c
5342 M trunk/libmapi/emsmdb.c
5343 M trunk/libmapi/IMessage.c
5347 Fix typo, change samba-config -> samba-hostconfig.
5351 - Add openchangepfadmin to make install
5352 - Add openchangemapidump and locale_codepage to make clean
5356 Merge the samba4-latest branch.
5360 Revert so version number to 0.7
5362 Fix Perl bindings: update mapidump_message
5364 ** Start libmapi-0.8 ROMULUS development **
5366 Add ChangeLog and apidocs to the releases
5368 - Delete unmaintained regression suite
5369 - Fix typo error in torture-clean rule
5371 Add modified release script originally from abartlett/samba4
5373 - Check for specific Samba4 git revision in configure.ac
5374 - Prefix locale functions with lcid and make them _PUBLIC_
5377 API documentation update.
5384 Add installation script for samba4
5386 - Apply the nspi pointer patch - make openchange works with
5387 samba4-alpha3 git 41309dc
5392 Move the top level API documentation to an "overview"
5393 section and add a redirect to that overview.
5395 This keeps the doxygen output more nicely separated for
5398 Also, generate the man pages where the install expects
5403 - Fix strsep bug in openchangeclient
5404 - Add RECIPIENT support to libocpf
5406 - escape/unescape strings support added
5407 - PT_MV_STRING8 type added to OCPF write API
5411 - return MAPI_E_NOT_FOUND if NspiGetMatches doesn't return any results
5412 (based upon patch from lofi@mountproc.org)
5413 - makes the workstation parameter of mapiprofile optional (use
5414 gethostname if not defined by the user on command line)
5416 - Fix an allocation memory problem in cast_SPropValue
5417 - update svn:ignore proplist
5421 Update the documentation build so it keeps generating an embedded
5422 website in with apidocs/html as root directory.
5424 - Add support for PT_UNICODE and PT_SHORT to libocpf
5425 - Initial implementation of the libocpf write API
5426 - Update libocpf documentation
5427 - add --ocpf-dump option in openchangeclient
5428 - Fix realdistclean rules for server
5429 - add cast_SPropValue function to libmapi/property.c which cast
5430 mapi_SPropValue to SPropValue
5433 Split API documentation into two separate sections - one
5434 for libmapi and one for libocpf.
5436 Also add in a top level intro page.
5440 New build system which gathers a list of things that can be built with
5441 the libraries/utilities the user has installed and build that when
5446 Add missing allocation for OLEGUID
5448 --ocpf-syntax doesn't require MAPI to be initialized. Furthermore
5449 makes ocpf-syntax "exclusive" (quit after performing the operation).
5452 r371 was bad. What was I thinking with that nonsense!
5454 Revert to something sane.
5456 Make the ./bin/ directory if it doesn't exist.
5458 This should resolve ticket #33.
5462 Improve language handling when creating profiles.
5464 You can now get a list of valid languages and use either
5465 the language code ID or the language name to specify what
5466 language later versions of Exchange should reply with.
5468 Typo fix - duplicate ; at the end of the structure.
5470 Match format to unsigned int argument.
5472 Make the format specifier match the unsigned argument.
5476 propset svn:ignore update
5478 Update propset svn:ignore on doc/examples and libocpf targets
5480 - Fix ticket #29: http://trac.openchange.org/ticket/29
5482 - use access(2) to see if the database already exists
5483 - test if the profile already exists prior trying to add it
5484 - add descriptive error messages
5485 - catch CTRL-C signal and run a profile deletion routine
5488 Update API documentation for ocpf_nproperty_add().
5494 Fix mapidump_message call parameters
5498 Add fid/mid parameters to mapidump_message and changed
5499 openchangeclient_fetchitems to reflect these changes.
5501 Patch from Brad Hards <bradh@frogmouth.net>:
5502 updates the OCPF doxygen file.
5504 Patch from Brad Hards <bradh@frogmouth.net>:
5505 adds the doc/examples into the build system and enables make examples.
5507 Patch From Brad Hards, <bradh@frogmouth.net>:
5508 API documentation update and minor fix for the error value change.
5516 - Add PT_BINARY property support to OCP
5517 - Add stream support to OCPF for large PT_BINARY blobs.
5518 - Fix a bug which prevented from having no/empty PROPERTY or NPROPERTY
5523 - Prevent from assigning a value which type doesn't match with
5525 - Add missing substitution variable support for some named properties
5527 - Improve sample_appointment.ocpf example
5528 - Add PT_MV_STRING8 keyword to the list of supported property type
5533 Improve OCPF PT_MV_STRING8 support.
5535 - Initial revision for libocpf and its documentation
5536 - YACC support added to the build system
5537 - custom lid and string support in mapi_nameid
5538 - lookup functions added for OOM, lid and string
5539 - OCPF commands added to openchangeclient (ocpf-file, ocpf-syntax,
5541 - PR_FID displayed in openchangeclient --mailbox
5542 - PT_MV_STRING8 support added to cast_mapi_SPropValue
5546 Patch from Brad Hards <bradh@frogmouth.net>:
5547 updates code to build with current API
5549 Patch from Brad Hards <bradh@frogmouth.net>:
5550 little update for some API dox
5554 - Add --update option to openchangeclient and allow users to modify
5555 existing messages (calendar, task, contact, note)
5556 - Add --delete option to openchangeclient and allow users to delete
5557 existing messages (calendar, task, contact, note)
5558 - Add some folder/message unique ID to mapidump outputs and send*
5559 openchangeclient functions.
5560 - Fix a bug in set_SPropValue: add sanity check on unicode
5561 string. Thanks to Suman Manjunath for this patch.
5562 - Fix mapidump_task function and identifiers of named properties used.
5566 Fix missing sanity check on priority
5568 Fix a bug in openchangeclient when tasks are created without body
5570 private flag added to openchangeclient appointments
5572 Fix folder IDs problem for Exchange 2007 SP1
5576 Fix names IDL against Samba4 4.0.0alpha3-GIT-41309dc
5580 - Fix a bug in IStoreFolder.c:OpenMessage which was also affecting
5581 GetRecipientTable. We were extending SPropTagArray prior calling
5582 emsmdb_get_SRow. This was causing ndr_pull_error in OpenMessage_repl
5583 and erroneous data to be inserted in the SRow.
5585 - Fix libmapi/socket/interface.c:
5586 - Use the latest version from Samba4 which removes reference to
5588 - Moves struct interface declaration to netif.h
5589 - Report changes to emsmdb.c notification functions.
5591 - Change GetGALTable prototype to match general libmapi policy. Remove
5592 the usage of bool and replace it with uint8_t. Possible values added
5597 - Improve NspiQueryRows IDL and implementation
5598 - Add GetGALTable implementation: fetch all the Global Address List
5600 - Add --userlist option to openchangeclient
5601 - Add a convenient and basic dumping function for Global Address List
5604 - Improve OpenMessage reply IDL
5605 - Fetch mapi recipients from OpenMessage reply
5606 - Add GetRecipientTable convenient function
5607 - Add OPENCHANGE-MAPI-RECIPIENT torture test to test
5608 GetRecipientTable implementation.
5609 - Add convenient SPropTagArray_add function
5610 - Add internal emsmdb_get_SRow routine
5614 Patch from Suman Manjunath <msuman@novell.com>:
5616 - Adds named-properties which define recurrence patterns for
5617 appointment and task.
5618 - Adds named properties for appointment timezone
5620 - Fix the SNotRestriction IDL and write custom push,pull,print
5622 - Add 2 new MAPI calls to the IDL:
5623 * GetSearchCriteria,
5625 - add sample {Get,Set}SearchCriteria torture test
5626 - add convenient mapi_id_array implementation
5627 - add GetDefaultFolder support for CommonView and Finder folders
5631 Make sure directory exists.
5635 - Fix tiny 'nail down samba4 version' bug
5636 - update the minimal Samba4 required version
5638 - Add FindRow call to the IDL
5639 - Improve mapi_Restriction support
5640 - Remove deprecated ndr_print_QueryRows function
5641 - Add a print function for fuzzyLevel
5642 - Add preliminary FindRow implementation test to MAPI-RESTRICTIONS
5644 - Add couple of new MAPI tags to mapi-properties
5645 - change initial bookmark index to 3
5649 - Add 2 new MAPI calls to the IDL and mapitest:
5651 * GetReceiveFolderTable
5653 - Fix a bug in the SortTable test when no messages are returned by
5656 - Add SeekRowApprox to the IDL and mapitest
5657 - Fix some doxygen typo
5659 - New calls added to the IDL, torture suite and mapitest:
5662 - Internal mapi_object_bookmark_t implementation added to
5664 - SBinary_short default ndr_print function changed to custom
5668 Temporary fixes unexpected segfault in SortTable test. Emails sent
5669 during the Submit test have sometimes not yet been dispatched when the
5670 SortTable test begins. This fix adds a sleep(1) and an arbitrary
5671 number of attempts (5).
5673 Add 2 new MAPI calls to the IDL and libmapi:
5677 Tests for SortTable added to mapitest and the torture suite
5678 Test for AddressTypes added to mapitest.
5682 Fix perl bindings and fetchmail test
5684 2 new MAPI call added to the IDL and mapitest:
5690 - Add DeleteAttach MAPI call
5691 - Add new mapi unit tests:
5695 * GetAttachmentTable
5697 - Update mapitest README
5698 - Add some convenient functions to mapitest_common.c
5702 Add a preliminary draft of the mapitest standalone MAPI test suite.
5708 - Fix the build with the latest Samba4 version.
5710 - Add a basic libmapi/version.h auto-generated
5711 file (based on Samba4 one)
5712 - Remove some warnings when compiling the utf8
5714 - Add a emsmdb_info structure to fetch some
5715 information from the Exchange server
5717 WARNING: Please note that EMSABP is definitely broken and
5718 requires a review and update.
5721 DESTDIR should never get into any source files, that would defeat its purpose.
5725 Fix the torture suite.
5729 provide extra required argument.
5731 Store a loadparm context in the global mapi context.
5733 Deal with samba version.h's that don't contain the Subversion revision.
5737 Use SWIG-provided typemaps for stdint.
5741 Fix Content-Type field in exchange2mbox
5742 Reported by Yuriy Filatov <yuriy.filatov@gmail.com>
5746 - Improve the CreateMessage IDL
5747 - Add new parameters to IMAPIFolder CreateMessage libmapi function
5748 - Add --mkdir --rmdir options to openchangeclient
5749 - Update the CreateFolder API and openchangeclient documentation
5750 - Fix CreateFolder calls in openchange tools and torture suite
5751 - Fix gendb_search warning
5755 Add new PSETID_Address named properties
5757 Fix a few code convention typos
5759 Patch from Suman Manjunath <msuman@novell.com> applied:
5760 converts a 'struct timeval' to 'NTTIME'.
5761 minor extension of 'set_SPropValue_proptag', used while setting PT_SYSTIME properties.
5765 update Samba4 first revision to 26100
5768 Cope with ndr updates.
5772 Patch from Brad Hards: Fix possible Heap overflow in lzfu code
5776 Fix profile creation in a clustered Exchange 2007 environment.
5780 Fix QueryColumns req size.
5784 ** Start libmapi-0.7 PHASER development **
5786 add --dump-data option to mapiprofile for debugging purpose
5790 openchangepfadmin (1) man page added
5792 Store messageID in the object when SaveChangesMessage is called
5794 Nail down Samba4 version for libmapi-0.6
5798 - Add PR_MSG_EDITOR_FORMAT property to the sendmail operation
5799 - Fix body dump bug when PR_MSG_EDITOR_FORMAT property is missing (default set to PLAINTEXT)
5800 - Continue to process the mailbox when a problem is encountered with mesage contents (not attachment)
5801 - Fix a typo bug in openchangeclient body help string
5803 Update doxygen section
5807 - Add doxygen man (3) pages to installman and uninstallman rules
5808 - do not run doxygen if apidocs already exists
5812 Move documentation to doxygen
5816 Add convenient date related functions for implementors:
5817 returns a timeval struct matching a PT_SYSTIME property
5818 for improved date manipulation in 3rd party softwares
5822 Fix build to work with latest Samba4 revision (4.0.0alpha2-SVN-build-25722)
5824 Fix make realdistclean when swig perl is enabled
5826 Fix swig perl bindins compilation: move *.o to *.po
5828 use talloc_memdup to copy const data in the body DATA_BLOB
5829 Should only provide valid pointer to talloc_free
5833 Fix the DeleteMessages [out] IDL.
5835 The remaining bytes were not part of DeleteMessages but
5836 MAPI notification (0x2a)
5840 - Add RTF support in exchange2mbox
5841 - Use openchange-tools public functions
5842 - Replace GetPropsAll calls with GetProps
5845 * Use GetProps rather than GetPropsAll for message dump
5846 * Rely on PR_MSG_EDITOR_FORMAT to select the type of body
5847 * Open a stream for PR_BODY and PR_HTML if the size exceeds max property size
5849 -This line, and those below, will be ignored--
5852 A trunk/utils/openchange-tools.c
5853 M trunk/utils/openchangeclient.c
5854 M trunk/utils/openchange-tools.h
5855 M trunk/utils/openchangeclient.h
5856 M trunk/libmapi/mapidefs.h
5864 Remove useless svn:ignore
5867 Add WrapCompressedRTFStream function for PR_RTF_COMPRESSED content.
5869 Original lzfu decompress routine fetched from libpst-0.5.2
5871 make enum MAPISTATUS variables naming uniform in libmapi
5875 Add PT_CLSID case to get_SPropValue_data
5877 Add/Fix pull property support for PT_UNICODE and PT_CLSID (used by GetProps)
5879 Patch from Brad Hards <bradh@frogmouth.net>:
5880 Fix compilation for x86_64 platforms.
5884 More svn:ignore updates
5886 Update of svn:ignore
5890 added the IDL license
5892 Convert OpenChange to GPLv3
5894 - Add .po files to make clean
5895 - Fix a couple of warnings in the utf8 conversion lexer
5896 - Prefer long filenames to truncated one for attachments in openchangeclient
5900 Prevent exchange2mbox from segfault when PR_MESSAGE_DELIVERY_DATE is unset
5902 Add PT_CLSID and PT_MV_CLSID support to the IDL
5904 - Add new named properties
5905 - Convenient function for MNID_STRING props lookup added
5908 Make .po a recognized suffix.
5912 Use -fPIC for library objects.
5916 - Rename GetAllNamesFromIDs to QueryNamesFromIDs (better naming)
5917 - fix SPropValue_CTR boolean to uint8_t in the IDL and emsmdb.c
5919 - add mapi_nameid convenient interface and headers
5920 - mapi-named-properties populated, parser added to mparse.pl, file
5921 added to the build system
5923 - remove any incorrect reference to named properties in openchange
5926 - remove deprecated libmapi/mapi.h file
5927 - remove unused ulFlag parameter from IProfAdmin functions
5928 - remove unused memory context from libmapi/x500.c
5930 - support sendnote operation in openchangeclient
5931 - optimize check/list oc_element functions in openchangeclient
5933 - update swig interface
5937 - New MAPI calls: Named properties support
5940 * GetAllNamesFromIDs
5942 - Modified MAPI calls:
5945 These calls now have more granularity in libmapi with flags support
5947 - sample mapi-named-properties file introduced in libmapi/conf
5949 - Torture test suite:
5950 * suite temporary fixed (import torture_rpc_* functions from
5952 * torture_namedprops test added
5954 - SWIG Perl bindings fixed according to changes described above
5955 - minor improvements in libmapi/mapidump.c
5959 - Decrease MAX_READ_SIZE to 0x1000
5960 - Clean-up Read/WritreStream related code
5961 - add dump-data option to openchangepfadmin (debugging purpose)
5966 - remove reference to core/nterr.h
5967 - add global_loadparm reference where missing
5968 - add reference to core/error.h where needed
5971 Improve output during build.
5975 Pass loadparm contexts, should fix the build with newer Samba revisions.
5979 - WriteStream API changed: now returns the number of bytes written
5980 - WriteStream man page updated
5981 - 16 bytes extra-data bug fixed when sending attachments in openchangeclient
5982 - Set open mode to 0600 when attachments are stored on the filesystem
5987 Fix preliminary Perl bindings so it works with Samba4 alpha2
5988 and latest libmapi revision.
5990 Patch from Andrew Gaylard <ag@computer.org>:
5992 - When calling openchangeclient with the --dump-data switch, it will
5993 dump core, since the global_mapi_ctx pointer isn't initialised yet.
5994 The fix is to wait until it's set before accessing it.
5996 Patch from Andrew Gaylard <ag@computer.org>:
5997 - Leaving any blank lines before .TH directives appears to cause a blank page
5998 to be output when converting man pages to DVI files (which is a step to converting
5999 them to PDF). The following patch remove the blank line above the .TH in each man page file.
6001 - mapiprofile doesn't understand the -A switch, as mentioned in it's man page.
6006 - Add objectClass to the object: container, message or attachment
6007 - Rename content to message in openchangebackup functions
6008 - add objectClass parameter to ocb_record_init
6012 - Move debug options to their correct location (after MAPIInitialize)
6013 - Improve code related to LDB transactions
6014 - Add convenient error checking macros
6018 - Add preliminary openchangemapidump draft
6019 - Fix lp_parm_* 1st parameter in the torture suite
6020 - New functions in property.c for MAPI data retrieval
6024 Use configure definition for mandir.
6028 Activate debugs this time
6030 Replaced remaining gotos with MAPI_RETVAL_IF so errno is set correctly
6032 MAPI_RETVAL_IF missing ";" could cause surprises ;-)
6034 Add error check for samr call.
6035 set errno with MAPI_RETVAL_IF.
6039 Make required packaged more clear (LinuxMagazin input)
6043 Remove invalid comment.
6047 - Clean-up function prototypes
6048 - Dump email when NEWMAIL notification is received
6052 Proper dependencies.
6054 Don't regenerate proto headers unless necessary.
6058 Use install for installing files/directories.
6060 Actually use replacement variable for libmagic.
6064 Remove forgotten BOOL
6066 Remove mapi_session pointer in mapi_objects
6067 Add public function to IProfAdmin: retrieve default ldif path location outside the OC tree
6071 Prevent users from creation of *undeletable* folders in Outlook and
6072 perform sanity check on dirclass + display possible values.
6074 Provides a way to modify Default and Anonymous permissions for a given folder.
6076 Fix errno in getdir function + add sanity check on opt_rmdir
6078 - Fix a memory related bug in mapiadmin_add_user
6079 - Add latest howto.txt modifications from Dan
6081 - Fix bug in *UserPermission function: return when user is not found
6082 - Add sanity checks to mapi_object API functions
6083 - mapi_object_release reset errno to 0: need to release object
6084 after displaying the potential error message.
6086 Fix a mapidump_appointment bug
6087 Add PF folder support to fetch-items operation
6091 openchangeclient now support send/read/delete operation on custom PF directories.
6093 - Add libmapiadmin library draft: Add/Remove Exchange user
6094 - openchangepfadmin tool added: Public Folders management
6095 - Add Sanity check to CreateFolder
6100 Fix last references to BOOL, True and False.
6102 Fix more references to BOOL, False and True.
6104 Use standard type and values for booleans since Samba no longer exports
6105 BOOL, True and False.
6109 - Add OpenPublicFolder function to libmapi, Open Public Folder store
6110 - change torture suite API to match latest Samba4 pidl changes
6111 - utf8_convert regexp improved
6112 - minor changes: printf to DEBUG
6113 - howto.txt patch from Dan included
6114 - Samba4 torture code related to user account creation included in the
6119 Fix segmentation fault when running update prior populating the database.
6123 Remove obsolete file from the torture suite
6125 - Add Exchange Administration test to the torture suite: Create Exchange user
6127 Dan update on howto.txt
6131 - Add Exchange ACLs support to MAPI library
6132 - Add 2 new MAPI opnum: GetTable and ModifyTable
6133 - Improve mapidump functions
6137 - Improve aclocal check in autogen.sh
6138 - Fix flex binary detection in configure.ac
6146 Create libmapi.so symlink
6150 Fix mandir installation path
6151 Add ldconfig intructions to openchange installation documentation
6157 RES_AND and RES_OR preliminary implementation.
6161 - doc patch from Brad Hards
6162 - rename PROFILE_NOPASSWORD to OC_PROFILE_NOPASSWORD
6163 - fix a warning in property.c
6167 Add some 'const' (fixes compile warnings).
6169 Use sonames (required for the Debian packages).
6171 Add .bzrignore file.
6173 Update version number and use globally defined version number in libmapi.pc.
6177 - Add IDL implementation for restrictions Content, Property,
6178 CompareProps, Bitmask, Size, Exist.
6179 - Add Restrict MAPI call handling the restrictions above
6180 - OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
6181 - convenient sendmail function added to mapi_common.c
6182 - get property size function for mapi_SPropValue added to property.c
6184 test --This line, and those below, will be ignored--
6188 M torture/openchange.c
6189 A torture/mapi_restrictions.c
6190 M torture/mapi_common.c
6191 M libmapi/property.c
6192 M libmapi/IMAPITable.c
6196 Documentation update: Perl bindings installation
6200 - Add mapitags and mapicode support to Perl SWIG bindings
6201 - SPropTagArray support
6202 - SRowSet preliminary support
6203 - new constructor/destructor for mapi objects
6207 - IProfAdmin patch applied: having password outside of the profile
6209 - Perl bindings draft added to the trunk and to the build system:
6210 --enable-swig-perl=yes
6212 - datarootdir fixed in libmapi.pc.in
6216 - Add CopyMessages IDL and COPYMAIL torture implementation
6217 - Fix man page install dir according to latest Samba4 changes
6218 - Add datarootdir var to libmapi.pc.in and fix configure warning
6222 convenient function which retrieve a value from a SPropValue array
6223 given its property tag name, otherwise NULL
6227 Patch from Brad Hards <bradh@frogmouth.net>:
6228 openchangeclient man page updated
6230 - Add Windows UTF8 to classic UTF8 conversion through a lexer
6231 - openchangeclient --mailbox option changed to use it
6232 - flex and bison support added to configure.ac
6233 - windows_to_utf8 function added: wrapper over yyparse_utf8 routine
6237 - features added to openchangeclient:
6238 * --send-appointment
6242 - openchangeclient man page updated
6243 - new properties added to mapi-properties
6245 - Add man pages for simple_mapi.c functions:
6247 * GetFolderItemsCount
6249 - Remove deprecated functions from IMsgStore.c
6250 - Update man pages documentation
6252 Fix install rule in Makefile: add missing headers
6253 Move callback retval from uint32_t to int
6255 Fix notification callback retval
6257 - Advise opnum added to the IDL
6258 - Parts of the Notify response IDL implementation
6259 - Add Notification support to libmapi
6260 - Add --notifications option to openchangeclient
6264 Patch from Brad Hards <bradh@frogmouth.net>:
6265 - PR_BUSINESS_FAX_NUMBER
6266 - improves the information provided on a contact by
6271 - Fix the release call in,out
6272 - Call Release from mapi_release_object
6273 - Add sanity check to OpenMsgStore
6274 - clean up parts of the mapi_newmail test
6276 EcDoDisconnect code now sounds to work properly
6277 Tested against Exchange 2000 / Exchange 2003
6279 - Fix SpropValue property pull problem when GetProps layout is set
6280 - Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
6281 - Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
6282 - Add debuglevel and dumpdata options support to openchangeclient
6286 - Remove useless memory allocation in mapidump.c
6287 - Improve mapidump_appointment
6288 - Add sample mapidump_note
6289 - Add --fetchitems option to openchangeclient:
6290 This command offers an easy way to fetch calendar, contacts,
6291 tasks, notes and mails from the Exchange server.
6292 - Add IPF container class defines to mapidefs.h
6293 - Add and Fix property tags
6297 - Commit the EcDoRpc max_data patch proposed on the devel list
6298 - Clean up folders related functions from the torture suite
6299 (GetDefaultFolder makes this code obsolete)
6303 Add the --mailbox option to openchangeclient which recursively
6304 lists the full mailbox folder hierarchy
6306 - Add PT_SYSTTIME support to get_SPropValue_data
6307 - Add mapidump_SPropValue_date dumping function
6308 - Add PT_SYSTIME support to mapidump_SPropValue
6310 - Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
6313 - Add GetDefaultFolder implementation to simple_mapi.c. This function
6314 provides a convenient way to retrieve default folders ID. const
6315 olFolder values are stored in libmapi/mapidefs.h
6317 - Modify the torture test suite to reflect these changes.
6319 - OpenMsgStore now decodes all the fid returned in the response
6321 - fix a bug size in libmapi/property.c
6325 - Fix SMTP recipient in libmapi
6326 - Add SMTP recipient support to openchangeclient
6327 and the torture test suite
6328 - Fix a bug in SRow_addprop
6332 - OpenMessage IDL changed: we have a permission field.
6333 It is now set by default to 0x3 (read/write) until we
6334 change OpenMessage prototype.
6336 - Add a sanity check to MAPIInitialize when no profdb
6341 Remove remaining MAPISTATUS and replace them with enum MAPISTATUS
6343 - SetReadFlags IDL and implementation added to libmapi
6344 - Warning fixed in emsabp.h
6346 Fix a bug in openchangeclient when attachments are using
6347 PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
6348 attachment filename.
6350 Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
6351 private structure member to private_data for C++ compatibility.
6353 Add libmapi/simple_mapi.c designed to hold convenient
6354 functions for application development.
6356 - GetFolderItemsCount added which returns the number of
6357 total and unread messages for a given folder.
6361 - Fix a body openchangeclient bug which now prevent openchangeclient
6362 from segfault when no body is specified.
6363 - Add GetDefaultProfile call to exchange2mbox for the default
6365 - Improve fuzzer_msgtore output
6369 Add a fuzzer torture test on OpenMsgStore which
6370 test all the possible max_data value.
6372 Should help to understand if libmapi fails because
6377 exchange2mbox improved:
6378 - tdb dependency removed
6379 - message-id are now stored in the profile database
6380 - it now mirrors deletion operation from the mbox file back to the
6382 - man page updated to reflect these changes
6384 - GetProfileAttr function prototype modified. It now returns the
6385 results count for the given attribute and store values in a string
6387 - GetProfileAttr man page updated to reflect these changes
6388 - Fix mapiprofile attribute search command
6389 - migrate from open/write calls to stream ones in exchange2mbox
6392 newmail torture + notifications implementation
6398 Fix the SambaXP live demo segfault: When an ambiguous recipient is
6399 specified, it now skips the name properly and maintain a correct
6402 - Fix a bug when storing attachments into mbox
6403 - Add default path support to exchange2mbox
6407 - Update libmapi version according to the roadmap
6408 - Fix nspi_resolvenames to use default profile database and profile
6412 - Add default profile database and profile support in the torture suite.
6413 - Fix a bug in mapidump_task
6417 - Change MAPILogonEx to MAPILogonProvider and avoid potential
6418 emsmdb endpoint related problem
6419 - add sanity check on global session pointer
6423 Merged MAILOOK-branch changes r64:163 into the trunk.
6427 Remove ChangeLog, use svn log instead ;p
6431 - libmapi includes moved from libmapi/include to libmapi
6432 - Remove arguments from prototype definitions generation in mkproto.pl
6433 - __BEGIN_DECLS __END_DECLS support in header files
6434 - united libmapi/libmapi.h header file
6435 - openchange.h header removed
6436 - PIDL generated files moved to gen_ndr
6437 - compilation rule for libmapi header installation added
6438 - useless torture tests removed
6444 Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
6445 Add GetAttachmentTable call
6451 Remove -Werror CFLAGS until I figure out how to fix
6452 our problem definitively.
6454 Remove static from dcesrv_exchange.c functions definition
6459 . reimplement GetProps
6460 . retrieve attachment size
6461 . modify fetchmail and fetchattach torture
6466 . add GetPropList to exchange.idl
6467 . add GetPropList implementation to IMAPIProp.c
6470 - Add fetchattach torture; Attachment size is not yet
6471 defined and 42 is used.
6472 - add 3 new EcDoRpc opnums:
6481 Forgot to add IMAPISession.c
6487 Remove spurious warnings at compile time and
6488 add -Werror -Wstrict-prototypes to CC.
6492 Dispatch libmapi functions into filenames matching
6493 the MAPI interface they belong to.
6497 Fix the attach issue by value and add torture test to
6498 the openchange torture suite.
6503 attachment torture test implementation
6509 Add a null element at the end of MAPI_REQ array
6510 so we can exit from the loop in ndr_print_mapi_request
6514 - Add the DeleteMessages IDL
6515 - New torture tests added:
6516 * OPENCHANGE-MAPI-SENDMAIL
6517 * OPENCHANGE-MAPI-DELETEMAIL
6519 These are experimental implementation
6524 subject option for delete message torture test
6528 added (recipients == null) check
6530 added default subject
6535 Add NspiResolveNames and the associated torture test.
6541 Fix nspi decoding problem due to the usage of
6542 a hyper instead of a dlong.
6546 - Add a preliminary NspiUpdateStat IDL
6547 - Fix the new server code convention naming
6548 (function prefixed with dcesrv_)
6549 - Fix a security bug in emsabp provider code
6553 Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
6557 Add SetProps [out] support.
6559 Temporary allocation pb fixed in ndr_pull_mapi_response.
6560 Final fix in next commit.
6566 Fix the SetProps [in] IDL
6568 New mapi call support added:
6569 - ModifyRecipients [in,out]
6570 - SubmitMessage [in,out]
6574 Add IDL support for the following mapi calls:
6579 The SetProps IDL is still experimental and the
6580 content blob should be decoded more than the current
6587 Fix the align problem in QueryRows reply blob
6588 Add some printing output and clean useless DEBUG.
6594 Fix the OpenMessage IDL and add ndr_print support
6595 to the MAPI-FETCHMAIL torture test so we can
6600 Commit of the first experimental but working implementation
6601 of the MAPI-FETCHMAIL torture test able to retrieve mails
6602 from an Exchange Server.
6606 - Add a preview implementation of cached data system for multi MAPI calls requests
6607 - Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
6608 - Enhance some MAPI calls IDL
6609 - Fix some pull/print functions according to error_code and row_count values
6615 Manual handling of EcDoRpc_MAPI_REPL pull and print function.
6616 When a mapi call returns an error_code different from MAPI_E_SUCCESS,
6617 we have to stop processing the function IDL since no parameters follow.
6621 add MAPISTATUS to EcDoRpc_MAPI_REPL
6622 add mapi library code for:
6628 add mapi calls described above to MAPI-FETCHMAIL torture test
6632 add mapi_response to emsmdb_transaction so we can get the results
6633 check the mapi call error core in OpenMsgStore
6637 Add MAPISTATUS field in each mapi calls
6638 Add new MAPICODE (MAPI_E_CALL_FAILED)
6642 Fix the mapi_request push function
6643 Add a first approach to the MAPI client side library
6644 Add a first approach of the MAPI-FETCHMAIL torture test
6645 Fix the smb.conf.example with new fields and remove Samba4 unused ones
6651 Initial mapidump commit
6652 OpenMessage IDL fixed
6658 Unused and dummy code removed
6662 - Remove the MAPI decoding TDR layer and associated functions
6663 - Add MAPI decoding in exchange.idl at NDR layer
6664 - mapi_request / mapi_response pull/print ok
6665 - implement subcontext for async response decoding in
6667 - new MAPITAGS added related to Message envelope properties
6668 - clean up the code and remove unused files
6670 - Add new MAPI opnums and associated IDL:
6671 * [in] Release (opnum=0x1)
6672 * [in,out] OpenFolder (opnum=0x2)
6673 * [in,out] OpenMessage (opnum=0x3)
6674 * [in,out] GetContentsTable (opnum=0x5)
6675 * [in,out] GetProps (opnum=0x7)
6676 * [in,out] Secolumns (opnum=0x12)
6677 * [in,out] QueryRows (opnum=0x15)
6678 * [in,out] GetReceiveFolder (opnum=0x27)
6679 * [in,out] OpenMsgStore (opnum=0xFE)
6685 For IDL with unknown fields followed the IDL may
6686 change and the mapping of these unknown bytes incorrect.
6687 It's just based on assumptions and results of the different
6692 - The mapi_request / mapi_response pull function
6693 - emsmdb torture tests and libmapi/emsmdb.c
6695 All this code is currently broken and will be fixed
6696 when we start writing the new emsmdb torture suite
6704 Fix ndr_pull_MAPI_DATA function
6708 - Add new mapi opnums
6709 - Add a first IDL implementation for OpenMsgStore out
6713 - Enhance the handles id support in MAPI_DATA
6714 - Remove unused code
6716 EMSMDB encoding/decoding is currently broken.
6717 It will be fixed when we start the client side
6718 mapi library implementation.
6724 - Change IMAPISession.idl to mapi.idl
6725 - enhance mapi content payload decoding (multiple calls supported)
6726 - add sub EcDoRpc opnums and IDL for setcolumns (in)
6733 - new function on emsabp provider for entry id generation
6739 Old mapitables code deleted and merge of the samdb
6740 code used in openchange (emsabp_result_guid function).
6742 The following revision compiles and work fine with
6743 Samba4 revision 20341
6750 Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)
6756 - Fix compilation warnings based on patches provided
6757 by Stefan Huehner <stefan@huehner.org>
6758 - Fix the DSO issue for x64 platforms
6759 - Add the evolution plugin in the compilation process
6760 - remove the mapidump code (obsolete and replaced with ndrdump usage)
6766 evolution plugin moved into client/evolution for
6767 a correct and extensible naming convention.
6769 EcDoRpc IDL modified:
6770 - opnum are now 8 bits
6772 - EcDoRpc ndrdump output enhanced
6774 IMAPISession IDL modified:
6775 - Change OpenMsgStore function name to MAPI_RPC_LOGON
6776 for the 0xFE opnum operation.
6778 Fix warnings in the code.
6784 Openchange-Evolution plugin commit
6785 I reorganized openchange evolution plugin source tree.
6786 Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
6787 Everything can be found in the oc-evolution directory.
6788 This is code a minimalist implementation of the camel provider for evolution.
6789 It will make appears an openchange server type in the server list handled by evolution.
6790 Still have to fix the ./configure to create a Makefile though.
6794 Fix the memory allocation problems in the emsmdb torture test
6798 Removed ascstr and directly add it to the IDL
6800 Fix the NspiQueryRows response where strings
6801 containing the user email address have to be
6804 The EMSABP provider is working ;-)
6808 The emsabp provider is now able to return multiple users
6809 when searching for part of a username.
6815 Fix the networkAddress binding strings for the
6816 Exchange object in the configuration db. The
6817 SERVER variable based on exchange:server had
6818 been added while we needed the NETBIOSNAME one
6820 Fix a segmentation fault in emsabp.c due to an
6821 unchecked pointer res->msgs. This was causing
6822 smbd to segfault when the supplied legacyExchangeDN
6823 sent by the user wasn't present in the database.
6829 Remove unused files and directory.
6830 Update Makefile.in and remove storedb compilation
6839 - provisioning (for the legacyExchangeDN of the server entry)
6843 Fix the build and remove dynconfig samba lib
6849 Unused ldif files removed + Schemas definitions updated
6853 Provisionning fixed (old ldif files cleaned)
6859 add tags rules to the Makefile
6863 add the \\pipe\\protected_storage named pipe
6864 to exchange_nsp bindings
6870 Add a dcerpc_server module in charge of the
6871 exchange interfaces registration. When this module
6872 is loaded prior the remote endpoint, it let us proxify
6873 the exchange_nsp and exchange_emsmdb ones.
6875 Change the exchange_nsp ncacn_np binding string to
6876 reflect how Exchange server is currently using it.
6878 Conform the IDL with latest pidl requirements and
6879 move the MAPI_DATA structure from exchange_nsp to
6886 Create the $prefix/modules/{dcerpc_server,torture}
6889 This fix openchange make install rule.
6893 This commit conforms openchange with the Samba4
6894 trunk and fix the autotools checks.
6896 I've modified the openchange torture file to
6897 match the current smbtorture API and the
6898 OPENCHANGE-NSPI-PROFILE test was successful.
6900 The NSPI ndrdump suite has fully been tested and
6907 This commit fix the build system:
6908 - add the -ldynconfig dependency to LDFLAGS
6909 - add header checks in configure.ac. We need them
6910 for the moment cause Samba4 doesn't install some headers
6911 required by openchange core
6912 - fix the make install
6914 - remove autotools generated files and definitively
6915 ignore them with the .svnignore file
6917 - keepref keyword removed from exchange_nsp interface
6922 + aclocal.m4 removed from repository
6923 + provisionning fixed