Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-07 Thread Paul Smith
On Thu, 2008-02-07 at 09:08 +0530, Srinivasa Ragavan wrote:
 IIRC Julien mentioned that to use Exchange 2007 against Outlook 2003,
 the Public Folder store got to be created. Evolution with libmapi
 would be like a Outlook 2003, connecting to Exchange 2007.

What!  Are we behind again already before we even caught up the first
time?!?!

What protocol does Outlook 2007 use, if not MAPI?

Good grief.  Those Microsoft folks are a pain.

-- 
---
 Paul D. Smith [EMAIL PROTECTED]  Find some GNU make tips at:
 http://www.gnu.org  http://make.mad-scientist.us
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Suman Manjunath
Hello Per, everyone

here's one important FYI from Julien Kerihuel of openchange:

to be able to use the MAPI plugin, your Exchange mailbox should be enabled
for MAPI. this is a setting on the server. it is a common issue to not have
it enabled.

request all of you to ensure that this setting is correct when using the
MAPI plugin. :)
apparently, this bug could sort-of be caught as soon as the profile-creation
happens.. will be looking more into it tomorrow.. although we might end up
getting the same MAPI_E_CALL_FAILED, it could be possible to identify if it
failed because of the above-mentioned reason.

-Suman
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Paul Smith
On Thu, 2008-02-07 at 00:47 +0530, Suman Manjunath wrote:
 to be able to use the MAPI plugin, your Exchange mailbox should be
 enabled for MAPI. this is a setting on the server. it is a common
 issue to not have it enabled.

Curious.  Does that mean that Outlook can talk to an Exchange mailbox
WITHOUT having it enabled for MAPI?  I would like to know more about
this.  One putative advantage of using MAPI, to me, would be that the
corporate IT department wouldn't even know you're using Evolution.  They
wouldn't have to make ANY changes specifically for Evo users, not even
to enable OWA (if they didn't have it enabled already).

So, if there are still Exchange mods that have to be made beyond what's
needed for Outlook users we should get in front of that I think.


Cheers!

-- 
-
 Paul D. Smith [EMAIL PROTECTED] http://make.mad-scientist.us
 Please remain calm--I may be mad, but I am a professional.--Mad Scientist



___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Per Nystrom
On Wed, 2008-02-06 at 14:31 -0500, Paul Smith wrote:
 On Thu, 2008-02-07 at 00:47 +0530, Suman Manjunath wrote:
  to be able to use the MAPI plugin, your Exchange mailbox should be
  enabled for MAPI. this is a setting on the server. it is a common
  issue to not have it enabled.
 
 Curious.  Does that mean that Outlook can talk to an Exchange mailbox
 WITHOUT having it enabled for MAPI?  I would like to know more about
 this.  One putative advantage of using MAPI, to me, would be that the
 corporate IT department wouldn't even know you're using Evolution.  They
 wouldn't have to make ANY changes specifically for Evo users, not even
 to enable OWA (if they didn't have it enabled already).
 
 So, if there are still Exchange mods that have to be made beyond what's
 needed for Outlook users we should get in front of that I think.
 
 
 Cheers!
 

Agreed.  I thought MAPI is the protocol Outlook uses to communicate with
Exchange.  If this is not the case and there is some other uber-secret
special protocol instead, it would behoove us to figure that one out.

I don't expect my Exchange administrator to make any special
accommodations for me just because I use a different client than
Outlook.

Thanks,
Per


___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Srinivasa Ragavan
Paul/Per,

IIRC Julien mentioned that to use Exchange 2007 against Outlook 2003,
the Public Folder store got to be created. Evolution with libmapi would
be like a Outlook 2003, connecting to Exchange 2007. It should be click
to activate it on the server. If not for Evolution, then it might be
asked for Outlook 2003 client to work with 2007 servers. If it isn't
there also, we possibly might get a failure during login.

-Srini.

On Wed, 2008-02-06 at 12:05 -0800, Per Nystrom wrote:
 On Wed, 2008-02-06 at 14:31 -0500, Paul Smith wrote:
  On Thu, 2008-02-07 at 00:47 +0530, Suman Manjunath wrote:
   to be able to use the MAPI plugin, your Exchange mailbox should be
   enabled for MAPI. this is a setting on the server. it is a common
   issue to not have it enabled.
  
  Curious.  Does that mean that Outlook can talk to an Exchange mailbox
  WITHOUT having it enabled for MAPI?  I would like to know more about
  this.  One putative advantage of using MAPI, to me, would be that the
  corporate IT department wouldn't even know you're using Evolution.  They
  wouldn't have to make ANY changes specifically for Evo users, not even
  to enable OWA (if they didn't have it enabled already).
  
  So, if there are still Exchange mods that have to be made beyond what's
  needed for Outlook users we should get in front of that I think.
  
  
  Cheers!
  
 
 Agreed.  I thought MAPI is the protocol Outlook uses to communicate with
 Exchange.  If this is not the case and there is some other uber-secret
 special protocol instead, it would behoove us to figure that one out.
 
 I don't expect my Exchange administrator to make any special
 accommodations for me just because I use a different client than
 Outlook.
 
 Thanks,
 Per
 
 
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Per Nystrom
I guess I just don't understand then.  I can use Outlook 2003 with my
Exchange 2007 account no problem, but as you know I can't get past the
authentication using libmapi.

Thanks,
Per

On Thu, 2008-02-07 at 09:08 +0530, Srinivasa Ragavan wrote:
 Paul/Per,
 
 IIRC Julien mentioned that to use Exchange 2007 against Outlook 2003,
 the Public Folder store got to be created. Evolution with libmapi would
 be like a Outlook 2003, connecting to Exchange 2007. It should be click
 to activate it on the server. If not for Evolution, then it might be
 asked for Outlook 2003 client to work with 2007 servers. If it isn't
 there also, we possibly might get a failure during login.
 
 -Srini.
 
 On Wed, 2008-02-06 at 12:05 -0800, Per Nystrom wrote:
  On Wed, 2008-02-06 at 14:31 -0500, Paul Smith wrote:
   On Thu, 2008-02-07 at 00:47 +0530, Suman Manjunath wrote:
to be able to use the MAPI plugin, your Exchange mailbox should be
enabled for MAPI. this is a setting on the server. it is a common
issue to not have it enabled.
   
   Curious.  Does that mean that Outlook can talk to an Exchange mailbox
   WITHOUT having it enabled for MAPI?  I would like to know more about
   this.  One putative advantage of using MAPI, to me, would be that the
   corporate IT department wouldn't even know you're using Evolution.  They
   wouldn't have to make ANY changes specifically for Evo users, not even
   to enable OWA (if they didn't have it enabled already).
   
   So, if there are still Exchange mods that have to be made beyond what's
   needed for Outlook users we should get in front of that I think.
   
   
   Cheers!
   
  
  Agreed.  I thought MAPI is the protocol Outlook uses to communicate with
  Exchange.  If this is not the case and there is some other uber-secret
  special protocol instead, it would behoove us to figure that one out.
  
  I don't expect my Exchange administrator to make any special
  accommodations for me just because I use a different client than
  Outlook.
  
  Thanks,
  Per
  
  
  ___
  Evolution-hackers mailing list
  Evolution-hackers@gnome.org
  http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread Jules Colding

On Thu, 2008-02-07 at 09:08 +0530, Srinivasa Ragavan wrote:
 Paul/Per,
 
 IIRC Julien mentioned that to use Exchange 2007 against Outlook 2003,
 the Public Folder store got to be created. Evolution with libmapi would
 be like a Outlook 2003, connecting to Exchange 2007. It should be click
 to activate it on the server. If not for Evolution, then it might be
 asked for Outlook 2003 client to work with 2007 servers. If it isn't
 there also, we possibly might get a failure during login.


http://mail.gnome.org/archives/evolution-list/2008-January/msg00180.html


-- 
  jules



 -Srini.
 
 On Wed, 2008-02-06 at 12:05 -0800, Per Nystrom wrote:
  On Wed, 2008-02-06 at 14:31 -0500, Paul Smith wrote:
   On Thu, 2008-02-07 at 00:47 +0530, Suman Manjunath wrote:
to be able to use the MAPI plugin, your Exchange mailbox should be
enabled for MAPI. this is a setting on the server. it is a common
issue to not have it enabled.
   
   Curious.  Does that mean that Outlook can talk to an Exchange mailbox
   WITHOUT having it enabled for MAPI?  I would like to know more about
   this.  One putative advantage of using MAPI, to me, would be that the
   corporate IT department wouldn't even know you're using Evolution.  They
   wouldn't have to make ANY changes specifically for Evo users, not even
   to enable OWA (if they didn't have it enabled already).
   
   So, if there are still Exchange mods that have to be made beyond what's
   needed for Outlook users we should get in front of that I think.
   
   
   Cheers!
   
  
  Agreed.  I thought MAPI is the protocol Outlook uses to communicate with
  Exchange.  If this is not the case and there is some other uber-secret
  special protocol instead, it would behoove us to figure that one out.
  
  I don't expect my Exchange administrator to make any special
  accommodations for me just because I use a different client than
  Outlook.
  
  Thanks,
  Per
  
  
  ___
  Evolution-hackers mailing list
  Evolution-hackers@gnome.org
  http://mail.gnome.org/mailman/listinfo/evolution-hackers
 
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-06 Thread William Murray

  Hi Per,
Could you try to connect again, using a completely fresh
account? Your symptoms look so like mine that I just feel it must be the
same. 
   BTW I do all these tests in a special test account to ensure my
normal email survives.
 Bill


___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-05 Thread William John Murray

  Hi Srini,
'bt' says:

|---+ Web Forms   : (Container class: IPF.Note 95604A0E)
UnRead : 0 Total : 1411
exchange-mapi-connection.c(1631): exchange_mapi_get_folders_list:
unlock(connect_lock) 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094719824 (LWP 31444)]
0x003c6ba795c0 in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x003c6ba795c0 in strlen () from /lib64/libc.so.6
#1  0x003c6ea54323 in g_strdup () from /lib64/libglib-2.0.so.0
#2  0x2aaab7b88002 in mapi_folders_sync (store=0x7cf000, ex=value
optimized out) at camel-mapi-store.c:972
#3  0x2aaab7b88361 in mapi_get_folder_info (store=0x7cf000, top=0x0,
flags=value optimized out, ex=0xd22da0) at camel-mapi-store.c:1057
#4  0x003c83e3cfe7 in camel_store_get_folder_info ()
from /usr/lib64/libcamel-provider-1.2.so.10
#5  0x2aaab05753e8 in ?? ()
from /usr/lib64/evolution/2.12/components/libevolution-mail.so
#6  0x2aaab0572cda in ?? ()
from /usr/lib64/evolution/2.12/components/libevolution-mail.so
#7  0x003c6ea5cde9 in ?? () from /lib64/libglib-2.0.so.0
#8  0x003c6ea5b2a4 in ?? () from /lib64/libglib-2.0.so.0
#9  0x003c6c606407 in start_thread () from /lib64/libpthread.so.0
#10 0x003c6bad4b0d in clone () from /lib64/libc.so.6


valgrind was impressive. It got past the bug I reported and downloaded
lots of emails or headers or some such. Then it crashed (I did not hit
any buttons)
  Here is the end of the output plus crash report:

 EcDoRpc: struct EcDoRpc
out: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
9d4d2d6c-c40c-4f27-8f8e-a47c3558ec9e
size : 0x7fff (32767)
offset   : 0x (0)
mapi_response: *
mapi_response: length=4106
mapi_response: ARRAY(4104)
mapi_repl: struct EcDoRpc_MAPI_REPL
opnum: 0x2c (44)
handle_idx   : 0x00 (0)
error_code   : MAPI_E_SUCCESS (0x0)
u: union
EcDoRpc_MAPI_REPL_UNION(case 44)
mapi_ReadStream: struct ReadStream_repl
data : DATA_BLOB
length=4096
mapi_response: (handles) number=1
handle id: 0x0c30 (3120)
length   : *
length   : 0x100e (4110)
result   : MAPI_E_SUCCESS (0x0)
==31507== 
==31507== Invalid write of size 1
==31507==at 0x4A07678: memcpy (mc_replace_strmem.c:406)
==31507==by 0x12AB4726: ReadStream (IStream.c:199)
==31507==by 0x1287E00F: exchange_mapi_util_get_attachments
(exchange-mapi-connection.c:580)
==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
(exchange-mapi-connection.c:784)
==31507==by 0x12674731: mapi_refresh_folder
(camel-mapi-folder.c:522)
==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
==31507==by 0xA9D4972:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0xA9CFCD9:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0x3C6EA5CDE8: (within /lib64/libglib-2.0.so.0.1504.0)
==31507==by 0x3C6EA5B2A3: (within /lib64/libglib-2.0.so.0.1504.0)
==31507==by 0x3C6C606406: start_thread (in /lib64/libpthread-2.7.so)
==31507==by 0x3C6BAD4B0C: clone (in /lib64/libc-2.7.so)
==31507==  Address 0x1FE927D4 is 0 bytes after a block of size 724
alloc'd
==31507==at 0x4A059F6: malloc (vg_replace_malloc.c:149)
==31507==by 0x13149B75: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
==31507==by 0x13149AE4: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
==31507==by 0x1314AC91: talloc_named_const
(in /opt/samba4/lib/libdcerpc.so.0.0.1)
==31507==by 0x1287DFE0: exchange_mapi_util_get_attachments
(exchange-mapi-connection.c:574)
==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
(exchange-mapi-connection.c:784)
==31507==by 0x12674731: mapi_refresh_folder
(camel-mapi-folder.c:522)
==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
==31507==by 0xA9D4972:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0xA9CFCD9:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0x3C6EA5CDE8: (within /lib64/libglib-2.0.so.0.1504.0)
==31507==by 0x3C6EA5B2A3: (within /lib64/libglib-2.0.so.0.1504.0)
==31507== 
==31507== Invalid write of size 1
==31507==at 0x4A07680: memcpy (mc_replace_strmem.c:406)
==31507==by 0x12AB4726: ReadStream (IStream.c:199)
==31507==by 0x1287E00F: 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-05 Thread Srinivasa Ragavan
I'm pushing an update for the valgrind logs. But for the crash, I need
to debug it a bit more with you. We don't have the crash reproducible
here.

Can chat if not on irc, anywhere else you say is fine. That way, I can
fix it faster.

PS: My mails to you always bounce back and only the e-h mail comes: My
isp ip seems to be blacklisted by your mail server.

-Srini.


On Tue, 2008-02-05 at 09:14 +, William John Murray wrote:
 Oops!!!
I just updated, and got 20080118.3-4.1 instead of 20080118.3-2.1
 But it doesn't seem to change a thing.
Bill
 
 
 On Tue, 2008-02-05 at 14:15 +0530, Srinivasa Ragavan wrote:
  William, 
  
  If you are on irc, can you ping me 'srag' at #evolution in GIMPNet
  irc.gnome.org.
  
  -Srini.
  On Tue, 2008-02-05 at 14:00 +0530, Srinivasa Ragavan wrote:
   William,
   
   I would say that, this is really great and useful. I think we would have
   some(lot ?) work to do with your valgrind report. 
   
   
   -Srini.
   
   On Tue, 2008-02-05 at 08:08 +, William John Murray wrote:
Hi Srini,
'bt' says:

|---+ Web Forms   : (Container class: IPF.Note 95604A0E)
UnRead : 0 Total : 1411
exchange-mapi-connection.c(1631): exchange_mapi_get_folders_list:
unlock(connect_lock) 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094719824 (LWP 31444)]
0x003c6ba795c0 in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x003c6ba795c0 in strlen () from /lib64/libc.so.6
#1  0x003c6ea54323 in g_strdup () from /lib64/libglib-2.0.so.0
#2  0x2aaab7b88002 in mapi_folders_sync (store=0x7cf000, ex=value
optimized out) at camel-mapi-store.c:972
#3  0x2aaab7b88361 in mapi_get_folder_info (store=0x7cf000, top=0x0,
flags=value optimized out, ex=0xd22da0) at camel-mapi-store.c:1057
#4  0x003c83e3cfe7 in camel_store_get_folder_info ()
from /usr/lib64/libcamel-provider-1.2.so.10
#5  0x2aaab05753e8 in ?? ()
from /usr/lib64/evolution/2.12/components/libevolution-mail.so
#6  0x2aaab0572cda in ?? ()
from /usr/lib64/evolution/2.12/components/libevolution-mail.so
#7  0x003c6ea5cde9 in ?? () from /lib64/libglib-2.0.so.0
#8  0x003c6ea5b2a4 in ?? () from /lib64/libglib-2.0.so.0
#9  0x003c6c606407 in start_thread () from /lib64/libpthread.so.0
#10 0x003c6bad4b0d in clone () from /lib64/libc.so.6


