Re: [SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-22 Thread Terry Curtis
Hmmm, it was useful to me for I have been able to identify during the test
that the failure was being caused by how the separator was being used. Due
to I am using Dovecot and postfix but chose to use dovecot-pigeonhole
instead of cyrus. The logs indicated two main failures:

1. Even though both are using Active directory via LDAP for authentication
for SOGO, SOGO is treating authentication from the web differently then how
it treats a user logging in from Outlook and using SOGO as the backend to
openchange/samba. The sql server folders indicate this too.

2. SOGO is not passing the dovecot data back to Outlook 2012 properly, if
at all, when user is authenticated.  This folders do not populate using the
example in the documentation and when trying to send an email, the debug
showed a failure in communication between openchange, SOGO, postfix, and
dovecot. From what I have been able to trace back, the failure seems to lie
with the SOGO and dovecot transfer.

During troubleshooting, using SOGO via the web works great. No issues are
indicated, nor are there any issues when testing mail transfer between
postfix and dovecot. There are no issues found with individual testing
using just dovecot, postfix, and LDAP/AD either, everything works as
expected without any issues.

When SOGO receives a request from Outlook 2012 via openchange,
authentication is successful and no signs of folders not syncing properly.
As long as one does not try to send any mail, SAMBA never crashes. If one
has not used SOGO to send and receive mail via web, mainly no mail can be
created and stored in the INBOX, then SAMBA will perform without any
failures. But if there is any mail in the INBOX or a user tries to send
mail via OUTLOOK then SAMBA crashes.

So yes, the logs were useful for that is what I have been studying while
testing.


On Thu, Nov 21, 2013 at 7:19 PM, Ludovic Marcotte wrote:

> On 2013-11-20 9:30 PM, Terry Curtis wrote:
>
>> Here is the data from the failure today. SOGO from the web works
>> wonderfully, but Outlook fails every time.
>>
> What you sent isn't useful. Read: http://www.sogo.nu/nc/support/
> faq/article/how-do-i-debug-sogo.html
>
>
> --
> Ludovic Marcotte
> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (
> http://packetfence.org)
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-21 Thread Ludovic Marcotte

On 2013-11-20 9:30 PM, Terry Curtis wrote:
Here is the data from the failure today. SOGO from the web works 
wonderfully, but Outlook fails every time.
What you sent isn't useful. Read: 
http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-21 Thread Terry Curtis
Last one until I hear back but hope this gives more insight,

[2013/11/21 09:35:53,  0] ../lib/util/util.c:457(dump_data)
  [] 00 00 04 00 48 00 48 00   3C 00 29 01 00 01 F8 00   H.H.
<.).
  [0010] 00 01 00 00 00 00 02 00   62 00 00 00 00 00 00 00   
b...
  [0020] 00 0A 01 02 1E 00 01 00   1F 00 13 36 49 00 50 00   
...6I.P.
  [0030] 46 00 2E 00 43 00 6F 00   6E 00 74 00 61 00 63 00   F...C.o.
n.t.a.c.
  [0040] 74 00 00 00 0A 00 00 00   FF FF FF FF 2E 00 00 00   t...

  mapi_request: struct mapi2k7_request
  header: struct RPC_HEADER_EXT
  Version  : 0x (0)
  Flags: 0x0004 (4)
 0: RHEF_Compressed
 0: RHEF_XorMagic
 1: RHEF_Last
  Size : 0x0048 (72)
  SizeActual   : 0x0048 (72)
  mapi_request : *
  mapi_len : 0x0048 (72)
  length   : 0x003c (60)
  mapi_request: struct EcDoRpc_MAPI_REQ
  opnum: 0x29 (41)
  logon_id : 0x01 (1)
  handle_idx   : 0x00 (0)
  u: union
EcDoRpc_MAPI_REQ_UNION(case 41)
  mapi_RegisterNotification: struct
RegisterNotification_req
  handle_idx   : 0x01 (1)
  NotificationFlags: 0x00f8 (248)
 0: fnevCriticalError
 0: fnevNewMail
 0: fnevObjectCreated
 1: fnevObjectDeleted
 1: fnevObjectModified
 1: fnevObjectMoved
 1: fnevObjectCopied
 1: fnevSearchComplete
 0: fnevTableModified
 0: fnevStatusObjectModified
 0: fnevReserved
 0: fnevTbit
 0: fnevUbit
 0: fnevSbit
 0: fnevMbit
  WantWholeStore   : 0x00 (0)
  FolderId : union
hyperbool(case 0)
  ID   :
0x62000201 (7061646414740193281)
  MessageId: union
hyperbool(case 0)
  ID   :
0x (0)
  mapi_request: struct EcDoRpc_MAPI_REQ
  opnum: 0x0a (10)
  logon_id : 0x01 (1)
  handle_idx   : 0x02 (2)
  u: union
EcDoRpc_MAPI_REQ_UNION(case 10)
  mapi_SetProps: struct SetProps_req
  values: struct mapi_SPropValue_array
  cValues  : 0x0001 (1)
  lpProps: ARRAY(1)
  lpProps: struct mapi_SPropValue
  ulPropTag:
PidTagContainerClass (0x3613001F)
  value:
union mapi_SPropValue_CTR(case 31)
  lpszW:
'IPF.Contact'
  mapi_request : (handles) number=3
  handle   : 0x000a (10)
  handle   : 0x
(4294967295)
  handle   : 0x002e (46)
  cbIn : 0x0050 (80)
  pcbOut   : *
  pcbOut   : 0x8007 (32775)
  rgbAuxIn : DATA_BLOB length=0
  cbAuxIn  : 0x (0)
  pcbAuxOut: *
  pcbAuxOut: 0x1008 (4104)
[2013/11/21 09:35:53,  3]
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1721(dcesrv_EcDoRpcExt2)
  exchange_emsmdb: EcDoRpcExt2 (0xB)
[2013/11/21 09:35:53,  0]
mapiproxy/servers/default/emsmdb/dcesrv

Re: [SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-21 Thread Terry Curtis
SOGO still causes Samba to crash when Outlook connects. I have noticed that
even on initial retrieval it crashes if user had been using SOGO web
interface first.

[2013/11/21 09:12:16,  4]
mapiproxy/servers/default/emsmdb/oxcprpt.c:406(EcDoRpc_RopSetProperties)
  exchange_emsmdb: [OXCPRPT] SetProperties (0x0a)
[2013/11/21 09:12:16,  0]
MAPIStoreSOGo.m:189(sogo_backend_create_root_folder)
  [SOGo: sogo_backend_create_root_folder:189]
[2013/11/21 09:12:16,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2013/11/21 09:12:16,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 11 in pid 3385 (4.0.1-4.centos6.1)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2013/11/21 09:12:16,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2013/11/21 09:12:16,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error
[2013/11/21 09:12:16,  4]
../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule)
  dreplsrv_notify_schedule(5) scheduled for: Thu Nov 21 09:12:22 2013 EST
[2013/11/21 09:12:21,  4]
../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule)
  dreplsrv_notify_schedule(5) scheduled for: Thu Nov 21 09:12:27 2013 EST
[2013/11/21 09:12:26,  4]
../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule)
  dreplsrv_notify_schedule(5) scheduled for: Thu Nov 21 09:12:32 2013 EST
