[SOGo] samba crash and outlook

2014-05-16 Thread Fabio Onorini
When delete mail from external client (non outlook) like webmail, and
resync mail folder on Outlook, samba crash.

Steps To Reproduce
- Create outlook profile
- send and receive mail
- delete mail from webmail
- resync mail folder on outlook

Samba log:

[2014/05/16 13:39:49, 0] libmapi/idset.c:1180(RAWIDSET_push_guid_glob)
  attempting to push a null globcnt
[2014/05/16 13:39:49, 0] ../lib/util/fault.c:72(fault_report)
  ===
[2014/05/16 13:39:49, 0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 6 in pid 29175 (4.0.1)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2014/05/16 13:39:49, 0] ../lib/util/fault.c:75(fault_report)
  ===
[2014/05/16 13:39:49, 0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error

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

Re: [SOGo] samba crash and outlook

2014-05-16 Thread Julien Kerihuel
Hi Fabio,

Can you give me some additional info on your environment? What are the
samba, openchange and sogo versions you are using?
Are you running SOGo master or the one with pending patches from Zentyal?

In the meanwhile, I'll try to get someone from QA to try to reproduce
the issue.

Cheers,
Julien.

On 16/05/14 16:03, Fabio Onorini wrote:
 When delete mail from external client (non outlook) like webmail, and
 resync mail folder on Outlook, samba crash.

 Steps To Reproduce
 - Create outlook profile
 - send and receive mail
 - delete mail from webmail
 - resync mail folder on outlook

 Samba log:

 [2014/05/16 13:39:49, 0] libmapi/idset.c:1180(RAWIDSET_push_guid_glob)
   attempting to push a null globcnt
 [2014/05/16 13:39:49, 0] ../lib/util/fault.c:72(fault_report)
   ===
 [2014/05/16 13:39:49, 0] ../lib/util/fault.c:73(fault_report)
   INTERNAL ERROR: Signal 6 in pid 29175 (4.0.1)
   Please read the Trouble-Shooting section of the Samba HOWTO
 [2014/05/16 13:39:49, 0] ../lib/util/fault.c:75(fault_report)
   ===
 [2014/05/16 13:39:49, 0] ../lib/util/fault.c:144(smb_panic_default)
   PANIC: internal error

 -- 
 ---
 Fabio Onorini

-- 
Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

Twitter: http://twitter.com/jkerihuel

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




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] samba crash and outlook

2014-05-16 Thread Fabio Onorini
My enviroment:
Ubuntu 12.04
Postfix
Dovecot
Samba 4.0.1+dfsg1-1
SOGo 2.2.3.20140516-1


No zentyal patches... I used sogo ubuntu repository packages.


2014-05-16 16:27 GMT+02:00 Julien Kerihuel j.kerih...@openchange.org:

 Hi Fabio,

 Can you give me some additional info on your environment? What are the
 samba, openchange and sogo versions you are using?
 Are you running SOGo master or the one with pending patches from Zentyal?

 In the meanwhile, I'll try to get someone from QA to try to reproduce
 the issue.

 Cheers,
 Julien.

 On 16/05/14 16:03, Fabio Onorini wrote:
  When delete mail from external client (non outlook) like webmail, and
  resync mail folder on Outlook, samba crash.
 
  Steps To Reproduce
  - Create outlook profile
  - send and receive mail
  - delete mail from webmail
  - resync mail folder on outlook
 
  Samba log:
 
  [2014/05/16 13:39:49, 0] libmapi/idset.c:1180(RAWIDSET_push_guid_glob)
attempting to push a null globcnt
  [2014/05/16 13:39:49, 0] ../lib/util/fault.c:72(fault_report)
===
  [2014/05/16 13:39:49, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 6 in pid 29175 (4.0.1)
Please read the Trouble-Shooting section of the Samba HOWTO
  [2014/05/16 13:39:49, 0] ../lib/util/fault.c:75(fault_report)
===
  [2014/05/16 13:39:49, 0] ../lib/util/fault.c:144(smb_panic_default)
PANIC: internal error
 
  --
  ---
  Fabio Onorini

 --
 Julien Kerihuel
 j.kerih...@openchange.org
 OpenChange Project Founder

 Twitter: http://twitter.com/jkerihuel

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





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

[SOGo] samba crash after folder sync

2014-04-24 Thread Fabio Onorini
My samba4 crash after mail folder sync with outlook.

Folder contains about 300 messages and after all imap fetch commands

...
S[0x385c170]: * 326 FETCH (UID 21455 MODSEQ (24904))
S[0x385c170]: * 327 FETCH (UID 21456 MODSEQ (24904))
S[0x385c170]: * 328 FETCH (UID 21457 MODSEQ (24907))
S[0x385c170]: * 329 FETCH (UID 21458 MODSEQ (24907))
S[0x385c170]: * 330 FETCH (UID 21459 MODSEQ (24913))
S[0x385c170]: * 331 FETCH (UID 21460 MODSEQ (24913))
S[0x385c170]: * 332 FETCH (UID 21461 MODSEQ (24913))
S[0x385c170]: * 333 FETCH (UID 21462 MODSEQ (24913))
S[0x385c170]: * 334 FETCH (UID 21463 MODSEQ (24913))



In log file found:

[2014/04/24 12:16:34,  0] libmapi/idset.c:1180(RAWIDSET_push_guid_glob)
  attempting to push a null globcnt
[2014/04/24 12:16:34,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2014/04/24 12:16:34,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 6 in pid 22649 (4.0.1)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2014/04/24 12:16:34,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2014/04/24 12:16:34,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error


And outlook disconnect.
Samba restart needed to reconnect client.

-- 

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

[SOGo] Samba crash

2014-02-10 Thread Marcin Kukiełka
Hi
When Outlook try to sync folders of my email account on server side
Samba crashes and 135 tcp/ip port is closed. Any other Samba ports are
ok (DNS, LDAP,...). I read somewhere that this problem relates to
Outlook in a different version than the English. How resolv that
problem?

/usr/sbin/samba: Uncaught exception NSInvalidArgumentException, reason:
Tried to add nil key to dictionary
[2014/02/10 11:03:52,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2014/02/10 11:03:52,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 6 in pid 9158 (4.0.1-4.centos6.1)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2014/02/10 11:03:52,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2014/02/10 11:03:52,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error

--
Marcin Kukiełka





Support OnLine Sp. z o.o., ul. Poleczki 23, 02-822 Warszawa, NIP: 
951-20-32-692, Regon: 017431965, KRS: 078497,
XIII Wydział Gospodarczy Krajowego Rejestru Sądowego w Warszawie, Kapitał 
zakładowy: 50 000 PLN - opłacony w pełnej wysokości.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] samba crash

2013-04-08 Thread Jean Raby

On 13-04-07 2:22 PM, Gerhard W. Recher (privat) wrote:

Hi List

Hi,

i have no Idea why

happens on first sync of a outlook 2010 client... aprox 1hour of
sync...and this client is rendered useless...



One thing that could help is adding the 'panic action' to the samba 
configuration in order to get a gdb backtrace if samba panics.


To do so, fetch the gdb_backtrace script from the samba git repo and make sure 
it is executable:


  curl 
'http://git.samba.org/?p=samba.git;a=blob_plain;f=selftest/gdb_backtrace;hb=HEAD' /usr/local/bin/gdb_backtrace

  chmod +x /usr/local/bin/gdb_backtrace

Then add the following line to the [global] section of smb.conf:

  panic action = /usr/local/bin/gdb_backtrace %d

This will log a backtrace in the samba log whenever it crashes.

Also, make sure to install the following packages in order to get a meaningful 
trace:

 openchangeserver-dbg sogo-dbg sope4.9-dbg

Hopefully we'll be able to catch the bug with this.



--Gerhard



[2013/04/07 20:24:46, 0] ../lib/util/util.c:457(dump_data)
[] 00 00 04 00 0D 00 0D 00 09 00 4E 00 00 BE BA C0  ..N.
[0010] 7B 0E 00 00 00 {
[2013/04/07 20:24:46, 0]
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:682(EcDoRpc_process_transaction)
MAPI Rop: 0x4e (0)
Apr 07 20:24:46 samba [27888]: 0x0x176a1f0[NGLdapConnection] Using
ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
2013-04-07 20:24:46.453 samba[27888] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter
for attrs
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:72(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 27888 (4.0.1)
Please read the Trouble-Shooting section of the Samba HOWTO
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:75(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:144(smb_panic_default)
PANIC: internal error


dpkg --list openc*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii openchange-ocsmanager 1:2.0.r3665-1~inverse1. Working instance of
python-ocsmanager
ii openchange-rpcproxy 1:2.0.r3665-1~inverse1. A RPC-over-HTTP
implementation for Samba, using wsgi
ii openchangeproxy 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) proxy
ii openchangeserver 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) server
root@sogo:/var/lib/samba/private/mapistore/martina# dpkg --list samba4*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii samba4 4.0.1+dfsg1-1 SMB/CIFS file, NT domain and active directory
server (version
un samba4-clients keine (keine Beschreibung vorhanden)
un samba4-common keine (keine Beschreibung vorhanden)
ii samba4-common-bin 4.0.1+dfsg1-1 Samba 4 common files used by both the
server and the client
root@sogo:/var/lib/samba/private/mapistore/martina#




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


[SOGo] samba crash

2013-04-07 Thread Gerhard W. Recher (privat)
Hi List
i have no Idea why

happens on first sync of a outlook 2010 client... aprox 1hour of
sync...and this client is rendered useless...

--Gerhard



[2013/04/07 20:24:46, 0] ../lib/util/util.c:457(dump_data)
[] 00 00 04 00 0D 00 0D 00 09 00 4E 00 00 BE BA C0  ..N.
[0010] 7B 0E 00 00 00 {
[2013/04/07 20:24:46, 0]
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:682(EcDoRpc_process_transaction)
MAPI Rop: 0x4e (0)
Apr 07 20:24:46 samba [27888]: 0x0x176a1f0[NGLdapConnection] Using
ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
2013-04-07 20:24:46.453 samba[27888] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter
for attrs
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:72(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 27888 (4.0.1)
Please read the Trouble-Shooting section of the Samba HOWTO
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:75(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:144(smb_panic_default)
PANIC: internal error


dpkg --list openc*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii openchange-ocsmanager 1:2.0.r3665-1~inverse1. Working instance of
python-ocsmanager
ii openchange-rpcproxy 1:2.0.r3665-1~inverse1. A RPC-over-HTTP
implementation for Samba, using wsgi
ii openchangeproxy 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) proxy
ii openchangeserver 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) server
root@sogo:/var/lib/samba/private/mapistore/martina# dpkg --list samba4*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii samba4 4.0.1+dfsg1-1 SMB/CIFS file, NT domain and active directory
server (version
un samba4-clients keine (keine Beschreibung vorhanden)
un samba4-common keine (keine Beschreibung vorhanden)
ii samba4-common-bin 4.0.1+dfsg1-1 Samba 4 common files used by both the
server and the client
root@sogo:/var/lib/samba/private/mapistore/martina#

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

[SOGo] Samba crash after remove email to deleted items

2012-10-26 Thread systeembeh...@z-netwerken.nl

Hello,

We have a working Sogo environment with the samba and opechange packages 
installed. After struggling some weeks of finetuning all configuration 
almost everything seems to work quite well except one thing:


When we delete an email in outlook 2010 he will move it to the folder 
'Deleted Items'. When he moves this at the same moment Samba crashes 
with the following error:


[2012/10/26 16:06:21,  0] 
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:682(EcDoRpc_process_transaction)

  MAPI Rop: 0x78 (36)
[2012/10/26 16:06:21,  0] 
mapiproxy/servers/default/emsmdb/emsmdbp_object.c:451(emsmdbp_object_open_folder)

  emsmdbp_object_open_folder: opening openchangedb folder
[2012/10/26 16:06:21,  0] 
mapiproxy/servers/default/emsmdb/emsmdbp_object.c:407(emsmdbp_object_open_folder)

  emsmdbp_object_open_folder: opening base mapistore folder
[2012/10/26 16:06:21,  0] 
mapiproxy/libmapistore/mapistore_backend.c:341(mapistore_backend_create_context)

  namespace is sogo:// and backend_uri is 'demo5:demo5@mail/folderINBOX/'
[2012/10/26 16:06:21,  0] MAPIStoreSOGo.m:153(sogo_backend_create_context)
  [SOGo: sogo_backend_create_context:153]
2012-10-26 16:06:21.815 samba[1271] METHOD '+[MAPIStoreContext 
openContext:withURI:connectionInfo:andTDBIndexing:]' (227) -- uri: 
'demo5:demo5@mail/folderINBOX/'
Oct 26 16:06:21 samba [1271]: 
MAPIStoreDBFolder:0x41da390:0x43000101 METHOD 
'-[MAPIStoreFolder createMessage:withMID:isAssociated:]' -- mid: 
0x64180101  associated: 0
Oct 26 16:06:21 samba [1271]: 
MAPIStoreDBMessage:0x3154a10:4F7-508A9900-1D-567D8000.plist METHOD 
'-[MAPIStoreMessage modifyRecipientsWithRecipients:andCount:andColumns:]'

[2012/10/26 16:06:21,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2012/10/26 16:06:21,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 11 in pid 1271 (4.0.0beta5)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2012/10/26 16:06:21,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2012/10/26 16:06:21,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error

Our setup is as follows:
Server 1: Debian squeeze, Sogo 2.0.2, Samba4, Openchange, etc..
Server 2: Debian wheezy, Iredmail, Dovecot 2.1, OpenLDAP, Postfix, etc..

Sogo config fails with the  SOGoTrashFolderName set to Deleted Items. 
When we delete a mail in the Sogo webmail it is stored in the trash 
folder with success.


When creating the outlook exchange account it created automatically the 
folders drafts, sent and deleted items. The folders sent and drafts are 
working properly. One big difference is that the name of the folder 
deleted items is different than the default sogo uses (Trash).


Anybody know how to fix this problem?

Kind regards,

Merijn

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