jelmer/openchange.git
11 years agoRemove useless svn:ignore tdr
Ali Mdidech [Fri, 19 Oct 2007 16:41:58 +0000 (16:41 +0000)]
Remove useless svn:ignore

11 years agoMore svn:ignore updates
Ali Mdidech [Sun, 14 Oct 2007 22:25:42 +0000 (22:25 +0000)]
More svn:ignore updates

11 years agoUpdate of svn:ignore
Ali Mdidech [Sun, 14 Oct 2007 22:17:43 +0000 (22:17 +0000)]
Update of svn:ignore

11 years agoFix the code to have a working fetchmail test
Julien Kerihuel [Wed, 20 Jun 2007 12:14:42 +0000 (12:14 +0000)]
Fix the code to have a working fetchmail test

11 years agoFix compilation for tdr branch
Julien Kerihuel [Mon, 18 Jun 2007 20:13:26 +0000 (20:13 +0000)]
Fix compilation for tdr branch

11 years agoFix tdr warnings
Julien Kerihuel [Mon, 18 Jun 2007 16:32:07 +0000 (16:32 +0000)]
Fix tdr warnings

11 years agoBring some mapi.idl fixes + rewrite parts of ndr_mapi.c
Julien Kerihuel [Mon, 18 Jun 2007 16:21:37 +0000 (16:21 +0000)]
Bring some mapi.idl fixes + rewrite parts of ndr_mapi.c
to handle tdr layer pull/push/print for specific structures

11 years ago- Add mapi_request, mapi_response IDLs
Julien Kerihuel [Sun, 17 Jun 2007 14:37:34 +0000 (14:37 +0000)]
- Add mapi_request, mapi_response IDLs
- Fix parts of the build

11 years ago- Fix TDR IDL
Julien Kerihuel [Sat, 16 Jun 2007 21:43:01 +0000 (21:43 +0000)]
- Fix TDR IDL
- forward decls for MAPITAGS, MAPISTATUS and ulEventType added
- tdr IDL added to the build system and libmapi headers

Note: The branch won't compile yet

11 years agoMake mapi.idl TDR compliant
Julien Kerihuel [Sat, 16 Jun 2007 18:04:34 +0000 (18:04 +0000)]
Make mapi.idl TDR compliant

11 years agoMove mapi request/response code to separate IDL file.
Jelmer Vernooij [Sat, 16 Jun 2007 17:52:49 +0000 (17:52 +0000)]
Move mapi request/response code to separate IDL file.

11 years agoCreate branch for migrating some IDL to TDR.
Jelmer Vernooij [Sat, 16 Jun 2007 16:15:03 +0000 (16:15 +0000)]
Create branch for migrating some IDL to TDR.

11 years ago- Add IDL implementation for restrictions Content, Property,
Julien Kerihuel [Fri, 15 Jun 2007 14:12:27 +0000 (14:12 +0000)]
- Add IDL implementation for restrictions Content, Property,
CompareProps, Bitmask, Size, Exist.
- Add Restrict MAPI call handling the restrictions above
- OPENCHANGE-MAPI-RESTRICTIONS torture test added to the suite.
- convenient sendmail function added to mapi_common.c
- get property size function for mapi_SPropValue added to property.c

test --This line, and those below, will be ignored--

M    Makefile.in
M    exchange.idl
M    torture/openchange.c
A    torture/mapi_restrictions.c
M    torture/mapi_common.c
M    libmapi/property.c
M    libmapi/IMAPITable.c

11 years agoDocumentation update: Perl bindings installation
Julien Kerihuel [Mon, 11 Jun 2007 22:33:58 +0000 (22:33 +0000)]
Documentation update: Perl bindings installation

11 years ago- Add mapitags and mapicode support to Perl SWIG bindings
Julien Kerihuel [Sun, 10 Jun 2007 21:58:39 +0000 (21:58 +0000)]
- Add mapitags and mapicode support to Perl SWIG bindings
- SPropTagArray support
- SRowSet preliminary support
- new constructor/destructor for mapi objects

11 years ago- IProfAdmin patch applied: having password outside of the profile
Julien Kerihuel [Sat, 9 Jun 2007 14:42:39 +0000 (14:42 +0000)]
- IProfAdmin patch applied: having password outside of the profile

- Perl bindings draft added to the trunk and to the build system:
  --enable-swig-perl=yes

- datarootdir fixed in libmapi.pc.in

11 years ago- Add CopyMessages IDL and COPYMAIL torture implementation
Julien Kerihuel [Wed, 6 Jun 2007 00:01:13 +0000 (00:01 +0000)]
- Add CopyMessages IDL and COPYMAIL torture implementation
- Fix man page install dir according to latest Samba4 changes
- Add datarootdir var to libmapi.pc.in and fix configure warning

11 years agoconvenient function which retrieve a value from a SPropValue array
Julien Kerihuel [Fri, 1 Jun 2007 02:01:35 +0000 (02:01 +0000)]
convenient function which retrieve a value from a SPropValue array
given its property tag name, otherwise NULL

11 years agoPatch from Brad Hards <bradh@frogmouth.net>:
Julien Kerihuel [Thu, 31 May 2007 03:03:48 +0000 (03:03 +0000)]
Patch from Brad Hards <bradh@frogmouth.net>:
openchangeclient man page updated

11 years ago- Add Windows UTF8 to classic UTF8 conversion through a lexer
Julien Kerihuel [Thu, 31 May 2007 02:56:35 +0000 (02:56 +0000)]
- Add Windows UTF8 to classic UTF8 conversion through a lexer
- openchangeclient --mailbox option changed to use it
- flex and bison support added to configure.ac
- windows_to_utf8 function added: wrapper over yyparse_utf8 routine

11 years ago- features added to openchangeclient:
Julien Kerihuel [Tue, 29 May 2007 21:55:03 +0000 (21:55 +0000)]
- features added to openchangeclient:
* --send-appointment
* --send-contact
* --send-task
* custom parameters
- openchangeclient man page updated
- new properties added to mapi-properties

11 years ago- Add man pages for simple_mapi.c functions:
Julien Kerihuel [Tue, 29 May 2007 14:50:07 +0000 (14:50 +0000)]
- Add man pages for simple_mapi.c functions:
 * GetDefaultFolder
 * GetFolderItemsCount

11 years ago- Remove deprecated functions from IMsgStore.c
Julien Kerihuel [Tue, 29 May 2007 14:34:23 +0000 (14:34 +0000)]
- Remove deprecated functions from IMsgStore.c
- Update man pages documentation

11 years agoFix install rule in Makefile: add missing headers
Julien Kerihuel [Tue, 29 May 2007 12:21:41 +0000 (12:21 +0000)]
Fix install rule in Makefile: add missing headers
Move callback retval from uint32_t to int

11 years agoFix notification callback retval
Julien Kerihuel [Tue, 29 May 2007 12:01:49 +0000 (12:01 +0000)]
Fix notification callback retval

11 years ago- Advise opnum added to the IDL
Julien Kerihuel [Tue, 29 May 2007 03:48:11 +0000 (03:48 +0000)]
- Advise opnum added to the IDL
- Parts of the Notify response IDL implementation
- Add Notification support to libmapi
- Add --notifications option to openchangeclient

11 years agoPatch from Brad Hards <bradh@frogmouth.net>:
Julien Kerihuel [Mon, 28 May 2007 22:41:50 +0000 (22:41 +0000)]
Patch from Brad Hards <bradh@frogmouth.net>:
- PR_BUSINESS_FAX_NUMBER
- improves the information provided on a contact by
     mapidump_contact()

12 years ago- Fix the release call in,out
Julien Kerihuel [Fri, 25 May 2007 22:33:57 +0000 (22:33 +0000)]
- Fix the release call in,out
- Call Release from mapi_release_object
- Add sanity check to OpenMsgStore
- clean up parts of the mapi_newmail test