[2013/11/21 09:12:31,  4]
../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule)
  dreplsrv_notify_schedule(5) scheduled for: Thu Nov 21 09:12:37 2013 EST


Any thoughts?


On Tue, Nov 19, 2013 at 9:47 PM, Ludovic Marcotte wrote:

> On 2013-11-19 9:19 PM, owltec...@gmail.com wrote:
>
>> I have built SOGO as the backend for Openchange from the yum repos and
>> the nil
>> array that is passed between Outlook 2012 and SOGO crashes
>> Samba4/Openchange
>> mapi. This is always after the first message is sent to a user.
>>
> Try producing a relevant stacktrace:
>
> http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html
>
> Thanks,
>
> --
> Ludovic Marcotte
> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (
> http://packetfence.org)
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-19 Thread Ludovic Marcotte

On 2013-11-19 9:19 PM, owltec...@gmail.com wrote:

I have built SOGO as the backend for Openchange from the yum repos and the nil
array that is passed between Outlook 2012 and SOGO crashes Samba4/Openchange
mapi. This is always after the first message is sent to a user.

Try producing a relevant stacktrace:

http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SOGO, Openchange and Outlook 2012 fails on CentOS 6.4

2013-11-19 Thread owltechtn
I have built SOGO as the backend for Openchange from the yum repos and the nil
array that is passed between Outlook 2012 and SOGO crashes Samba4/Openchange
mapi. This is always after the first message is sent to a user.

I am using dovecot with postfix with the imap settings as shown in the docs.
Is there a better solution for a Samba4/Openchange/SOGO CentOS 6.4 server? If
so, what are the settings?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists