Hello Julien,

i have some difficulties in my project :

 * *How is done association between backend and Openchange.*

       In my backend_list_context function, i define 12 context roles
       for INBOX, Trash,... by sending back contexts_list structure. I
       that sufficient to inform Openchange that it can use my backent
for each role or do i need to specify backend to use elsewhere ?
 * *Ldap access*

       I want to use directly AD/Ldap informations into my backend (for
       Global address book, ...). I need to gain informations on Ldap
       server (i can suppose localhost because an Openchange server
       must be a DC). In this case i have to find/store/retreive ldap
       accounts (for searching). Where is the best place to do that ? I
       can use .ldb file to store informations, or retreive direct
       acces from Ldap..

 * *Plugin test*

       I have forked mapistore_test to be able to test furher aspects
       of my backend. And optionnaly to permit other developper to do
       tests. If i guess well mapistore_test is linked with
       libmapistore, wich in turn can call all backend functions.
       If i want to test Openchange with real client (openchangeclient
       or Outlook), what are the mandatory functions that i need to
       implement ?

 * *Git branch*

       I made a branch dedicated to my job, i try to publish it, but it
       seems that i need write access to the repository.

Sorry for all thoses questions but i hope you can take some times to help me.

Kind regards
Serge




Le 12/04/2013 15:57, Julien Kerihuel a écrit :
Hi Serge,

On Thu, 2013-04-11 at 12:54 +0200, Serge NOEL wrote:
Firts it seems that we have to create a library with a
mapistore_init_backend entry point. This function initialise a
structure mapistore_backend and call mapistore_backend_register.
This library will be installed in /usr/lib/mapistore_backends (in my
case because i use fhs folder type).
This part is working now (i make a new dummy backend : registering
well )

Ok.

Making make doxygen reveals how backend work, i can get some view of
what to do, but how do we link top-folder and backend ? I am
installing a new virtual machine with Sogo following
http://iabsis.com/ documentation. I will have opportunity to put
triggers on Sogo backend... but seems big work.

My trouble is due to the fact that Inverse doesn' t comment all
functions. A lot are a bit confuse to me
Some time ago, I had started to write openchange mapistore guide for
backend development. It may be a bit outdated now and require a bit of
updates and polishing, but you should find a preliminary base here
(along with other wiki documents)

http://tracker.openchange.org/projects/openchange/wiki/MAPIStore_10_Development_Guide
examples:
   sogo_backend_create_context   I suppose that it serves to initialise
context (can be mail/appointment, ..). But what is expecting
openchange this function to do ?
Creating a context is at an upper level than mail/appointment. Roughly
speaking, this create context operation happens when you open a
root/system mailbox folder (those who are indexed in openchange.ldb
database).

 From your backend perspective, it is a way to initialize private data
and perform preliminary operations prior further operations to happen on
the destination (backend) folder.

Questions :
       * Is there somewhere such a documentation ? I can propose making
         this doc.
Answered above ;-)

       * How to commit my work on openchange repository (in a branch)
You can create a git branch and push it on github so your work can be
reviewed and merged in / signed-off into master when you start getting
results.

Btw, what is the backend you are trying to develop?

Kind Regards,
Julien.


_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to