12 years agoEcDoDisconnect code now sounds to work properly
Julien Kerihuel [Fri, 25 May 2007 15:10:05 +0000 (15:10 +0000)]
EcDoDisconnect code now sounds to work properly
Tested against Exchange 2000 / Exchange 2003

12 years ago- Fix SpropValue property pull problem when GetProps layout is set
Julien Kerihuel [Fri, 25 May 2007 14:54:21 +0000 (14:54 +0000)]
- Fix SpropValue property pull problem when GetProps layout is set
- Add a dumpdata boolean to mapi_ctx_t so tools can dump hex data
- Add PR_CONTAINER_CLASS fetch to openchangeclient --mailbox
- Add debuglevel and dumpdata options support to openchangeclient

12 years ago- Remove useless memory allocation in mapidump.c
Julien Kerihuel [Thu, 24 May 2007 02:36:31 +0000 (02:36 +0000)]
- Remove useless memory allocation in mapidump.c
- Improve mapidump_appointment
- Add sample mapidump_note
- Add --fetchitems option to openchangeclient:
This command offers an easy way to fetch calendar, contacts,
tasks, notes and mails from the Exchange server.
- Add IPF container class defines to mapidefs.h
- Add and Fix property tags

12 years ago- Commit the EcDoRpc max_data patch proposed on the devel list
Julien Kerihuel [Tue, 22 May 2007 11:14:03 +0000 (11:14 +0000)]
- Commit the EcDoRpc max_data patch proposed on the devel list
- Clean up folders related functions from the torture suite
(GetDefaultFolder makes this code obsolete)

12 years agoAdd the --mailbox option to openchangeclient which recursively
Julien Kerihuel [Mon, 21 May 2007 23:39:58 +0000 (23:39 +0000)]
Add the --mailbox option to openchangeclient which recursively
lists the full mailbox folder hierarchy

12 years ago- Add PT_SYSTTIME support to get_SPropValue_data
Julien Kerihuel [Mon, 21 May 2007 15:23:35 +0000 (15:23 +0000)]
- Add PT_SYSTTIME support to get_SPropValue_data
- Add mapidump_SPropValue_date dumping function
- Add PT_SYSTIME support to mapidump_SPropValue

12 years ago- Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
Julien Kerihuel [Mon, 21 May 2007 12:11:42 +0000 (12:11 +0000)]
- Add multi-valued SBinary_short support to mapi_SPropValue_CTR in the
IDL

- Add GetDefaultFolder implementation to simple_mapi.c. This function
provides a convenient way to retrieve default folders ID. const
olFolder values are stored in libmapi/mapidefs.h

- Modify the torture test suite to reflect these changes.

- OpenMsgStore now decodes all the fid returned in the response

- fix a bug size in libmapi/property.c

12 years ago- Fix SMTP recipient in libmapi
Julien Kerihuel [Fri, 18 May 2007 03:00:09 +0000 (03:00 +0000)]
- Fix SMTP recipient in libmapi
- Add SMTP recipient support to openchangeclient
and the torture test suite
- Fix a bug in SRow_addprop

12 years ago- OpenMessage IDL changed: we have a permission field.
Julien Kerihuel [Thu, 17 May 2007 02:55:26 +0000 (02:55 +0000)]
- OpenMessage IDL changed: we have a permission field.
It is now set by default to 0x3 (read/write) until we
change OpenMessage prototype.

- Add a sanity check to MAPIInitialize when no profdb
is specified

12 years agoRemove remaining MAPISTATUS and replace them with enum MAPISTATUS
Julien Kerihuel [Tue, 15 May 2007 23:34:31 +0000 (23:34 +0000)]
Remove remaining MAPISTATUS and replace them with enum MAPISTATUS

12 years ago- SetReadFlags IDL and implementation added to libmapi
Julien Kerihuel [Tue, 15 May 2007 23:26:05 +0000 (23:26 +0000)]
- SetReadFlags IDL and implementation added to libmapi
- Warning fixed in emsabp.h

12 years agoFix a bug in openchangeclient when attachments are using
Julien Kerihuel [Tue, 15 May 2007 14:22:43 +0000 (14:22 +0000)]
Fix a bug in openchangeclient when attachments are using
PR_ATTACH_LONG_FILENAME rather than PR_ATTACH_FILENAME to store
attachment filename.

12 years agoPatch supplied by Brad Hards <bradh@frogmouth.net> which renames
Julien Kerihuel [Tue, 15 May 2007 13:34:24 +0000 (13:34 +0000)]
Patch supplied by Brad Hards <bradh@frogmouth.net> which renames
private structure member to private_data for C++ compatibility.

12 years agoAdd libmapi/simple_mapi.c designed to hold convenient
Julien Kerihuel [Tue, 15 May 2007 12:08:52 +0000 (12:08 +0000)]
Add libmapi/simple_mapi.c designed to hold convenient
functions for application development.

- GetFolderItemsCount added which returns the number of
total and unread messages for a given folder.

12 years ago- Fix a body openchangeclient bug which now prevent openchangeclient
Julien Kerihuel [Mon, 14 May 2007 15:24:00 +0000 (15:24 +0000)]
- Fix a body openchangeclient bug which now prevent openchangeclient
from segfault when no body is specified.
- Add GetDefaultProfile call to exchange2mbox for the default
operation.
- Improve fuzzer_msgtore output

12 years agoAdd a fuzzer torture test on OpenMsgStore which
Julien Kerihuel [Sun, 13 May 2007 15:25:32 +0000 (15:25 +0000)]
Add a fuzzer torture test on OpenMsgStore which
test all the possible max_data value.

Should help to understand if libmapi fails because
of max_data or not.

12 years agonewmail torture + notifications implementation
Texane [Sat, 12 May 2007 19:22:18 +0000 (19:22 +0000)]
newmail torture + notifications implementation

-- texane

12 years agoexchange2mbox improved:
Julien Kerihuel [Sat, 12 May 2007 19:10:55 +0000 (19:10 +0000)]
exchange2mbox improved:
- tdb dependency removed
- message-id are now stored in the profile database
- it now mirrors deletion operation from the mbox file back to the
Exchange server.
- man page updated to reflect these changes

12 years ago- GetProfileAttr function prototype modified. It now returns the
Julien Kerihuel [Sat, 12 May 2007 13:35:35 +0000 (13:35 +0000)]
- GetProfileAttr function prototype modified. It now returns the
results count for the given attribute and store values in a string
array.
- GetProfileAttr man page updated to reflect these changes
- Fix mapiprofile attribute search command
- migrate from open/write calls to stream ones in exchange2mbox

12 years agoFix the SambaXP live demo segfault: When an ambiguous recipient is
Julien Kerihuel [Fri, 11 May 2007 15:08:14 +0000 (15:08 +0000)]
Fix the SambaXP live demo segfault: When an ambiguous recipient is
specified, it now skips the name properly and maintain a correct
SRowSet.

12 years ago- Fix a bug when storing attachments into mbox
Julien Kerihuel [Fri, 11 May 2007 14:25:42 +0000 (14:25 +0000)]
- Fix a bug when storing attachments into mbox
- Add default path support to exchange2mbox

12 years ago- Update libmapi version according to the roadmap
Julien Kerihuel [Thu, 10 May 2007 00:31:22 +0000 (00:31 +0000)]
- Update libmapi version according to the roadmap
- Fix nspi_resolvenames to use default profile database and profile

12 years ago- Add default profile database and profile support in the torture suite.
Julien Kerihuel [Wed, 9 May 2007 20:36:47 +0000 (20:36 +0000)]
- Add default profile database and profile support in the torture suite.
- Fix a bug in mapidump_task

12 years ago- Change MAPILogonEx to MAPILogonProvider and avoid potential
Julien Kerihuel [Tue, 8 May 2007 14:58:01 +0000 (14:58 +0000)]
- Change MAPILogonEx to MAPILogonProvider and avoid potential
emsmdb endpoint related problem
- add sanity check on global session pointer

12 years agoMerged MAILOOK-branch changes r64:163 into the trunk.
Ali Mdidech [Sun, 6 May 2007 14:40:02 +0000 (14:40 +0000)]
Merged MAILOOK-branch changes r64:163 into the trunk.

12 years agoRemove ChangeLog, use svn log instead ;p
Julien Kerihuel [Sun, 4 Mar 2007 15:42:40 +0000 (15:42 +0000)]
Remove ChangeLog, use svn log instead ;p

12 years ago- libmapi includes moved from libmapi/include to libmapi
Julien Kerihuel [Tue, 13 Feb 2007 21:27:37 +0000 (21:27 +0000)]
- libmapi includes moved from libmapi/include to libmapi
- Remove arguments from prototype definitions generation in mkproto.pl
- __BEGIN_DECLS __END_DECLS support in header files
- united libmapi/libmapi.h header file
- openchange.h header removed
- PIDL generated files moved to gen_ndr
- compilation rule for libmapi header installation added
- useless torture tests removed

jkerihuel.

12 years agoReplace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
Julien Kerihuel [Mon, 12 Feb 2007 01:33:25 +0000 (01:33 +0000)]
Replace OpenProperty and ReadAttach calls with OpenStream and ReadStream call
Add GetAttachmentTable call

jkerihuel.

12 years ago. reimplement GetProps
Texane [Fri, 9 Feb 2007 17:18:34 +0000 (17:18 +0000)]
. reimplement GetProps
. retrieve attachment size
. modify fetchmail and fetchattach torture

-- texane

12 years ago. add GetPropList to exchange.idl
Texane [Fri, 9 Feb 2007 10:14:56 +0000 (10:14 +0000)]
. add GetPropList to exchange.idl
. add GetPropList implementation to IMAPIProp.c
-- texane

12 years ago- Add fetchattach torture; Attachment size is not yet
Texane [Fri, 9 Feb 2007 02:19:21 +0000 (02:19 +0000)]
- Add fetchattach torture; Attachment size is not yet
defined and 42 is used.
- add 3 new EcDoRpc opnums:
- OpenAttach
- ReadAttach
- OpenProperty

-- texane

12 years agoRemove -Werror CFLAGS until I figure out how to fix
Julien Kerihuel [Fri, 9 Feb 2007 01:44:25 +0000 (01:44 +0000)]
Remove -Werror CFLAGS until I figure out how to fix
our problem definitively.

Remove static from dcesrv_exchange.c functions definition

jkerihuel.

12 years agoForgot to add IMAPISession.c
Julien Kerihuel [Thu, 8 Feb 2007 23:20:55 +0000 (23:20 +0000)]
Forgot to add IMAPISession.c

jkerihuel.

12 years agoRemove spurious warnings at compile time and
Julien Kerihuel [Wed, 7 Feb 2007 23:41:29 +0000 (23:41 +0000)]
Remove spurious warnings at compile time and
add -Werror -Wstrict-prototypes to CC.

jkerihuel.

12 years agoDispatch libmapi functions into filenames matching
Julien Kerihuel [Wed, 7 Feb 2007 22:22:32 +0000 (22:22 +0000)]
Dispatch libmapi functions into filenames matching
the MAPI interface they belong to.

jkerihuel.

12 years agoFix the attach issue by value and add torture test to
Julien Kerihuel [Wed, 7 Feb 2007 18:04:21 +0000 (18:04 +0000)]
Fix the attach issue by value and add torture test to
the openchange torture suite.

jkerihuel.

12 years agoattachment torture test implementation
Texane [Wed, 7 Feb 2007 13:34:57 +0000 (13:34 +0000)]
attachment torture test implementation

-- texane

12 years agoAdd a null element at the end of MAPI_REQ array
Julien Kerihuel [Tue, 6 Feb 2007 22:22:27 +0000 (22:22 +0000)]
Add a null element at the end of MAPI_REQ array
so we can exit from the loop in ndr_print_mapi_request

jkerihuel.

12 years agosubject option for delete message torture test
Texane [Tue, 6 Feb 2007 20:19:46 +0000 (20:19 +0000)]
subject option for delete message torture test

-- texane

12 years agoadded (recipients == null) check
Texane [Tue, 6 Feb 2007 19:31:55 +0000 (19:31 +0000)]
added (recipients == null) check
added default body
added default subject
-- texane

12 years ago- Add the DeleteMessages IDL
Julien Kerihuel [Tue, 6 Feb 2007 18:05:24 +0000 (18:05 +0000)]
- Add the DeleteMessages IDL
- New torture tests added:
* OPENCHANGE-MAPI-SENDMAIL
* OPENCHANGE-MAPI-DELETEMAIL

These are experimental implementation

jkerihuel.

12 years agoAdd NspiResolveNames and the associated torture test.
Julien Kerihuel [Sat, 3 Feb 2007 04:13:25 +0000 (04:13 +0000)]
Add NspiResolveNames and the associated torture test.

jkerihuel.

12 years agoFix nspi decoding problem due to the usage of
Julien Kerihuel [Thu, 1 Feb 2007 21:29:25 +0000 (21:29 +0000)]
Fix nspi decoding problem due to the usage of
a hyper instead of a dlong.

jkerihuel.

12 years ago- Add a preliminary NspiUpdateStat IDL
Julien Kerihuel [Thu, 1 Feb 2007 15:44:45 +0000 (15:44 +0000)]
- Add a preliminary NspiUpdateStat IDL
- Fix the new server code convention naming
(function prefixed with dcesrv_)
- Fix a security bug in emsabp provider code

jkerihuel.

12 years agoFix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.
Julien Kerihuel [Thu, 1 Feb 2007 10:32:41 +0000 (10:32 +0000)]
Fix the allocation memory for the EcDoRpc_{MAPI_REQ,MAPI_REPL} pointer.

jkerihuel.

12 years agoAdd SetProps [out] support.
Julien Kerihuel [Thu, 1 Feb 2007 09:31:20 +0000 (09:31 +0000)]
Add SetProps [out] support.

Temporary allocation pb fixed in ndr_pull_mapi_response.
Final fix in next commit.

jkerihuel.

12 years agoFix the SetProps [in] IDL
Julien Kerihuel [Wed, 31 Jan 2007 23:32:19 +0000 (23:32 +0000)]
Fix the SetProps [in] IDL

New mapi call support added:
- ModifyRecipients [in,out]
- SubmitMessage [in,out]

jkerihuel.

12 years agoAdd IDL support for the following mapi calls:
Julien Kerihuel [Wed, 31 Jan 2007 05:11:22 +0000 (05:11 +0000)]
Add IDL support for the following mapi calls:

[in] CreateMessage
[in] SetProps

The SetProps IDL is still experimental and the
content blob should be decoded more than the current
IDL does.

jkerihuel.

12 years agoFix the align problem in QueryRows reply blob
Julien Kerihuel [Tue, 30 Jan 2007 01:38:17 +0000 (01:38 +0000)]
Fix the align problem in QueryRows reply blob
Add some printing output and clean useless DEBUG.

jkerihuel.

12 years agoFix the OpenMessage IDL and add ndr_print support
Julien Kerihuel [Mon, 29 Jan 2007 23:43:32 +0000 (23:43 +0000)]
Fix the OpenMessage IDL and add ndr_print support
to the MAPI-FETCHMAIL torture test so we can
read information.

jkerihuel.

12 years agoCommit of the first experimental but working implementation
Julien Kerihuel [Mon, 29 Jan 2007 21:48:15 +0000 (21:48 +0000)]
Commit of the first experimental but working implementation
of the MAPI-FETCHMAIL torture test able to retrieve mails
from an Exchange Server.

jkerihuel.

12 years ago- Add a preview implementation of cached data system for multi MAPI calls requests
Julien Kerihuel [Mon, 29 Jan 2007 02:05:51 +0000 (02:05 +0000)]
- Add a preview implementation of cached data system for multi MAPI calls requests
- Add SetColumns and QueryRows calls to mapi.c + mapi_fetchmail torture test
- Enhance some MAPI calls IDL
- Fix some pull/print functions according to error_code and row_count values

jkerihuel.

12 years agoManual handling of EcDoRpc_MAPI_REPL pull and print function.
Julien Kerihuel [Sun, 28 Jan 2007 20:43:31 +0000 (20:43 +0000)]
Manual handling of EcDoRpc_MAPI_REPL pull and print function.
When a mapi call returns an error_code different from MAPI_E_SUCCESS,
we have to stop processing the function IDL since no parameters follow.

jkerihuel.

12 years agoadd MAPISTATUS to EcDoRpc_MAPI_REPL
Julien Kerihuel [Sun, 28 Jan 2007 18:15:03 +0000 (18:15 +0000)]
add MAPISTATUS to EcDoRpc_MAPI_REPL
add mapi library code for:
- OpenFolder
- Release
- GetContentsTable
- GetReceiveFolder

add mapi calls described above to MAPI-FETCHMAIL torture test

jkerihuel.

12 years agoadd mapi_response to emsmdb_transaction so we can get the results
Julien Kerihuel [Sun, 28 Jan 2007 03:26:02 +0000 (03:26 +0000)]
add mapi_response to emsmdb_transaction so we can get the results
check the mapi call error core in OpenMsgStore

jkerihuel.

12 years agoAdd MAPISTATUS field in each mapi calls
Julien Kerihuel [Sun, 28 Jan 2007 02:36:59 +0000 (02:36 +0000)]
Add MAPISTATUS field in each mapi calls
Add new MAPICODE (MAPI_E_CALL_FAILED)

jkerihuel.

12 years agoFix the mapi_request push function
Julien Kerihuel [Sun, 28 Jan 2007 00:58:10 +0000 (00:58 +0000)]
Fix the mapi_request push function
Add a first approach to the MAPI client side library
Add a first approach of the MAPI-FETCHMAIL torture test
Fix the smb.conf.example with new fields and remove Samba4 unused ones

jkerihuel.

12 years agoInitial mapidump commit
Julien Kerihuel [Sat, 27 Jan 2007 00:31:09 +0000 (00:31 +0000)]
Initial mapidump commit
OpenMessage IDL fixed

jkerihuel.

12 years agoUnused and dummy code removed
Julien Kerihuel [Wed, 24 Jan 2007 22:52:58 +0000 (22:52 +0000)]
Unused and dummy code removed

jkerihuel

12 years ago- Remove the MAPI decoding TDR layer and associated functions
Julien Kerihuel [Wed, 24 Jan 2007 22:37:09 +0000 (22:37 +0000)]
- Remove the MAPI decoding TDR layer and associated functions
- Add MAPI decoding in exchange.idl at NDR layer
- mapi_request / mapi_response pull/print ok
- implement subcontext for async response decoding in
some EcDoRpc IDLs.
- new MAPITAGS added related to Message envelope properties
- clean up the code and remove unused files

- Add new MAPI opnums and associated IDL:
* [in]     Release          (opnum=0x1)
* [in,out] OpenFolder       (opnum=0x2)
* [in,out] OpenMessage      (opnum=0x3)
* [in,out] GetContentsTable (opnum=0x5)
* [in,out] GetProps         (opnum=0x7)
* [in,out] Secolumns        (opnum=0x12)
* [in,out] QueryRows        (opnum=0x15)
* [in,out] GetReceiveFolder (opnum=0x27)
* [in,out] OpenMsgStore     (opnum=0xFE)

** WARNING  **

1. Assumption
==============
For IDL with unknown fields followed the IDL may
change and the mapping of these unknown bytes incorrect.
It's just based on assumptions and results of the different
wireshark captures.

2. Broken Code
==============
- The mapi_request / mapi_response pull function
- emsmdb torture tests and libmapi/emsmdb.c

All this code is currently broken and will be fixed
when we start writing the new emsmdb torture suite
using the new API.

jkerihuel

12 years agoFix ndr_pull_MAPI_DATA function
Julien Kerihuel [Mon, 22 Jan 2007 20:28:16 +0000 (20:28 +0000)]
Fix ndr_pull_MAPI_DATA function

jkerihuel.

12 years ago- Add new mapi opnums
Julien Kerihuel [Mon, 22 Jan 2007 18:37:40 +0000 (18:37 +0000)]
- Add new mapi opnums
- Add a first IDL implementation for OpenMsgStore out

jkerihuel.

12 years ago- Enhance the handles id support in MAPI_DATA
Julien Kerihuel [Mon, 22 Jan 2007 12:15:01 +0000 (12:15 +0000)]
- Enhance the handles id support in MAPI_DATA
- Remove unused code

EMSMDB encoding/decoding is currently broken.
It will be fixed when we start the client side
mapi library implementation.

jkerihuel.

12 years ago- Change IMAPISession.idl to mapi.idl
Julien Kerihuel [Sun, 21 Jan 2007 18:29:29 +0000 (18:29 +0000)]
- Change IMAPISession.idl to mapi.idl
- enhance mapi content payload decoding (multiple calls supported)
- add sub EcDoRpc opnums and IDL for setcolumns (in)

jkerihuel

12 years ago- memory leak fixed
Pauline Khun [Sun, 21 Jan 2007 17:57:48 +0000 (17:57 +0000)]
- memory leak fixed
- new function on emsabp provider for entry id generation

pkhun

12 years agoOld mapitables code deleted and merge of the samdb
Julien Kerihuel [Wed, 27 Dec 2006 20:03:20 +0000 (20:03 +0000)]
Old mapitables code deleted and merge of the samdb
code used in openchange (emsabp_result_guid function).

The following revision compiles and work fine with
Samba4 revision 20341

jkerihuel.

12 years agoInstance keys management changed (we now use struct instance_key and uint32_t instead...
Pauline Khun [Sun, 17 Dec 2006 17:28:19 +0000 (17:28 +0000)]
Instance keys management changed (we now use struct instance_key and uint32_t instead of an array of 4 uint8_t)

pkhun

12 years ago- Fix compilation warnings based on patches provided
Julien Kerihuel [Fri, 15 Dec 2006 03:03:04 +0000 (03:03 +0000)]
- Fix compilation warnings based on patches provided
by Stefan Huehner <stefan@huehner.org>
- Fix the DSO issue for x64 platforms
- Add the evolution plugin in the compilation process
- remove the mapidump code (obsolete and replaced with ndrdump usage)

jkerihuel.

12 years agoevolution plugin moved into client/evolution for
Julien Kerihuel [Wed, 13 Dec 2006 01:15:47 +0000 (01:15 +0000)]
evolution plugin moved into client/evolution for
a correct and extensible naming convention.

EcDoRpc IDL modified:
- opnum are now 8 bits
- action enum added
- EcDoRpc ndrdump output enhanced

IMAPISession IDL modified:
- Change OpenMsgStore function name to MAPI_RPC_LOGON
for the 0xFE opnum operation.

Fix warnings in the code.

jkerihuel.

12 years agoOpenchange-Evolution plugin commit
Loic Calvez [Sat, 9 Dec 2006 14:20:54 +0000 (14:20 +0000)]
Openchange-Evolution plugin commit
I reorganized openchange evolution plugin source tree.
Now we have one directory for the camel-openchange provider, and one for the openchange eplugin.
Everything can be found in the oc-evolution directory.
This is code a minimalist implementation of the camel provider for evolution.
It will make appears an openchange server type in the server list handled by evolution.
Still have to fix the ./configure to create a Makefile though.

12 years agoFix the memory allocation problems in the emsmdb torture test
Julien Kerihuel [Tue, 5 Dec 2006 02:43:09 +0000 (02:43 +0000)]
Fix the memory allocation problems in the emsmdb torture test

12 years agoThe emsabp provider is now able to return multiple users
Pauline Khun [Sun, 3 Dec 2006 17:22:17 +0000 (17:22 +0000)]
The emsabp provider is now able to return multiple users
when searching for part of a username.

pkhun