Julien Kerihuel | 2 May 2007 01:08
Favicon
Gravatar

[Devel]: Fetching appointments from the calendar using libmapi

Evening List,

I've just finished to add a new test to the torture suite designed to
fetch calendar items from a user Mailbox. The torture test is named
OPENCHANGE-FETCHAPPOINTMENT and produce the output below. The dual
Outlook/smbtorture view is available at the following URL: 

http://www.openchange.org/images/openchange/libmapi/libmapi-fetch-appointment.png

[jkerihuel <at> localhost MAILOOK]$ smbtorture --option="mapi:profile=test"
ncacn_ip_tcp:192.168.194.22[print] OPENCHANGE-MAPI-FETCHAPPOINTMENT
Loading openchange torture test
Using seed 1178059568
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)
This is my second appointment ()
        Start time:     Tue May  1 16:00:00 2007 CEST
        End time:       Tue May  1 22:30:00 2007 CEST
Sample appointment (office)
        Start time:     Tue May  1 13:00:00 2007 CEST
        End time:       Tue May  1 15:30:00 2007 CEST
[jkerihuel <at> localhost MAILOOK]$ 

(Continue reading)

Julien Kerihuel | 2 May 2007 03:44
Favicon
Gravatar

[Devel]: Fetching the contacts folder content using libmapi

Evening again list,

I've just finished to add a new test to the torture suite designed to
fetch the contacts folder content from a user Mailbox. The torture test
is named OPENCHANGE-FETCHCONTACTS. The dual Outlook/smbtorture view is
available at the following URL: 

http://www.openchange.org/images/openchange/libmapi/libmapi-fetch-contacts.png

It is not quite perfect for the moment, but it provides some basic
material for further investigations.

I've also been working on improving the emsmdb_get_SRowSet function used
by QueryRows and add a new way to handle the layout.

We do need tests against our current implementation to ensure I have not
broken any existing code with the recent modifications.

Cheers,

Julien.

--

-- 
Julien Kerihuel
j.kerihuel <at> openchange.org
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
(Continue reading)

Julien Kerihuel | 2 May 2007 17:38
Favicon
Gravatar

Re: [Devel]: Fetching the contacts folder content using libmapi

I've just added a new torture test named OPENCHANGE-SENDCONTACTS which
create contacts entries on the Exchange server. For the moment I only
deal with few attributes (card name and full name) but will write a more
complete implementation when I start writing the stand-alone version.

On Wed, 2007-05-02 at 03:44 +0200, Julien Kerihuel wrote:
> Evening again list,
> 
> I've just finished to add a new test to the torture suite designed to
> fetch the contacts folder content from a user Mailbox. The torture test
> is named OPENCHANGE-FETCHCONTACTS. The dual Outlook/smbtorture view is
> available at the following URL: 
> 
> http://www.openchange.org/images/openchange/libmapi/libmapi-fetch-contacts.png
> 
> It is not quite perfect for the moment, but it provides some basic
> material for further investigations.
> 
> I've also been working on improving the emsmdb_get_SRowSet function used
> by QueryRows and add a new way to handle the layout.
> 
> We do need tests against our current implementation to ensure I have not
> broken any existing code with the recent modifications.
> 
> Cheers,
> 
> Julien.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
(Continue reading)

Julien Kerihuel | 3 May 2007 02:49
Favicon
Gravatar

Re: [Devel]: Fetching appointments from the calendar using libmapi

Evening List,

I've started to work on a OPENCHANGE-SENDAPPOINTMENT test designed to
create appointments in the user calendar. So far, I have a working
implementation; the element appears in the user calendar. In the
meantime, I'm trying to create an appointment, but so far I can only
create meetings ;)

The code is not yet on the SVN, cause I'd like to have a deeper look
tomorrow prior I commit the code.

Anyway here is a quick summary of what MAILOOK is currently able to do:
* fetch/send/delete emails
* create/delete folders
* create/fetch calendar *appointments*
* create/fetch contacts

I think we are on pretty good rails for the next release.

Cheers,

Julien.

On Wed, 2007-05-02 at 01:08 +0200, Julien Kerihuel wrote:
> Evening List,
> 
> I've just finished to add a new test to the torture suite designed to
> fetch calendar items from a user Mailbox. The torture test is named
> OPENCHANGE-FETCHAPPOINTMENT and produce the output below. The dual
> Outlook/smbtorture view is available at the following URL: 
(Continue reading)

Julien Kerihuel | 4 May 2007 01:51
Favicon
Gravatar

Re: [Devel]: Fetching appointments from the calendar using libmapi

I've now working on enhancing calendar items creation. So far, I've been
able to add a couple of properties with all their associated values:

* if the event is a meeting or an appointment
* the busy status (out of office, free, busy ...)
* the appointment timezone

If everything goes fine, I should be able to add soon support for
reminder and recurrence.

In the meantime, I won't commit the sendappointment torture test until I
figure out a fancy way to set the appointment start and end date on
command line. This is IMO crucial so tests and following stand-alone
applications can be improved properly.