valgrind was impressive. It got past the bug I reported and downloaded
lots of emails or headers or some such. Then it crashed (I did not hit
any buttons)
  Here is the end of the output plus crash report:

 EcDoRpc: struct EcDoRpc
out: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
9d4d2d6c-c40c-4f27-8f8e-a47c3558ec9e
size : 0x7fff (32767)
offset   : 0x (0)
mapi_response: *
mapi_response: length=4106
mapi_response: ARRAY(4104)
mapi_repl: struct EcDoRpc_MAPI_REPL
opnum: 0x2c (44)
handle_idx   : 0x00 (0)
error_code   : MAPI_E_SUCCESS (0x0)
u: union
EcDoRpc_MAPI_REPL_UNION(case 44)
mapi_ReadStream: struct ReadStream_repl
data : DATA_BLOB
length=4096
mapi_response: (handles) number=1
handle id: 0x0c30 (3120)
length   : *
length   : 0x100e (4110)
result   : MAPI_E_SUCCESS (0x0)
==31507== 
==31507== Invalid write of size 1
==31507==at 0x4A07678: memcpy (mc_replace_strmem.c:406)
==31507==by 0x12AB4726: ReadStream (IStream.c:199)
==31507==by 0x1287E00F: exchange_mapi_util_get_attachments
(exchange-mapi-connection.c:580)
==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
(exchange-mapi-connection.c:784)
==31507==by 0x12674731: mapi_refresh_folder
(camel-mapi-folder.c:522)
==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
==31507==by 0xA9D4972:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0xA9CFCD9:
(within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
==31507==by 0x3C6EA5CDE8: (within /lib64/libglib-2.0.so.0.1504.0)
==31507==by 0x3C6EA5B2A3: (within /lib64/libglib-2.0.so.0.1504.0)
==31507==

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-05 Thread Srinivasa Ragavan
William,

I would say that, this is really great and useful. I think we would have
some(lot ?) work to do with your valgrind report. 


-Srini.

On Tue, 2008-02-05 at 08:08 +, William John Murray wrote:
 Hi Srini,
 'bt' says:
 
 |---+ Web Forms   : (Container class: IPF.Note 95604A0E)
 UnRead : 0 Total : 1411
 exchange-mapi-connection.c(1631): exchange_mapi_get_folders_list:
 unlock(connect_lock) 
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1094719824 (LWP 31444)]
 0x003c6ba795c0 in strlen () from /lib64/libc.so.6
 (gdb) bt
 #0  0x003c6ba795c0 in strlen () from /lib64/libc.so.6
 #1  0x003c6ea54323 in g_strdup () from /lib64/libglib-2.0.so.0
 #2  0x2aaab7b88002 in mapi_folders_sync (store=0x7cf000, ex=value
 optimized out) at camel-mapi-store.c:972
 #3  0x2aaab7b88361 in mapi_get_folder_info (store=0x7cf000, top=0x0,
 flags=value optimized out, ex=0xd22da0) at camel-mapi-store.c:1057
 #4  0x003c83e3cfe7 in camel_store_get_folder_info ()
 from /usr/lib64/libcamel-provider-1.2.so.10
 #5  0x2aaab05753e8 in ?? ()
 from /usr/lib64/evolution/2.12/components/libevolution-mail.so
 #6  0x2aaab0572cda in ?? ()
 from /usr/lib64/evolution/2.12/components/libevolution-mail.so
 #7  0x003c6ea5cde9 in ?? () from /lib64/libglib-2.0.so.0
 #8  0x003c6ea5b2a4 in ?? () from /lib64/libglib-2.0.so.0
 #9  0x003c6c606407 in start_thread () from /lib64/libpthread.so.0
 #10 0x003c6bad4b0d in clone () from /lib64/libc.so.6
 
 
 valgrind was impressive. It got past the bug I reported and downloaded
 lots of emails or headers or some such. Then it crashed (I did not hit
 any buttons)
   Here is the end of the output plus crash report:
 
  EcDoRpc: struct EcDoRpc
 out: struct EcDoRpc
 handle   : *
 handle: struct policy_handle
 handle_type  : 0x (0)
 uuid :
 9d4d2d6c-c40c-4f27-8f8e-a47c3558ec9e
 size : 0x7fff (32767)
 offset   : 0x (0)
 mapi_response: *
 mapi_response: length=4106
 mapi_response: ARRAY(4104)
 mapi_repl: struct EcDoRpc_MAPI_REPL
 opnum: 0x2c (44)
 handle_idx   : 0x00 (0)
 error_code   : MAPI_E_SUCCESS (0x0)
 u: union
 EcDoRpc_MAPI_REPL_UNION(case 44)
 mapi_ReadStream: struct ReadStream_repl
 data : DATA_BLOB
 length=4096
 mapi_response: (handles) number=1
 handle id: 0x0c30 (3120)
 length   : *
 length   : 0x100e (4110)
 result   : MAPI_E_SUCCESS (0x0)
 ==31507== 
 ==31507== Invalid write of size 1
 ==31507==at 0x4A07678: memcpy (mc_replace_strmem.c:406)
 ==31507==by 0x12AB4726: ReadStream (IStream.c:199)
 ==31507==by 0x1287E00F: exchange_mapi_util_get_attachments
 (exchange-mapi-connection.c:580)
 ==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
 (exchange-mapi-connection.c:784)
 ==31507==by 0x12674731: mapi_refresh_folder
 (camel-mapi-folder.c:522)
 ==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
 ==31507==by 0xA9D4972:
 (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
 ==31507==by 0xA9CFCD9:
 (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
 ==31507==by 0x3C6EA5CDE8: (within /lib64/libglib-2.0.so.0.1504.0)
 ==31507==by 0x3C6EA5B2A3: (within /lib64/libglib-2.0.so.0.1504.0)
 ==31507==by 0x3C6C606406: start_thread (in /lib64/libpthread-2.7.so)
 ==31507==by 0x3C6BAD4B0C: clone (in /lib64/libc-2.7.so)
 ==31507==  Address 0x1FE927D4 is 0 bytes after a block of size 724
 alloc'd
 ==31507==at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==31507==by 0x13149B75: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
 ==31507==by 0x13149AE4: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
 ==31507==by 0x1314AC91: talloc_named_const
 (in /opt/samba4/lib/libdcerpc.so.0.0.1)
 ==31507==by 0x1287DFE0: exchange_mapi_util_get_attachments
 (exchange-mapi-connection.c:574)
 ==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
 (exchange-mapi-connection.c:784)
 ==31507==by 0x12674731: mapi_refresh_folder
 (camel-mapi-folder.c:522)
 ==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
 ==31507==by 0xA9D4972:
 (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
 ==31507==by 0xA9CFCD9:
 (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
 ==31507==by 0x3C6EA5CDE8: 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-05 Thread Srinivasa Ragavan
William, 

If you are on irc, can you ping me 'srag' at #evolution in GIMPNet
irc.gnome.org.

-Srini.
On Tue, 2008-02-05 at 14:00 +0530, Srinivasa Ragavan wrote:
 William,
 
 I would say that, this is really great and useful. I think we would have
 some(lot ?) work to do with your valgrind report. 
 
 
 -Srini.
 
 On Tue, 2008-02-05 at 08:08 +, William John Murray wrote:
  Hi Srini,
  'bt' says:
  
  |---+ Web Forms   : (Container class: IPF.Note 95604A0E)
  UnRead : 0 Total : 1411
  exchange-mapi-connection.c(1631): exchange_mapi_get_folders_list:
  unlock(connect_lock) 
  
  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 1094719824 (LWP 31444)]
  0x003c6ba795c0 in strlen () from /lib64/libc.so.6
  (gdb) bt
  #0  0x003c6ba795c0 in strlen () from /lib64/libc.so.6
  #1  0x003c6ea54323 in g_strdup () from /lib64/libglib-2.0.so.0
  #2  0x2aaab7b88002 in mapi_folders_sync (store=0x7cf000, ex=value
  optimized out) at camel-mapi-store.c:972
  #3  0x2aaab7b88361 in mapi_get_folder_info (store=0x7cf000, top=0x0,
  flags=value optimized out, ex=0xd22da0) at camel-mapi-store.c:1057
  #4  0x003c83e3cfe7 in camel_store_get_folder_info ()
  from /usr/lib64/libcamel-provider-1.2.so.10
  #5  0x2aaab05753e8 in ?? ()
  from /usr/lib64/evolution/2.12/components/libevolution-mail.so
  #6  0x2aaab0572cda in ?? ()
  from /usr/lib64/evolution/2.12/components/libevolution-mail.so
  #7  0x003c6ea5cde9 in ?? () from /lib64/libglib-2.0.so.0
  #8  0x003c6ea5b2a4 in ?? () from /lib64/libglib-2.0.so.0
  #9  0x003c6c606407 in start_thread () from /lib64/libpthread.so.0
  #10 0x003c6bad4b0d in clone () from /lib64/libc.so.6
  
  
  valgrind was impressive. It got past the bug I reported and downloaded
  lots of emails or headers or some such. Then it crashed (I did not hit
  any buttons)
Here is the end of the output plus crash report:
  
   EcDoRpc: struct EcDoRpc
  out: struct EcDoRpc
  handle   : *
  handle: struct policy_handle
  handle_type  : 0x (0)
  uuid :
  9d4d2d6c-c40c-4f27-8f8e-a47c3558ec9e
  size : 0x7fff (32767)
  offset   : 0x (0)
  mapi_response: *
  mapi_response: length=4106
  mapi_response: ARRAY(4104)
  mapi_repl: struct EcDoRpc_MAPI_REPL
  opnum: 0x2c (44)
  handle_idx   : 0x00 (0)
  error_code   : MAPI_E_SUCCESS (0x0)
  u: union
  EcDoRpc_MAPI_REPL_UNION(case 44)
  mapi_ReadStream: struct ReadStream_repl
  data : DATA_BLOB
  length=4096
  mapi_response: (handles) number=1
  handle id: 0x0c30 (3120)
  length   : *
  length   : 0x100e (4110)
  result   : MAPI_E_SUCCESS (0x0)
  ==31507== 
  ==31507== Invalid write of size 1
  ==31507==at 0x4A07678: memcpy (mc_replace_strmem.c:406)
  ==31507==by 0x12AB4726: ReadStream (IStream.c:199)
  ==31507==by 0x1287E00F: exchange_mapi_util_get_attachments
  (exchange-mapi-connection.c:580)
  ==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
  (exchange-mapi-connection.c:784)
  ==31507==by 0x12674731: mapi_refresh_folder
  (camel-mapi-folder.c:522)
  ==31507==by 0x12674BBD: mapi_refresh_info (camel-mapi-folder.c:136)
  ==31507==by 0xA9D4972:
  (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
  ==31507==by 0xA9CFCD9:
  (within /usr/lib64/evolution/2.12/components/libevolution-mail.so)
  ==31507==by 0x3C6EA5CDE8: (within /lib64/libglib-2.0.so.0.1504.0)
  ==31507==by 0x3C6EA5B2A3: (within /lib64/libglib-2.0.so.0.1504.0)
  ==31507==by 0x3C6C606406: start_thread (in /lib64/libpthread-2.7.so)
  ==31507==by 0x3C6BAD4B0C: clone (in /lib64/libc-2.7.so)
  ==31507==  Address 0x1FE927D4 is 0 bytes after a block of size 724
  alloc'd
  ==31507==at 0x4A059F6: malloc (vg_replace_malloc.c:149)
  ==31507==by 0x13149B75: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
  ==31507==by 0x13149AE4: (within /opt/samba4/lib/libdcerpc.so.0.0.1)
  ==31507==by 0x1314AC91: talloc_named_const
  (in /opt/samba4/lib/libdcerpc.so.0.0.1)
  ==31507==by 0x1287DFE0: exchange_mapi_util_get_attachments
  (exchange-mapi-connection.c:574)
  ==31507==by 0x1287F2D5: exchange_mapi_connection_fetch_items
  (exchange-mapi-connection.c:784)
  ==31507==by 0x12674731: mapi_refresh_folder
  (camel-mapi-folder.c:522)
  ==31507==by 0x12674BBD: 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Srinivasa Ragavan
Per,

You sure you did 'export MAPI_DEBUG=1' on a terminal and from the same
terminal, you start evolution?

I'm wondering how it works for me then :(
-Srini.

On Sun, 2008-02-03 at 23:18 -0800, Per Nystrom wrote:
 Srini,
 
 I tried MAPI_DEBUG=1, but I got the same output as I already sent
 before.
 
 BTW, I only munged out the server, domain, username, and password (it
 shouldn't really show the password in plaintext anyway, but that's minor
 compared to getting it to work at all).
 
 Thanks,
 Per
 
 
 On Mon, 2008-02-04 at 12:16 +0530, Srinivasa Ragavan wrote:
  Per,
  
  Nice to hear that the crash is gone.
  
  You can do
  
  export 'MAPI_DEBUG=1'
  evolution
  
  Try authentication and paste me out the logs. It can help be get out of
  the barrier. Do send me privately if you think it has some sensitive
  information.
  
  -Srini.
  On Sat, 2008-02-02 at 23:15 -0800, Per Nystrom wrote:
   Hi,
   
   I saw a new update showed up today in the repository so I tried it out.
   The crash is gone, but I still can't get past the authenticate dialog.
   Here's the terminal output:
   
   [EMAIL PROTECTED] ~]$ LD_LIBRARY_PATH=/opt/samba4/lib evolution
   CalDAV Eplugin starting up ...
   Loading Exchange MAPI Plugin
   
   listener is constructed 
   evolution-shell-Message: Killing old version of evolution-data-server...
   ** (evolution:10509): DEBUG: mailto URL command: evolution 
   --component=mail %s
   ** (evolution:10509): DEBUG: mailto URL program: evolution
   camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
   get uuu mapi://[EMAIL PROTECTED]/
   Find Items 9
   Couldn't Get password 9
   Create profile with uuu ppp () yyy.zzz xxx.yyy.zzz
   profpath /home/test/.evolution/mapi-profiles.ldb
   [exchange_mapi_plugin] Profile creation
   Logging into the server
   Login succeeded: Yeh
   [exchange_mapi_plugin] : ProcessNetworkProfile: 
   MAPI_E_INVALID_PARAMETER (0x80070057)
   [exchange_mapi_plugin] ProcessNetworkProfile() : 
   MAPI_E_INVALID_PARAMETER (0x80070057)
   Get Default 0
   Find Items 9
   Couldn't clear password
   
   I'm happy to help debug, just let me know what you need me to do.
   
   Thanks,
   Per
   
   On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
Excellent, I'll watch for it to show up in the repository and try again.

Thanks,
Per

On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
 Looks like a double free when the profile creation fails.
 Per, the main problem here is why the profile creation fails. We will
 push a debug build asap so that this can be seen.
 
 -Srini.
 On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
  Hello,
  
  I installed the RPMs and dependencies from
  http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
   in a Fedora 8 i386 VM, started up Evolution with the required 
  LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up 
  with a crash.  I posted details to the bugs wiki here:
  
  http://www.go-evolution.org/MAPIProvider/Bugs
  
  I'm happy to help get this moving any way I can; I have been without
  Evolution-Exchange connectivity ever since my company upgraded to
  Exchange 2007 in December and OWA light is driving me nuts.
  
  Thanks,
  Per
  
  ___
  Evolution-hackers mailing list
  Evolution-hackers@gnome.org
  http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers
   
 
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Srinivasa Ragavan
William,

Looks like you got the MAPI_DEBUG working. Since you quoted that it is a
crash, can you attach to gdb or start Evolution in gdb and give me out
the traces?

William, when you delete the gconf entries, please delete the
~/.evolution/mapi_profiles.ldb also.

-Srini.

On Mon, 2008-02-04 at 12:42 +, William John Murray wrote:
 Hi guys,
 I had similar problems to Per. But I learnt something:
  When I am in his position I cannot move forward. If I try to change the
 account username etc it does not work. I get his symptom.
  But if I delete the gconf entry and restart evo from fresh
 I get to a different password entry box with a seperate domain entry.
 If I get my credentials correct here, first time, then I can go forward.
 
   Then I get a crash :). 
 There is a log on: 
