OPENCHANGE-MAPI-FETCHAPPOINTMENT
From OpenChange wiki
Contents |
Objectives
This torture test reproduces Outlook behavior when it retrieves the specified user calendar items from an Exchange Server 2000.
Running the test
smbtorture --dump-data -Uuser%passwd 'ncacn_ip_tcp:192.168.0.20[print]' OPENCHANGE-MAPI-FETCHAPPOINTMENT
smbtorture parameters
- mapi:profile_store: Path to the profile database
- mapi:profile: profile to use
- -UAdministrator%secretpass: These are the credentials for DCERPC/AUTH3 authentication on epmapper and nspi endpoints. Since credentials are already set when loading the profile, these parameters are not mandatory
- OPENCHANGE-MAPI-FETCHAPPOINTMENT: The torture test name we are running
Remarks
If your profile database is at the default location $HOME/.openchange/profiles.ldb and you have set a default profile using mapiprofile -S you can ommit both the mapi:profile_store and mapi:profile options.
Torture Test Output
[jkerihuel@localhost trunk]$ smbtorture ncacn_ip_tcp:192.168.194.22[] OPENCHANGE-MAPI-FETCHAPPOINTMENT
Loading openchange torture test
Using seed 1178756091
Password for [OPENCHANGE\jkerihuel]:
MAPIInitialize : MAPI_E_SUCCESS (0x0)
MapiLogonEx : MAPI_E_SUCCESS (0x0)
OpenMsgStore : MAPI_E_SUCCESS (0x0)
OpenFolder : MAPI_E_SUCCESS (0x0)
GetHierarchyTable : MAPI_E_SUCCESS (0x0)
SetColumns : MAPI_E_SUCCESS (0x0)
QueryRows : MAPI_E_SUCCESS (0x0)
OpenFolder : MAPI_E_SUCCESS (0x0)
We have 2 appointments in the table
do you copy fetch (Paris)
Start time: Thu May 10 12:00:00 2007 CEST
End time: Thu May 10 15:30:00 2007 CEST
Early wake up (My bed)
Start time: Mon Jun 4 03:10:00 2007 CEST
End time: Mon Jun 4 03:10:00 2007 CEST
[jkerihuel@localhost trunk]$