Choosing a inline date format similar to the ical one seems like a
proper solution to me, but I'm open to other solutions.

Cheers,

Julien.

On Thu, 2007-05-03 at 02:49 +0200, Julien Kerihuel wrote:
> Evening List,
>  
> I've started to work on a OPENCHANGE-SENDAPPOINTMENT test designed to
> create appointments in the user calendar. So far, I have a working
> implementation; the element appears in the user calendar. In the
> meantime, I'm trying to create an appointment, but so far I can only
> create meetings ;)
(Continue reading)

Julien Kerihuel | 5 May 2007 13:36
Favicon
Gravatar

[Devel]: Appointment creation with libmapi

Hi list,

I have added a OPENCHANGE-SENDAPPOINTMENT test to the torture suite.
This is just a draft for the moment, but so far we can customize the
appointment and set the following parameters:

- the appointment title and location
- start and end date on command line
- busy status (free, tentative, busy, out of office)
- the label (vacation, important ...)

We are also able to:
- set a reminder and reminder text
- set if the appointment is a meeting or not

In the meantime, we have a weird behavior with the calendar fetching
test. While appointment created on command line appears correctly in
Outlook with all the customized options, it seems like we have decoding
troubles with OpenMessage. I'm currently having a closer look at this
issue.

--

-- 
Julien Kerihuel
j.kerihuel <at> openchange.org
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
-------------------------------------------------------------------------
(Continue reading)

Julien Kerihuel | 5 May 2007 13:57
Favicon
Gravatar

Re: [Devel]: Appointment creation with libmapi

On Sat, 2007-05-05 at 13:36 +0200, Julien Kerihuel wrote:
> In the meantime, we have a weird behavior with the calendar fetching
> test. While appointment created on command line appears correctly in
> Outlook with all the customized options, it seems like we have decoding
> troubles with OpenMessage. I'm currently having a closer look at this
> issue.

Fixed.

--

-- 
Julien Kerihuel
j.kerihuel <at> openchange.org
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openchange-devel mailing list
Openchange-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openchange-devel
Julien Kerihuel | 6 May 2007 02:10
Favicon
Gravatar

[Devel]: Fetch Tasks with libmapi

Hi List,

Here are some new improvements on libmapi. I've added a
OPENCHANGE-MAPI_FETCHTASKS test to the torture suite designed to fetch
tasks from Exchange. 2 new structures have been added to the IDL:
Support for multi valued utf8 strings and support for double values.  

Screenshot available here:

http://www.openchange.org/images/openchange/libmapi/libmapi-fetchtasks.png

Cheers,

Julien.

--

-- 
Julien Kerihuel
j.kerihuel <at> openchange.org
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
(Continue reading)

Julien Kerihuel | 6 May 2007 02:51
Favicon
Gravatar

Re: [Devel]: Fetch Tasks with libmapi

I've also added to the repository a basic OPENCHANGE-MAPI-SENDTASKS test
that create a task on the Exchange Server.

On Sun, 2007-05-06 at 02:10 +0200, Julien Kerihuel wrote:
> Hi List,
> 
> Here are some new improvements on libmapi. I've added a
> OPENCHANGE-MAPI_FETCHTASKS test to the torture suite designed to fetch
> tasks from Exchange. 2 new structures have been added to the IDL:
> Support for multi valued utf8 strings and support for double values.  
> 
> Screenshot available here:
> 
> http://www.openchange.org/images/openchange/libmapi/libmapi-fetchtasks.png
> 
> Cheers,
> 
> Julien.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ Openchange-devel mailing list
Openchange-devel <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openchange-devel
--

-- 
Julien Kerihuel
j.kerihuel <at> openchange.org
OpenChange Project Manager
(Continue reading)

Brad Hards | 6 May 2007 08:06

[Devel]: Problem provisioning openchange

G'day,

I'm trying to get an openchange build running on a Linux ia32 box (Fedora Core 6, gcc 4.1.1).
[Its an interesting looking project, and I have access to a spare exchange server to do some
testing on]

I started off building samba4 from svn (r22677, svn://svnanon.samba.org/samba/branches/SAMBA_4_0).
I installed samba4 to ~/samba4-install.

I built openchange from svn (r162), and installed it to ~/samba4-install as well.

I then provisioned samba:
./source/setup/provision --realm=YOUR.REALM --domain=YOURDOM --adminpass=SOMEPASSWORD
set DOMAIN SID: S-1-5-21-498754213-151704894-4217135001
Provisioning for YOURDOM in realm YOUR.REALM
Using administrator password: SOMEPASSWORD
Setting up smb.conf
Setting up share.ldb
Setting up secrets.ldb
Setting up hklm.ldb
Setting up sam.ldb partitions
Setting up sam.ldb attributes
Setting up sam.ldb rootDSE
Erasing data from partitions
Adding DomainDN: DC=your,DC=realm (permitted to fail)
Modifying DomainDN: DC=your,DC=realm
Adding configuration container (permitted to fail)
Modifying configuration container
Adding schema container (permitted to fail)
Modifying schema container
(Continue reading)


Gmane