http://murray.home.cern.ch/murray/evo.txt
 I have hidden some personal details, but you can see it does recover all
 my folder from the (2003) server. Yay!
   Bill
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread William John Murray

  Hi guys,
I had similar problems to Per. But I learnt something:
 When I am in his position I cannot move forward. If I try to change the
account username etc it does not work. I get his symptom.
 But if I delete the gconf entry and restart evo from fresh
I get to a different password entry box with a seperate domain entry.
If I get my credentials correct here, first time, then I can go forward.

  Then I get a crash :). 
There is a log on: 
   http://murray.home.cern.ch/murray/evo.txt
I have hidden some personal details, but you can see it does recover all
my folder from the (2003) server. Yay!
  Bill
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Suman Manjunath
Hi..

On Feb 4, 2008 9:58 PM, William John Murray [EMAIL PROTECTED] wrote:


  Hi Srinivasa,
Hm, I have the debug rpm,
 evolution-mapi-provider-debuginfo-20080118.3-2.1 but I am not sure how
 to use it! If I run in ddd I see this - is it enough info?


snip


 EcDoRpc_MAPI_REPL_UNION(case 21)
mapi_QueryRows: struct QueryRows_repl
unknown  : 0x02 (2)
results_count: 0x (0)
layout   : 0x00 (0)
mapi_response: (handles) number=1
handle id: 0x0f14 (3860)
length   : *
length   : 0x000f (15)
result   : MAPI_E_SUCCESS (0x0)
 exchange-mapi-connection.c(1631): exchange_mapi_get_folders_list:
 unlock(connect_lock)

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1105209680 (LWP 11659)]
 0x003dd0a795c0 in strlen () from /lib64/libc.so.6
 (gdb)


almost enough :) .. could you just get a backtrace at the SIGSEGV (type
'thread apply all bt full' at the terminal when you get the gdb prompt after
the SIGSEGV) and paste the output here ?

-Suman
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread William John Murray

  Hi Srinivasa,
Hm, I have the debug rpm,
evolution-mapi-provider-debuginfo-20080118.3-2.1 but I am not sure how
to use it! If I run in ddd I see this - is it enough info?

|---+ Trash   : (Container class: IPF.Note 69BDFF0E)
UnRead : 0 Total : 0
EcDoRpc: struct EcDoRpc
in: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
f28465ed-f3b2-4c9e-98c2-380868ee3e75
size : 0x7fff (32767)
offset   : 0x (0)
mapi_request : *
mapi_len : 0x0017 (23)
length   : 0x000f (15)
mapi_request: struct EcDoRpc_MAPI_REQ
opnum: 0x02 (2)
mapi_flags   : 0x00 (0)
handle_idx   : 0x00 (0)
u: union
EcDoRpc_MAPI_REQ_UNION(case 2)
mapi_OpenFolder: struct OpenFolder_req
handle_idx   : 0x01 (1)
folder_id:
0x95604a0e (-7683059600433610738)
unknown  : 0x00 (0)
mapi_request : (handles) number=2
handle   : 0x0fce (4046)
handle   : 0x
(4294967295)
length   : *
length   : 0x0017 (23)
max_data : 0x7fff (32767)
EcDoRpc: struct EcDoRpc
out: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
f28465ed-f3b2-4c9e-98c2-380868ee3e75
size : 0x7fff (32767)
offset   : 0x (0)
mapi_response: *
mapi_response: length=10
mapi_response: ARRAY(8)
mapi_repl: struct EcDoRpc_MAPI_REPL
opnum: 0x02 (2)
handle_idx   : 0x01 (1)
error_code   : MAPI_E_SUCCESS (0x0)
u: union
EcDoRpc_MAPI_REPL_UNION(case 2)
mapi_OpenFolder: struct OpenFolder_repl
unknown  : 0x (0)
mapi_response: (handles) number=2
handle id: 0x0fce (4046)
handle id: 0x0c2a (3114)
length   : *
length   : 0x0012 (18)
result   : MAPI_E_SUCCESS (0x0)
EcDoRpc: struct EcDoRpc
in: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
f28465ed-f3b2-4c9e-98c2-380868ee3e75
size : 0x7fff (32767)
offset   : 0x (0)
mapi_request : *
mapi_len : 0x0013 (19)
length   : 0x000f (15)
mapi_request: struct EcDoRpc_MAPI_REQ
opnum: 0x07 (7)
mapi_flags   : 0x00 (0)
handle_idx   : 0x00 (0)
u: union
EcDoRpc_MAPI_REQ_UNION(case 7)
mapi_GetProps: struct GetProps_req
unknown  : 0x (0)
prop_count   : 0x0001 (1)
properties: ARRAY(1)
properties   :
PR_CONTAINER_CLASS (0x3613001E)
mapi_request : (handles) number=1
handle   : 0x0c2a (3114)
length   : *
length   : 0x0013 (19)
max_data : 0x7fff (32767)
EcDoRpc: struct EcDoRpc
out: struct EcDoRpc
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid :
f28465ed-f3b2-4c9e-98c2-380868ee3e75
size : 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Per Nystrom
Srini,

I don't know what I'm doing wrong, but here's what I did and the output
I got (munged for privacy -- uuu=username ppp=password ddd=domain
sss=exchange server):

[EMAIL PROTECTED] ~]$ export LD_LIBRARY_PATH=/opt/samba4/lib
[EMAIL PROTECTED] ~]$ export MAPI_DEBUG=1
[EMAIL PROTECTED] ~]$ evolution
CalDAV Eplugin starting up ...
Loading Exchange MAPI Plugin

listener is constructed 
evolution-shell-Message: Killing old version of evolution-data-server...
** (evolution:2771): DEBUG: mailto URL command: evolution --component=mail %s
** (evolution:2771): DEBUG: mailto URL program: evolution
camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
get uuu mapi://[EMAIL PROTECTED]/
Find Items 9
Couldn't Get password 9
Remember mapi://[EMAIL PROTECTED]/: 0/1
Create profile with uuu ppp () ddd sss
profpath /home/test/.evolution/mapi-profiles.ldb
[exchange_mapi_plugin] Profile creation
Logging into the server
Login succeeded: Yeh
[exchange_mapi_plugin] : ProcessNetworkProfile: MAPI_E_INVALID_PARAMETER 
(0x80070057)
[exchange_mapi_plugin] ProcessNetworkProfile() : MAPI_E_INVALID_PARAMETER 
(0x80070057)
Get Default 0
Find Items 0
Delete Items sss uuu 0
get uuu mapi://[EMAIL PROTECTED]/
Find Items 9
Couldn't Get password 9
Remember mapi://[EMAIL PROTECTED]/: 0/1
Create profile with uuu ppp () ddd sss
profpath /home/test/.evolution/mapi-profiles.ldb
[exchange_mapi_plugin] Profile creation
Logging into the server
Login succeeded: Yeh
[exchange_mapi_plugin] : ProcessNetworkProfile: MAPI_E_INVALID_PARAMETER 
(0x80070057)
[exchange_mapi_plugin] ProcessNetworkProfile() : MAPI_E_INVALID_PARAMETER 
(0x80070057)
Get Default 0
Find Items 0
Delete Items sss uuu 0

It seems to be looping at the authenticate dialog.  Keeps asking for my
password, and then I get the MAPI_E_INVALID_PARAMETER stuff on the
terminal.


Thanks,
Per

On Mon, 2008-02-04 at 14:30 +0530, Srinivasa Ragavan wrote:
 Per,
 
 You sure you did 'export MAPI_DEBUG=1' on a terminal and from the same
 terminal, you start evolution?
 
 I'm wondering how it works for me then :(
 -Srini.
 
 On Sun, 2008-02-03 at 23:18 -0800, Per Nystrom wrote:
  Srini,
  
  I tried MAPI_DEBUG=1, but I got the same output as I already sent
  before.
  
  BTW, I only munged out the server, domain, username, and password (it
  shouldn't really show the password in plaintext anyway, but that's minor
  compared to getting it to work at all).
  
  Thanks,
  Per
  
  
  On Mon, 2008-02-04 at 12:16 +0530, Srinivasa Ragavan wrote:
   Per,
   
   Nice to hear that the crash is gone.
   
   You can do
   
   export 'MAPI_DEBUG=1'
   evolution
   
   Try authentication and paste me out the logs. It can help be get out of
   the barrier. Do send me privately if you think it has some sensitive
   information.
   
   -Srini.
   On Sat, 2008-02-02 at 23:15 -0800, Per Nystrom wrote:
Hi,

I saw a new update showed up today in the repository so I tried it out.
The crash is gone, but I still can't get past the authenticate dialog.
Here's the terminal output:

[EMAIL PROTECTED] ~]$ LD_LIBRARY_PATH=/opt/samba4/lib evolution
CalDAV Eplugin starting up ...
Loading Exchange MAPI Plugin

listener is constructed 
evolution-shell-Message: Killing old version of evolution-data-server...
** (evolution:10509): DEBUG: mailto URL command: evolution 
--component=mail %s
** (evolution:10509): DEBUG: mailto URL program: evolution
camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
get uuu mapi://[EMAIL PROTECTED]/
Find Items 9
Couldn't Get password 9
Create profile with uuu ppp () yyy.zzz xxx.yyy.zzz
profpath /home/test/.evolution/mapi-profiles.ldb
[exchange_mapi_plugin] Profile creation
Logging into the server
Login succeeded: Yeh
[exchange_mapi_plugin] : ProcessNetworkProfile: 
MAPI_E_INVALID_PARAMETER (0x80070057)
[exchange_mapi_plugin] ProcessNetworkProfile() : 
MAPI_E_INVALID_PARAMETER (0x80070057)
Get Default 0
Find Items 9
Couldn't clear password

I'm happy to help debug, just let me know what you need me to do.

Thanks,
Per

On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
 Excellent, I'll watch for it to show up in the repository and try 
 again.
 
 Thanks,
 Per
 
 On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
  Looks like a double free when the profile creation fails.
  Per, the main problem here is why the profile creation fails. We 
  will
  push a debug build asap so that this can be seen.
  
  -Srini.
  On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
   Hello,
   
   I installed the RPMs and dependencies from
   http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
in a Fedora 8 i386 VM, started up Evolution with the required 
   LD_LIBRARY_PATH, tried to configure a 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Srinivasa Ragavan
Hi William,

The trace looks fine, but I'm not able to find any segv or signal
handler call = Not able to find which thread crashed. Just do a 'bt'
Otherwise, it could be a memory corruption, I think.

Can you run like 'valgrind --tool=memcheck evolution' and paste me the
logs? 

Sorry for the multiple iterations.

-Srini.


On Mon, 2008-02-04 at 18:19 +, William John Murray wrote:
 Hello Suman,
   Here is the log. Thank you for looking at this.
  Bill
 
  thread apply all bt full
 
 Thread 8 (Thread 1105209680 (LWP 23478)):
 #0  0x003dd0ad50d8 in epoll_wait () from /lib64/libc.so.6
 No symbol table info available.
 #1  0x2aaab3d305e0 in ?? () from /opt/samba4/lib/libdcerpc.so.0
 No symbol table info available.
 #2  0x2aaab3d31032 in ?? () from /opt/samba4/lib/libdcerpc.so.0
 No symbol table info available.
 #3  0x2aaab3d2ff42 in event_loop_once ()
 from /opt/samba4/lib/libdcerpc.so.0
 No symbol table info available.
 #4  0x2aaab39ad2ab in dcerpc_request_recv ()
 from /opt/samba4/lib/libdcerpc.so.0
 No symbol table info available.
 #5  0x2aaab39ade40 in dcerpc_ndr_request_recv ()
 from /opt/samba4/lib/libdcerpc.so.0
 No symbol table info available.
 #6  0x2aaab36e45a0 in dcerpc_EcDoRpc (p=0x2aaabc020bd0,
 mem_ctx=value optimized out, r=0x41e01ca0) at
 gen_ndr/ndr_exchange_c.c:1565
   req = (struct rpc_request *) 0xfffc
 #7  0x2aaab36a4da3 in emsmdb_transaction (emsmdb=0x2aaabc020c70,
 req=0xe1fe50, repl=0x41e01d40) at libmapi/emsmdb.c:208
 r = {in = {mapi_request = 0xe1fe50, max_data = 32767, handle =
 0x2aaabc020c78, size = 32767, offset = 0, length = 0xe1fdc0}, out =
 {mapi_response = 0xe1ff20, handle = 0x2aaabc020c78, size = 14810816,
 offset = 0, length = 0xe1fdc0, result = 3016974192}}
   multi_req = value optimized out
   i = 0 '\0'
 #8  0x2aaab369db67 in OpenMsgStore (obj_store=0x41e01e70) at
 libmapi/IMAPISession.c:192
   mapi_request = (struct mapi_request *) 0x41e01a10
   mapi_response = value optimized out
   retval = value optimized out
   size = value optimized out
   mem_ctx = (TALLOC_CTX *) 0xe1fc70
   mailbox = value optimized out
 #9  0x2aaab3468c82 in exchange_mapi_connection_fetch_items
 (fid=388610298799456257, GetPropsList=0x2aaab9a43080, cn_props=8,
 build_name_id=0, res=0x0, cb=0x2aaab9a3f4e0 fetch_items_cb,
 data=0x2aaabc02e100) at exchange-mapi-connection.c:654
   retval = value optimized out
   mem_ctx = (TALLOC_CTX *) 0xe1fad0
 obj_store = {id = 0, handle = 4294967295, handles = 0x0,
 private_data = 0x0}
 obj_folder = {id = 0, handle = 4294967295, handles = 0x0,
 private_data = 0x0}
 obj_table = {id = 0, handle = 4294967295, handles = 0x0,
 private_data = 0x0}
   SPropTagArray = value optimized out
   GetPropsTagArray = value optimized out
 SRowSet = {cRows = 3007729240, aRow = 0xe09c30}
 count = 0
   i = value optimized out
   result = value optimized out
 __PRETTY_FUNCTION__ = exchange_mapi_connection_fetch_items
 #10 0x2aaab9a3f732 in mapi_refresh_folder (folder=0x2aaabc02e100,
 ex=0x41e01fc0) at camel-mapi-folder.c:522
 temp_folder_id = 388610298799456257
   mapi_store = (CamelMapiStore *) 0x719530
   status = value optimized out
 folder_id = (gchar *) 0xe09c30 05649F020001
 __PRETTY_FUNCTION__ = mapi_refresh_folder
 #11 0x2aaab9a3fbbe in mapi_refresh_info (folder=0x2aaabc02e100,
 ex=0x41e01fc0) at camel-mapi-folder.c:136
   si = value optimized out
 __PRETTY_FUNCTION__ = mapi_refresh_info
 #12 0x2aaab0577973 in ?? ()
 from /usr/lib64/evolution/2.12/components/libevolution-mail.so
 No symbol table info available.
 #13 0x2aaab0572cda in ?? ()
 from /usr/lib64/evolution/2.12/components/libevolution-mail.so
 No symbol table info available.
 #14 0x003dd3a5cde9 in ?? () from /lib64/libglib-2.0.so.0
 No symbol table info available.
 #15 0x003dd3a5b2a4 in ?? () from /lib64/libglib-2.0.so.0
 No symbol table info available.
 #16 0x003dd1606407 in start_thread () from /lib64/libpthread.so.0
 No symbol table info available.
 #17 0x003dd0ad4b0d in clone () from /lib64/libc.so.6
 No symbol table info available.
 
 Thread 5 (Thread 1094719824 (LWP 23381)):
 #0  0x003dd0a795c0 in strlen () from /lib64/libc.so.6
 No symbol table info available.
 #1  0x003dd3a54323 in g_strdup () from /lib64/libglib-2.0.so.0
 No symbol table info available.
 #2  0x2aaab9a41002 in mapi_folders_sync (store=0x719530, ex=value
 optimized out) at camel-mapi-store.c:972
 name = 0x2aaabc012b10 2006
 fid = (gchar *) 0xbc06af90 Address 0xbc06af90
 out of bounds
   priv = (CamelMapiStorePrivate *) 0x73a380
   status = value optimized out
   folder_list = (GSList *) 0x7f0c10
   temp_list = (GSList *) 0x7f0c20
   url = 0x2aaabc076710 mapi://[EMAIL PROTECTED]/
   info = value 

Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Srinivasa Ragavan

