Julien Kerihuel [Thu, 15 Jan 2009 01:43:42 +0000 (01:43 +0000)]
- Fix Subscribe semantic bug and add WholeStore boolean parameter
- propagate API change to tools/torture callers
Julien Kerihuel [Thu, 15 Jan 2009 00:31:46 +0000 (00:31 +0000)]
- Add assessor functions to set dumpdata and debug level in libmapi
(SetMAPIDumpData and SetMAPIDebugLevel)
- OpenChange tools modified to use these function rather than set these
parameters on their own
Julien Kerihuel [Thu, 15 Jan 2009 00:04:07 +0000 (00:04 +0000)]
- Fix --debuglevel segfault in openchange tools
- Enable logging to stdout in MAPIInitialize
Julien Kerihuel [Wed, 14 Jan 2009 23:27:15 +0000 (23:27 +0000)]
* OpenChange libmapi function now returns MAPI error instead of -1
- use OPENCHANGE_RETVAL_IF instead of MAPI_RETVAL_IF
- add doxygen documentation for some missing functions/files
Julien Kerihuel [Wed, 14 Jan 2009 21:27:18 +0000 (21:27 +0000)]
- Missed this event->tevent change in previous commit
Julien Kerihuel [Wed, 14 Jan 2009 17:07:51 +0000 (17:07 +0000)]
- Update openchange to use latest Samba4 master git rev (
990491d)
- Fix references to tevent_context structures
- Fix iconv_convenience init in MAPIInitialize
- Remove errorchecks mapitest module warning
Jelmer Vernooij [Wed, 14 Jan 2009 01:47:22 +0000 (01:47 +0000)]
Use tevent_context_init.
Jelmer Vernooij [Wed, 14 Jan 2009 01:47:20 +0000 (01:47 +0000)]
Ignore binaries.
Julien Kerihuel [Tue, 13 Jan 2009 22:11:57 +0000 (22:11 +0000)]
Some Exchange server (stand-alone) return MAPI_E_LOGON_FAILED when setting EssDN with username rather than
using profile's mailbox string directly. This commit fixes the bug.
Julien Kerihuel [Tue, 13 Jan 2009 21:19:48 +0000 (21:19 +0000)]
- Add EcDoConnect and EcDoDisconnect preliminary support to
dcesrv_exchange_emsmdb.c
- Add internal session management mechanism to EMSMDB server
- Add init and unbind modules function to EMSMDB server
- Add emsmdbp_context and session to dcesrv_exchange_emsmdb.h
Brad Hards [Tue, 13 Jan 2009 10:49:56 +0000 (10:49 +0000)]
Fix valgrind errors caused by using free'd memory.
Julien Kerihuel [Mon, 12 Jan 2009 02:14:27 +0000 (02:14 +0000)]
Implement 'mapiproxy downgrade' behavior in EMSMDB server and force
Outlook to use EcDoConnect (0x0) and EcDoRpc (0x2) rather than 0xA and
0xB (opnums using LZ based compression).
Julien Kerihuel [Mon, 12 Jan 2009 01:33:29 +0000 (01:33 +0000)]
- Add Preliminary implementation for RfrGetFQDNFromLegacyDN DS RFR server
Julien Kerihuel [Sun, 11 Jan 2009 22:51:37 +0000 (22:51 +0000)]
- Preliminary implementation of NspiGetProps NSPI server function
- Makes sure emsabp_tdb_traverse_MId uses the correct dbuf size
- Use correct ldb context (users or conf) depending on where MId is
located (on-memory or on-disk)
- Add PR_EMS_AB_NETWORK_ADDRESS mapping to emsabp_property
*** Outlook is now able to create MAPI profile using OpenChange Server ONLY! ***
Julien Kerihuel [Sun, 11 Jan 2009 21:21:29 +0000 (21:21 +0000)]
- Preliminary implementation of NspiDNToMId NSPI server function
- Add emsabp_search_legacyExchangeDN to search for a record given its
legacyExchangeDN attribute.
Julien Kerihuel [Sun, 11 Jan 2009 20:30:48 +0000 (20:30 +0000)]
- Preliminary implementation of NspiQueryRows NSPI server function added
- fix a bug in the MID TDB traversal routine: cut dptr to dsize length
rather assuming it is NULL terminated
- Add support for "referenced" property tags
- Add support for PR_MV_STRING8
- Add emsabp_search_dn which search for a DN within AD and return the
associated LDB message
- Add PR_EMS_AB_HOME_MDB and PR_EMS_AB_PROXY_ADDRESSES to
emsabp_property array
Julien Kerihuel [Sun, 11 Jan 2009 19:59:08 +0000 (19:59 +0000)]
Prevent from trying to add a NULL element to profile database and segfault on strlen
Julien Kerihuel [Sun, 11 Jan 2009 19:02:12 +0000 (19:02 +0000)]
Prevent x500_get_dn_element from segfaulting when an incorrect DN string parameter is supplied
Julien Kerihuel [Sun, 11 Jan 2009 16:47:46 +0000 (16:47 +0000)]
- Preliminary implementation of NspiGetMatches NSPI server function
- Make use of a on-memory TDB database for Ephemeral Entry IDs
- Add TDB traversal routines to retrieve DN associated to MId
- Move lp_ctx within emsabp_ctx for convenience
- Add EphemeralEntryID to Binary_r routine
- add emsabp_query (Find attribute matching given property tag and
return associated data)
- add emsabp_fetch_attrs which builds a SRow array given a MId and
requested property tags.
- add emsabp_search which searches AD given input search criteria
- add a preliminary Property Tag to AD attribute mapping + associated
functions in emsabp_property.c
Note: This NspiGetMatches is limited to MAILUSER which means we only
look for users (located within users.ldb). This limitation will be
removed when we have a preliminary working emsmdb server, so we can do
more extensive NSPI server tests.
Julien Kerihuel [Sun, 11 Jan 2009 16:25:15 +0000 (16:25 +0000)]
Add sanity check to get_SPropValue_SRowSet, prevents the function
from segfault when RowSet is NULL (e.g. crafted NspiQueryRows replies)
Julien Kerihuel [Sun, 11 Jan 2009 14:43:17 +0000 (14:43 +0000)]
Prevent IProfAdmin based code from crashing when a crafted NspiGetMatches reply
with NULL ppOutMIds is returned.
Julien Kerihuel [Sat, 10 Jan 2009 19:34:32 +0000 (19:34 +0000)]
- Preliminary NspiGetSpecialTable implementation added to NSPI
server/EMSABP provider: Hierarchy Table supported (required during
profile creation)
- add PT_BINARY support for mapidump_SPropValue
- fix a bug when PT_STRING8 or PT_UNICODE pointer is set to
MAPI_E_NOT_FOUND
Changelog Updater [Tue, 6 Jan 2009 23:00:45 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Tue, 6 Jan 2009 03:00:59 +0000 (03:00 +0000)]
Add new Display Type values (used by EMSABP provider)
Julien Kerihuel [Tue, 6 Jan 2009 00:34:23 +0000 (00:34 +0000)]
Change DEBUGLEVEL for RfrGetNewDSA
Julien Kerihuel [Tue, 6 Jan 2009 00:30:37 +0000 (00:30 +0000)]
- preliminary implementation of RFR server (RfrGetNewDSA): makes Outlook happy
- mapiproxy-servers-install now installs openchange python scripts and ldif file
Julien Kerihuel [Mon, 5 Jan 2009 23:20:11 +0000 (23:20 +0000)]
Move auth_serversupplied_info structure from dcesrv_exchange_nsp.h to libmapiproxy.h
This structure is required for NTLM_AUTH_IS_OK macro
Changelog Updater [Mon, 5 Jan 2009 23:00:34 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 5 Jan 2009 22:56:55 +0000 (22:56 +0000)]
- Add doxygen comments for all OpenChange server modules
- Fix doxygen return value for exchange_nsp
Julien Kerihuel [Mon, 5 Jan 2009 22:27:00 +0000 (22:27 +0000)]
- Add mapiproxy server unbind function and hook in dcesrv_mapiproxy.c
- Add exchange handle enum to dcesrv_mapiproxy.h
- Add authentication verifier macro to libmapiproxy.h
- Add preliminary EMSABP Address Book Provider implementation:
* supports initialization, destructor (talloc)
* implements user and codepage check routines
* retrieve NSPI server GUID
- Add NspiBind and NspiUnbind support to dcesrv_exchange_nsp.c
- Add internal session mechanism management to NSPI server
- Add init and unbind modules function to NSPI server
- Add doxygen comments to all dcesrv_exchange_nsp.c functions
- Add emsabp_context, session and non-exported Samba structure to dcesrv_exchange_nsp.h
Julien Kerihuel [Mon, 5 Jan 2009 20:39:36 +0000 (20:39 +0000)]
OpenChange configuration schema updated with Addressing schema
(Address-Templates, Address-Types and Display-Templates - Exchange 2003 based)
Julien Kerihuel [Mon, 5 Jan 2009 20:29:27 +0000 (20:29 +0000)]
Execute server modules init function when loaded
Brad Hards [Mon, 5 Jan 2009 10:42:44 +0000 (10:42 +0000)]
A few API documentation fixes.
Changelog Updater [Sun, 4 Jan 2009 23:00:46 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sun, 4 Jan 2009 16:35:51 +0000 (16:35 +0000)]
Add documentation for MAPIProxy 'server mode'
Changelog Updater [Fri, 2 Jan 2009 23:00:35 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Fri, 2 Jan 2009 14:29:00 +0000 (14:29 +0000)]
- Implement mapiproxy server mode architecture
- Add server modules management API
- Add skeletons for default OpenChange servers (nspi, emsmdb, ds_rfr)
- Add temporary provision Makefile rule
Changelog Updater [Tue, 30 Dec 2008 23:00:35 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Tue, 30 Dec 2008 15:28:31 +0000 (15:28 +0000)]
Initial text was correct - rollback
Julien Kerihuel [Tue, 30 Dec 2008 15:16:42 +0000 (15:16 +0000)]
Fix path typo
Brad Hards [Tue, 30 Dec 2008 09:30:22 +0000 (09:30 +0000)]
Ensure that GetLastError() also returns the correct value.
Brad Hards [Tue, 30 Dec 2008 09:20:59 +0000 (09:20 +0000)]
Start changing the MAPI_RETVAL_IF() usage to two new macros:
OPENCHANGE_RETVAL_IF() and OPENCHANGE_RETVAL_ERR().
simple_mapi.c is the only one converted at this stage.
Also added a set of unit tests that verify at least some initial
sanity checks.
Brad Hards [Tue, 30 Dec 2008 02:00:08 +0000 (02:00 +0000)]
Remove unreachable code.
Partly resolves ticket #124
Changelog Updater [Mon, 29 Dec 2008 23:00:36 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 29 Dec 2008 17:36:58 +0000 (17:36 +0000)]
Remove references to ldap.h header file - not installed anymore with samba4 git rev openchange uses
Julien Kerihuel [Mon, 29 Dec 2008 17:26:53 +0000 (17:26 +0000)]
mapiproxy documentation update: 3 questions added to FAQ section
Julien Kerihuel [Mon, 29 Dec 2008 15:28:27 +0000 (15:28 +0000)]
Patch from Corentin Chary:
- Add PR_CONTENT_FILTER_SCL property to libmapi
Julien Kerihuel [Mon, 29 Dec 2008 14:52:07 +0000 (14:52 +0000)]
- Update openchange to work with samba4 master git rev
f308c2f
- Replace reference to events.h with tevent.h
- Update installsamba4.sh script to reflect latest samba4 compilation changes/requirements
Changelog Updater [Sat, 27 Dec 2008 23:00:36 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sat, 27 Dec 2008 16:53:57 +0000 (16:53 +0000)]
Fix mapidump date/month when freebusy period covers end of one year - beginning of next year
Update openchangeclient to reflect these changes.
Changelog Updater [Wed, 24 Dec 2008 23:00:41 +0000 (23:00 +0000)]
Daily ChangeLog Update
Jelmer Vernooij [Wed, 24 Dec 2008 13:39:26 +0000 (13:39 +0000)]
Export PKG_CONFIG_PATH if it wasn't exported yet. Patch by Metze
Jelmer Vernooij [Wed, 24 Dec 2008 13:39:22 +0000 (13:39 +0000)]
Fix PIC object flags for SWIG build. Patch by metze.
Changelog Updater [Sun, 21 Dec 2008 23:00:36 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sun, 21 Dec 2008 11:10:06 +0000 (11:10 +0000)]
User %u format specifier for unsigned integer.
Brad Hards [Sun, 21 Dec 2008 11:09:07 +0000 (11:09 +0000)]
Make return value match signature.
Brad Hards [Sun, 21 Dec 2008 10:51:08 +0000 (10:51 +0000)]
Miscellaneous minor cleanups. Mainly making return types
match signatues, format conversion (%u for unsigned values) and
matching up result variable types (bool instead of enum MAPISTATUS).
Brad Hards [Sun, 21 Dec 2008 09:40:56 +0000 (09:40 +0000)]
Return an enum MAPISTATUS, instead of a bool, to match function signature.
Brad Hards [Sun, 21 Dec 2008 09:12:47 +0000 (09:12 +0000)]
Use %u instead of %d for unsigned values.
Changelog Updater [Sat, 20 Dec 2008 23:00:41 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sat, 20 Dec 2008 07:27:57 +0000 (07:27 +0000)]
Another minor APIdox edit.
Brad Hards [Sat, 20 Dec 2008 07:15:43 +0000 (07:15 +0000)]
API documentation tweak.
Brad Hards [Sat, 20 Dec 2008 07:02:21 +0000 (07:02 +0000)]
API dox fix.
Brad Hards [Sat, 20 Dec 2008 06:43:45 +0000 (06:43 +0000)]
API dox fix.
Brad Hards [Sat, 20 Dec 2008 06:32:29 +0000 (06:32 +0000)]
Minor apidox fixes.
Brad Hards [Sat, 20 Dec 2008 06:20:53 +0000 (06:20 +0000)]
More apidox triviality.
Brad Hards [Sat, 20 Dec 2008 05:11:29 +0000 (05:11 +0000)]
Trivial APIdox edits.
Brad Hards [Sat, 20 Dec 2008 04:43:50 +0000 (04:43 +0000)]
Supplement the user's PKG_CONFIG_PATH rather than
overriding it.
Jelmer Vernooij [Sat, 20 Dec 2008 02:34:27 +0000 (02:34 +0000)]
Add bindings for GetBestBody(), GetDefaultFolder(), GetDefaultPublicFolder(), AddUserPermission(), ModifyUserPermission().
Jelmer Vernooij [Sat, 20 Dec 2008 01:42:34 +0000 (01:42 +0000)]
Add bindings for create_message, delete_messages, get_message_status, set_read_flags.
Jelmer Vernooij [Sat, 20 Dec 2008 01:23:05 +0000 (01:23 +0000)]
Add Python bindings for Unsubscribe(), get_task_status(), get_importance(), get_proptag_name(), get_proptag_value(), DeleteFolder(), CreateFolder(), EmptyFolder(), RemoveUserPermissions(), IsMailboxFolder().
Changelog Updater [Fri, 19 Dec 2008 23:00:35 +0000 (23:00 +0000)]
Daily ChangeLog Update
Jelmer Vernooij [Fri, 19 Dec 2008 21:28:58 +0000 (21:28 +0000)]
Actually use pymapi variables in Makefile.
Jelmer Vernooij [Fri, 19 Dec 2008 21:16:58 +0000 (21:16 +0000)]
Add configure flags for building and installing Python MAPI bindings (disabled by default).
Changelog Updater [Thu, 18 Dec 2008 23:00:38 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Thu, 18 Dec 2008 10:59:10 +0000 (10:59 +0000)]
Add namespace prefix to scanner.
Changelog Updater [Tue, 16 Dec 2008 23:00:35 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Tue, 16 Dec 2008 17:10:03 +0000 (17:10 +0000)]
- spnego / gssapi_krb5 authentication now available for mapiprofile
- add the --realm | -R option
- update mapiprofile man page
Changelog Updater [Sun, 14 Dec 2008 23:00:33 +0000 (23:00 +0000)]
Daily ChangeLog Update
Jelmer Vernooij [Sun, 14 Dec 2008 17:53:15 +0000 (17:53 +0000)]
Allow retrieving id and session of MAPI objects.
Jelmer Vernooij [Sun, 14 Dec 2008 17:53:06 +0000 (17:53 +0000)]
Add MessageStore and Object Python classes, add bindings for OpenMsgStore, OpenUserMailbox, OpenPublicFolder.
Jelmer Vernooij [Sun, 14 Dec 2008 17:52:59 +0000 (17:52 +0000)]
Add stubs for Session class.
Jelmer Vernooij [Sun, 14 Dec 2008 15:35:29 +0000 (15:35 +0000)]
Add infrastructure for MAPI python module.
Jelmer Vernooij [Sun, 14 Dec 2008 15:20:29 +0000 (15:20 +0000)]
Look for python and python-config binaries.
Jelmer Vernooij [Sun, 14 Dec 2008 15:11:26 +0000 (15:11 +0000)]
Remove empty directory.
Brad Hards [Sun, 14 Dec 2008 03:34:58 +0000 (03:34 +0000)]
Remove entries for --properties and --priority, which have been removed from the openchangeclient utility.
Partly fixes #113.
Brad Hards [Sun, 14 Dec 2008 02:27:25 +0000 (02:27 +0000)]
Don't generate / install man3 pages for libmapi++ or mapitest.
Resolves ticket #121.
Also don't install man3 pages that are just copies of the C implementation files, or just document bugs / todo items.
Julien Kerihuel [Sat, 13 Dec 2008 23:29:17 +0000 (23:29 +0000)]
Remove obsolete --properties option and related code
Changelog Updater [Wed, 10 Dec 2008 23:00:37 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 10 Dec 2008 01:06:55 +0000 (01:06 +0000)]
Fix RecipientRow member's order
Changelog Updater [Tue, 9 Dec 2008 23:00:39 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Tue, 9 Dec 2008 18:29:55 +0000 (18:29 +0000)]
- Update to latest samba4 git master revision (
3508a66)
- Fix references to samr info24 struct
- Add support for assoc_group_id proxy
- Add support in mapiproxy for bind/alter connections using assoc_group_id
- Update mapiproxy documentation
Changelog Updater [Sun, 7 Dec 2008 23:00:46 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sun, 7 Dec 2008 08:57:36 +0000 (08:57 +0000)]
Improve building. Partially addresses #94.
More work required on this as we work on the
portability in the future.
Brad Hards [Sun, 7 Dec 2008 08:49:30 +0000 (08:49 +0000)]
Expose the underlying session.
Changelog Updater [Sun, 30 Nov 2008 23:00:43 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sun, 30 Nov 2008 06:44:59 +0000 (06:44 +0000)]
Remove unused --priority option.
Brad Hards [Sun, 30 Nov 2008 04:23:18 +0000 (04:23 +0000)]
These offsets / values can be negative, so we shouldn't
use unsigned int type to represent them.
Changelog Updater [Sat, 29 Nov 2008 23:00:40 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sat, 29 Nov 2008 20:50:38 +0000 (20:50 +0000)]
Fix Logon problem for users running Exchange 2k7 in a clustered Exchange environment.
This patch first tries to forge EssDN Logon string from "o" and "ou"
attributes stored in the profile. If Logon fails with ecUnknownUser,
then try to open the mailbox using the mailbox attribute stored in
the profile.