On Mon, 2008-02-04 at 14:31 -0800, Per Nystrom wrote:
 Srini,
 
 I don't know what I'm doing wrong, but here's what I did and the output
 I got (munged for privacy -- uuu=username ppp=password ddd=domain
 sss=exchange server):
 
 [EMAIL PROTECTED] ~]$ export LD_LIBRARY_PATH=/opt/samba4/lib
 [EMAIL PROTECTED] ~]$ export MAPI_DEBUG=1

Ah, this sounds challenging. You seem to be doing it right. Sure that
you have the new mapi connector installed from the repo?

-Srini.
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Per Nystrom
Srini,

I think so.  Here's what I've got:

[EMAIL PROTECTED] ~]# yum check-update
fedora100% |=| 2.1 kB00:00 
updates   100% |=| 2.3 kB00:00 
home:jjohnny:evolution-ex 100% |=|  951 B00:00 
fedora-debuginfo  100% |=| 2.1 kB00:00 
[EMAIL PROTECTED] ~]# rpm -qa | grep -i mapi
libmapi-0.6_HOLODECK-7.1
evolution-mapi-provider-debuginfo-20080118.3-2.1
evolution-mapi-provider-20080118.3-2.1



On Tue, 2008-02-05 at 09:53 +0530, Srinivasa Ragavan wrote:
 On Mon, 2008-02-04 at 14:31 -0800, Per Nystrom wrote:
  Srini,
  
  I don't know what I'm doing wrong, but here's what I did and the output
  I got (munged for privacy -- uuu=username ppp=password ddd=domain
  sss=exchange server):
  
  [EMAIL PROTECTED] ~]$ export LD_LIBRARY_PATH=/opt/samba4/lib
  [EMAIL PROTECTED] ~]$ export MAPI_DEBUG=1
 
 Ah, this sounds challenging. You seem to be doing it right. Sure that
 you have the new mapi connector installed from the repo?
 
 -Srini.

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-04 Thread Srinivasa Ragavan
Per,

Are you accessible on XChat? I'm 'srag' at #evolution in GimpNet
(irc.gnome.org)

I think we can resolve this faster over chat than mail :)

-Srini.

On Mon, 2008-02-04 at 20:30 -0800, Per Nystrom wrote:
 Srini,
 
 I think so.  Here's what I've got:
 
 [EMAIL PROTECTED] ~]# yum check-update
 fedora100% |=| 2.1 kB00:00
  
 updates   100% |=| 2.3 kB00:00
  
 home:jjohnny:evolution-ex 100% |=|  951 B00:00
  
 fedora-debuginfo  100% |=| 2.1 kB00:00
  
 [EMAIL PROTECTED] ~]# rpm -qa | grep -i mapi
 libmapi-0.6_HOLODECK-7.1
 evolution-mapi-provider-debuginfo-20080118.3-2.1
 evolution-mapi-provider-20080118.3-2.1
 
 
 
 On Tue, 2008-02-05 at 09:53 +0530, Srinivasa Ragavan wrote:
  On Mon, 2008-02-04 at 14:31 -0800, Per Nystrom wrote:
   Srini,
   
   I don't know what I'm doing wrong, but here's what I did and the output
   I got (munged for privacy -- uuu=username ppp=password ddd=domain
   sss=exchange server):
   
   [EMAIL PROTECTED] ~]$ export LD_LIBRARY_PATH=/opt/samba4/lib
   [EMAIL PROTECTED] ~]$ export MAPI_DEBUG=1
  
  Ah, this sounds challenging. You seem to be doing it right. Sure that
  you have the new mapi connector installed from the repo?
  
  -Srini.
 
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-03 Thread Srinivasa Ragavan
Guys,

We've just pushed another build with some fixes and made debug possible.

export MAPI_DEBUG=1
and start evolution/eds on the console. It might be a bit slow, if you
run like this, so do this only for collecting debug information to help
us :-)

-Srini.

On Tue, 2008-01-29 at 13:30 +0530, Srinivasa Ragavan wrote:
 Per,
 
 it will be great, if you can run it with 'valgrind --tool=memcheck
 evolution' and paste the logs to me. It might help me debug it better.
 
 -Srini.
 
 On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
  Excellent, I'll watch for it to show up in the repository and try again.
  
  Thanks,
  Per
  
  On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
   Looks like a double free when the profile creation fails.
   Per, the main problem here is why the profile creation fails. We will
   push a debug build asap so that this can be seen.
   
   -Srini.
   On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
Hello,

I installed the RPMs and dependencies from
http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
 in a Fedora 8 i386 VM, started up Evolution with the required 
LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
crash.  I posted details to the bugs wiki here:

http://www.go-evolution.org/MAPIProvider/Bugs

I'm happy to help get this moving any way I can; I have been without
Evolution-Exchange connectivity ever since my company upgraded to
Exchange 2007 in December and OWA light is driving me nuts.

Thanks,
Per

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers
  

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-03 Thread Srinivasa Ragavan
Per,

Nice to hear that the crash is gone.

You can do

export 'MAPI_DEBUG=1'
evolution

Try authentication and paste me out the logs. It can help be get out of
the barrier. Do send me privately if you think it has some sensitive
information.

-Srini.
On Sat, 2008-02-02 at 23:15 -0800, Per Nystrom wrote:
 Hi,
 
 I saw a new update showed up today in the repository so I tried it out.
 The crash is gone, but I still can't get past the authenticate dialog.
 Here's the terminal output:
 
 [EMAIL PROTECTED] ~]$ LD_LIBRARY_PATH=/opt/samba4/lib evolution
 CalDAV Eplugin starting up ...
 Loading Exchange MAPI Plugin
 
 listener is constructed 
 evolution-shell-Message: Killing old version of evolution-data-server...
 ** (evolution:10509): DEBUG: mailto URL command: evolution --component=mail %s
 ** (evolution:10509): DEBUG: mailto URL program: evolution
 camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
 get uuu mapi://[EMAIL PROTECTED]/
 Find Items 9
 Couldn't Get password 9
 Create profile with uuu ppp () yyy.zzz xxx.yyy.zzz
 profpath /home/test/.evolution/mapi-profiles.ldb
 [exchange_mapi_plugin] Profile creation
 Logging into the server
 Login succeeded: Yeh
 [exchange_mapi_plugin] : ProcessNetworkProfile: MAPI_E_INVALID_PARAMETER 
 (0x80070057)
 [exchange_mapi_plugin] ProcessNetworkProfile() : MAPI_E_INVALID_PARAMETER 
 (0x80070057)
 Get Default 0
 Find Items 9
 Couldn't clear password
 
 I'm happy to help debug, just let me know what you need me to do.
 
 Thanks,
 Per
 
 On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
  Excellent, I'll watch for it to show up in the repository and try again.
  
  Thanks,
  Per
  
  On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
   Looks like a double free when the profile creation fails.
   Per, the main problem here is why the profile creation fails. We will
   push a debug build asap so that this can be seen.
   
   -Srini.
   On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
Hello,

I installed the RPMs and dependencies from
http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
 in a Fedora 8 i386 VM, started up Evolution with the required 
LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
crash.  I posted details to the bugs wiki here:

http://www.go-evolution.org/MAPIProvider/Bugs

I'm happy to help get this moving any way I can; I have been without
Evolution-Exchange connectivity ever since my company upgraded to
Exchange 2007 in December and OWA light is driving me nuts.

Thanks,
Per

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers
  
  ___
  Evolution-hackers mailing list
  Evolution-hackers@gnome.org
  http://mail.gnome.org/mailman/listinfo/evolution-hackers
 
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-03 Thread Per Nystrom
Srini,

I tried MAPI_DEBUG=1, but I got the same output as I already sent
before.

BTW, I only munged out the server, domain, username, and password (it
shouldn't really show the password in plaintext anyway, but that's minor
compared to getting it to work at all).

Thanks,
Per


On Mon, 2008-02-04 at 12:16 +0530, Srinivasa Ragavan wrote:
 Per,
 
 Nice to hear that the crash is gone.
 
 You can do
 
 export 'MAPI_DEBUG=1'
 evolution
 
 Try authentication and paste me out the logs. It can help be get out of
 the barrier. Do send me privately if you think it has some sensitive
 information.
 
 -Srini.
 On Sat, 2008-02-02 at 23:15 -0800, Per Nystrom wrote:
  Hi,
  
  I saw a new update showed up today in the repository so I tried it out.
  The crash is gone, but I still can't get past the authenticate dialog.
  Here's the terminal output:
  
  [EMAIL PROTECTED] ~]$ LD_LIBRARY_PATH=/opt/samba4/lib evolution
  CalDAV Eplugin starting up ...
  Loading Exchange MAPI Plugin
  
  listener is constructed 
  evolution-shell-Message: Killing old version of evolution-data-server...
  ** (evolution:10509): DEBUG: mailto URL command: evolution --component=mail 
  %s
  ** (evolution:10509): DEBUG: mailto URL program: evolution
  camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
  get uuu mapi://[EMAIL PROTECTED]/
  Find Items 9
  Couldn't Get password 9
  Create profile with uuu ppp () yyy.zzz xxx.yyy.zzz
  profpath /home/test/.evolution/mapi-profiles.ldb
  [exchange_mapi_plugin] Profile creation
  Logging into the server
  Login succeeded: Yeh
  [exchange_mapi_plugin] : ProcessNetworkProfile: 
  MAPI_E_INVALID_PARAMETER (0x80070057)
  [exchange_mapi_plugin] ProcessNetworkProfile() : 
  MAPI_E_INVALID_PARAMETER (0x80070057)
  Get Default 0
  Find Items 9
  Couldn't clear password
  
  I'm happy to help debug, just let me know what you need me to do.
  
  Thanks,
  Per
  
  On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
   Excellent, I'll watch for it to show up in the repository and try again.
   
   Thanks,
   Per
   
   On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
Looks like a double free when the profile creation fails.
Per, the main problem here is why the profile creation fails. We will
push a debug build asap so that this can be seen.

-Srini.
On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
 Hello,
 
 I installed the RPMs and dependencies from
 http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
  in a Fedora 8 i386 VM, started up Evolution with the required 
 LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with 
 a crash.  I posted details to the bugs wiki here:
 
 http://www.go-evolution.org/MAPIProvider/Bugs
 
 I'm happy to help get this moving any way I can; I have been without
 Evolution-Exchange connectivity ever since my company upgraded to
 Exchange 2007 in December and OWA light is driving me nuts.
 
 Thanks,
 Per
 
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers
   
   ___
   Evolution-hackers mailing list
   Evolution-hackers@gnome.org
   http://mail.gnome.org/mailman/listinfo/evolution-hackers
  

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-02-02 Thread Per Nystrom
Hi,

I saw a new update showed up today in the repository so I tried it out.
The crash is gone, but I still can't get past the authenticate dialog.
Here's the terminal output:

[EMAIL PROTECTED] ~]$ LD_LIBRARY_PATH=/opt/samba4/lib evolution
CalDAV Eplugin starting up ...
Loading Exchange MAPI Plugin

listener is constructed 
evolution-shell-Message: Killing old version of evolution-data-server...
** (evolution:10509): DEBUG: mailto URL command: evolution --component=mail %s
** (evolution:10509): DEBUG: mailto URL program: evolution
camel-mapi-store.c(166):camel_mapi_store_get_type:Reached 
get uuu mapi://[EMAIL PROTECTED]/
Find Items 9
Couldn't Get password 9
Create profile with uuu ppp () yyy.zzz xxx.yyy.zzz
profpath /home/test/.evolution/mapi-profiles.ldb
[exchange_mapi_plugin] Profile creation
Logging into the server
Login succeeded: Yeh
[exchange_mapi_plugin] : ProcessNetworkProfile: MAPI_E_INVALID_PARAMETER 
(0x80070057)
[exchange_mapi_plugin] ProcessNetworkProfile() : MAPI_E_INVALID_PARAMETER 
(0x80070057)
Get Default 0
Find Items 9
Couldn't clear password

I'm happy to help debug, just let me know what you need me to do.

Thanks,
Per

On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
 Excellent, I'll watch for it to show up in the repository and try again.
 
 Thanks,
 Per
 
 On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
  Looks like a double free when the profile creation fails.
  Per, the main problem here is why the profile creation fails. We will
  push a debug build asap so that this can be seen.
  
  -Srini.
  On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
   Hello,
   
   I installed the RPMs and dependencies from
   http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
in a Fedora 8 i386 VM, started up Evolution with the required 
   LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
   crash.  I posted details to the bugs wiki here:
   
   http://www.go-evolution.org/MAPIProvider/Bugs
   
   I'm happy to help get this moving any way I can; I have been without
   Evolution-Exchange connectivity ever since my company upgraded to
   Exchange 2007 in December and OWA light is driving me nuts.
   
   Thanks,
   Per
   
   ___
   Evolution-hackers mailing list
   Evolution-hackers@gnome.org
   http://mail.gnome.org/mailman/listinfo/evolution-hackers
 
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-28 Thread Per Nystrom
Hello,

I installed the RPMs and dependencies from
http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
 in a Fedora 8 i386 VM, started up Evolution with the required LD_LIBRARY_PATH, 
tried to configure a MAPI account, and ended up with a crash.  I posted details 
to the bugs wiki here:

http://www.go-evolution.org/MAPIProvider/Bugs

I'm happy to help get this moving any way I can; I have been without
Evolution-Exchange connectivity ever since my company upgraded to
Exchange 2007 in December and OWA light is driving me nuts.

Thanks,
Per

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-28 Thread Srinivasa Ragavan
Looks like a double free when the profile creation fails.
Per, the main problem here is why the profile creation fails. We will
push a debug build asap so that this can be seen.

-Srini.
On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
 Hello,
 
 I installed the RPMs and dependencies from
 http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
  in a Fedora 8 i386 VM, started up Evolution with the required 
 LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
 crash.  I posted details to the bugs wiki here:
 
 http://www.go-evolution.org/MAPIProvider/Bugs
 
 I'm happy to help get this moving any way I can; I have been without
 Evolution-Exchange connectivity ever since my company upgraded to
 Exchange 2007 in December and OWA light is driving me nuts.
 
 Thanks,
 Per
 
 ___
 Evolution-hackers mailing list
 Evolution-hackers@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-28 Thread Per Nystrom
Excellent, I'll watch for it to show up in the repository and try again.

Thanks,
Per

On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
 Looks like a double free when the profile creation fails.
 Per, the main problem here is why the profile creation fails. We will
 push a debug build asap so that this can be seen.
 
 -Srini.
 On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
  Hello,
  
  I installed the RPMs and dependencies from
  http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
   in a Fedora 8 i386 VM, started up Evolution with the required 
  LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
  crash.  I posted details to the bugs wiki here:
  
  http://www.go-evolution.org/MAPIProvider/Bugs
  
  I'm happy to help get this moving any way I can; I have been without
  Evolution-Exchange connectivity ever since my company upgraded to
  Exchange 2007 in December and OWA light is driving me nuts.
  
  Thanks,
  Per
  
  ___
  Evolution-hackers mailing list
  Evolution-hackers@gnome.org
  http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-28 Thread Srinivasa Ragavan
Per,

it will be great, if you can run it with 'valgrind --tool=memcheck
evolution' and paste the logs to me. It might help me debug it better.

-Srini.

On Mon, 2008-01-28 at 23:45 -0800, Per Nystrom wrote:
 Excellent, I'll watch for it to show up in the repository and try again.
 
 Thanks,
 Per
 
 On Tue, 2008-01-29 at 09:22 +0530, Srinivasa Ragavan wrote:
  Looks like a double free when the profile creation fails.
  Per, the main problem here is why the profile creation fails. We will
  push a debug build asap so that this can be seen.
  
  -Srini.
  On Mon, 2008-01-28 at 11:31 -0800, Per Nystrom wrote:
   Hello,
   
   I installed the RPMs and dependencies from
   http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
in a Fedora 8 i386 VM, started up Evolution with the required 
   LD_LIBRARY_PATH, tried to configure a MAPI account, and ended up with a 
   crash.  I posted details to the bugs wiki here:
   
   http://www.go-evolution.org/MAPIProvider/Bugs
   
   I'm happy to help get this moving any way I can; I have been without
   Evolution-Exchange connectivity ever since my company upgraded to
   Exchange 2007 in December and OWA light is driving me nuts.
   
   Thanks,
   Per
   
   ___
   Evolution-hackers mailing list
   Evolution-hackers@gnome.org
   http://mail.gnome.org/mailman/listinfo/evolution-hackers
 
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-19 Thread Suman
Hi..

On Jan 18, 2008 10:21 PM, Holger Goetz [EMAIL PROTECTED] wrote:

Is there any magic beside of

 installation,
 exporting the LD_LIBRARY_PATH for samba4
 and activating the plugin,

 to get a MAPI or alike selection the the Server Type drop down? (The
 plugin is there and can be activated/is activated)


The name of the plugin is 'Exchange MAPI'. The same name is used in the
Server Type dropdown as well.. If the plugin is activated and you still
can't find the server type in the dropdown - something is wrong. (start Evo
in a terminal and look for a message like 'Unable to load plugin 'XYZ' -
could not find shared object 'PQR.so' etc.,)


 BTW: tested on 2 systems: Ubuntu 7.02, Evolution 2.12.1 and plain
 debian-sid 2.12.2-1+b1 ...
 Couldn't test w/ 2.21.90 from trunk of svn - as the rpm's install in
 default libs and not into /opt/evo/ or alike.


Just to make it crystal clear, you may either:

+ install the RPMs from the URL Johnny mentioned...
+ build from source from the following branches (and not SVN trunk)

http://svn.gnome.org/viewvc/evolution-data-server/branches/EXCHANGE_MAPI_BRANCH
http://svn.gnome.org/viewvc/evolution/branches/EXCHANGE_MAPI_BRANCH

I had posted the configure options needed sometime ago here -
http://mail.gnome.org/archives/evolution-list/2008-January/msg00032.html

-Suman
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-18 Thread Suman
Just to give a heads-up on what WON'T work w.r.t. calendars/tasks/memos:

+ no meetings/assigned tasks support.. (we're waiting on a few APIs to be
made available by libmapi)
+ no recurring events [1]
+ freebusy info (the first point would make this irrelavant.. but..)

The rest of the basic features would *mostly* work..
Comparing the plugin to the current Exchange connector.. feature-wise...
MAPI stilll has a long way to go.. :)

Looking forward to a lot of people trying/testing the RPMs and getting back
to us with their invaluable feedback.. TIA !!

[1] events = appointments/meetings.. unfortunately, Evolution does not
support recurring tasks yet.. so.. don't wait on that..

regards,
Suman

P.S. ohhh... btw.. Outlook notes ~= Evolution memos..

On Jan 18, 2008 7:50 PM, Jacob Johnny [EMAIL PROTECTED] wrote:

 Hello guys,

 This is an announce mail for the preview of Evolution MAPI provider.
 This provider can connect to Exchange 2007 servers and also to Exchange
 2003, 2000 and 5.5 (untested).

 After seeing enormous interest by the users in Exchange 2007
 connectivity, we have prepared a preview of the current development code
 from the branch. The evolution-mapi-provider is a standalone rpm but in
 future it may be part of the Evolution/EDS rpms. It has a dependency on
 OpenChange's ( http://openchange.org ) libmapi and Samba4.

 I'm maintaining the build service project for the provider and I'm
 planning to give RPMs for OpenSUSE, SLED, Fedora and Ubuntu. We would be
 doing incremental releases of this periodically and may have nightly
 builds for this pretty soon (Don't ask me when ;-)

 The below url should let you access the Samba4, libmapi and Evolution
 MAPI Provider rpms.

 http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider

 Due to the recent outage of OpenSUSE Build Service, we aren't able to
 get the rpms ready. So I have built RPMs for opensuse 10.3/i586 alone
 and is available at:

 http://gnomebangalore.org/~sragavan/exchange-mapi/i586/http://gnomebangalore.org/%7Esragavan/exchange-mapi/i586/.

 The build for the project is already queued. So it is possible that by
 the time, you read the mail, the rpms might have been published already.
 So go check out and give your valuable feedback.

 ** IMPORTANT - DISCLAIMER ***

  * The build could be very unstable and may crash frequently.
  * Don't report these issues on to Evolution bugzilla atm. We will
create the components and let you all know it. Mean while, you
can write your comments/bugs at
http://www.go-evolution.org/MAPIProvider/Bugs and we will
migrate them to bugzilla a little later.
  * It is not yet feature complete. We don't have public folders/GAL
yet. EMail subjects appear corrupted and lots of other known
issues :)
  * Most of the features are untested
  * You need to export the Samba4 LD_LIBRARY_PATH=/opt/samba4/lib
  * At Last: I'm not responsible for any serious damage caused due
to the package. So try it at your own risk!!! :)

 Thanks
 Johnny.

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Exchange 2007 - MAPI Provider preview

2008-01-18 Thread Srinivasa Ragavan
Holger,

The RPM was built for Evolution 2.12/OpenSUSE 10.3. But if you get hold
of the source, my guess is that you can use it from Evolution 2.4
onwards ;-) 

Also, our hands were tied, as the OpenSUSE build service had a bad week
and we couldn't do much. We should be able to build binaries for all the
OpenSUSE build service supported Distros (OpenSUSE, Fedora, Debian,
Ubuntu, Mandriva) and for versions 2.12 and above (current 2.21.x). Of
course, we might need a bit of tweaking for debs in the spec files,
which aren't yet done and any one is free to do that and help us.

-Srini.

On Fri, 2008-01-18 at 17:51 +0100, Holger Goetz wrote:
 Hi Suman, Johnny,
 
 1st: That's great news! Thanks for all your efforts around MAPI and
 Exchange2007!
 
 2nd: What version of evolution is expected as minimum? 
 
 Is there any magic beside of 
 
 installation, 
 exporting the LD_LIBRARY_PATH for samba4 
 and activating the plugin,  
 
 to get a MAPI or alike selection the the Server Type drop down?
 (The plugin is there and can be activated/is activated)
 
 BTW: tested on 2 systems: Ubuntu 7.02, Evolution 2.12.1 and plain
 debian-sid 2.12.2-1+b1 ... 
 Couldn't test w/ 2.21.90 from trunk of svn - as the rpm's install in
 default libs and not into /opt/evo/ or alike.
 
 Thanks,
 Holger
 
 
 
 
 
 
 
 On Fri, 2008-01-18 at 21:32 +0530, Suman wrote:
  Just to give a heads-up on what WON'T work w.r.t.
  calendars/tasks/memos: 
  
  + no meetings/assigned tasks support.. (we're waiting on a few APIs
  to be made available by libmapi) 
  + no recurring events [1]
  + freebusy info (the first point would make this irrelavant..
  but..) 
  
  The rest of the basic features would *mostly* work.. 
  Comparing the plugin to the current Exchange connector..
  feature-wise... MAPI stilll has a long way to go.. :) 
  
  Looking forward to a lot of people trying/testing the RPMs and
  getting back to us with their invaluable feedback.. TIA !!
  
  [1] events = appointments/meetings.. unfortunately, Evolution does
  not support recurring tasks yet.. so.. don't wait on that.. 
  
  regards, 
  Suman
  
  P.S. ohhh... btw.. Outlook notes ~= Evolution memos.. 
  
  On Jan 18, 2008 7:50 PM, Jacob Johnny [EMAIL PROTECTED]  wrote:
  Hello guys,
  
  This is an announce mail for the preview of Evolution MAPI
  provider. 
  This provider can connect to Exchange 2007 servers and also
  to Exchange
  2003, 2000 and 5.5 (untested).
  
  After seeing enormous interest by the users in Exchange 2007
  connectivity, we have prepared a preview of the current
  development code 
  from the branch. The evolution-mapi-provider is a standalone
  rpm but in
  future it may be part of the Evolution/EDS rpms. It has a
  dependency on
  OpenChange's ( http://openchange.org ) libmapi and Samba4.
  
  I'm maintaining the build service project for the provider
  and I'm
  planning to give RPMs for OpenSUSE, SLED, Fedora and Ubuntu.
  We would be
  doing incremental releases of this periodically and may have
  nightly 
  builds for this pretty soon (Don't ask me when ;-)
  
  The below url should let you access the Samba4, libmapi and
  Evolution
  MAPI Provider rpms.
  
  http://download.opensuse.org/repositories/home:/jjohnny:/evolution-exchange-mapi-provider
  
  Due to the recent outage of OpenSUSE Build Service, we
  aren't able to
  get the rpms ready. So I have built RPMs for opensuse
  10.3/i586 alone
  and is available at:
  
  http://gnomebangalore.org/~sragavan/exchange-mapi/i586/ .
  
  The build for the project is already queued. So it is
  possible that by 
  the time, you read the mail, the rpms might have been
  published already.
  So go check out and give your valuable feedback.
  
  ** IMPORTANT - DISCLAIMER ***
  
   * The build could be very unstable and may crash
  frequently. 
   * Don't report these issues on to Evolution bugzilla
  atm. We will
 create the components and let you all know it. Mean
  while, you
 can write your comments/bugs at
 http://www.go-evolution.org/MAPIProvider/Bugs and we
  will
 migrate them to bugzilla a little later.
   * It is not yet feature complete. We don't have public
  folders/GAL
 yet. EMail subjects appear corrupted and lots of
  other known 
 issues :)
   * Most of the features are untested
   * You need to export the Samba4
  LD_LIBRARY_PATH=/opt/samba4/lib
   * At Last: I'm not responsible for any serious