Page 1 of 1

OpenLdap authentication - IMAP sever crash

Posted: Fri Jan 11, 2008 7:30 am
by stephan.klein
Hi,

I managed to get authentication against openldap to work, syncing the openldap users to scalix works too.

Thanks to the authors of the the howto documents in the wiki!

But as soon as I modifiy ual.remote, the imap server crashes regulary every time I log on to swa or open a users mailbox via thunderbird (and during the usage of the clients too):

Code: Select all

SERIOUS ERROR           IMAP Server Da(IMAP Server Pr) Fri Jan 11 11:51:33 2008
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 9366
Procedure trace follows:
  -> aud_StartTransaction
  <- aud_StartTransaction
  -> aud_LogCurrentTime
  -> aud_LogTime
  <- aud_LogTime
  <- aud_LogCurrentTime
  -> nm_ParseORN
  <- nm_ParseORN
  -> aud_LogStr
  <- aud_LogStr
  -> aud_LogInt
  <- aud_LogInt
  -> aud_LogInt
  <- aud_LogInt
  -> aud_EndTransaction
  <- aud_EndTransaction
User Name: Stephan A. Klein / GIGAtec/CN=Stephan A. Klein
Pid of logging process: 9366


SERIOUS ERROR           IMAP Server Da(IMAP Server Pr) Fri Jan 11 11:51:33 2008
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7e301a6]
/opt/scalix/lib/libom_er.so[0xb7e304ba]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7e30647]
[0xffffe420]
/usr/lib/libldap_r.so.2(ldap_pvt_thread_mutex_destroy+0x1d)[0xb6ddc58d]
/usr/lib/libldap_r.so.2(ldap_pvt_sasl_mutex_dispose+0x26)[0xb6de26d6]
/usr/lib/libsasl2.so.2[0xb7ca8479]
/usr/lib/libsasl2.so.2(sasl_done+0x28)[0xb7ca2c88]
in.imap41d[0x8065ff6]
in.imap41d[0x8064336]
in.imap41d[0x8063dd2]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7a44450]
in.imap41d[0x804e561]
User Name: Stephan A. Klein / GIGAtec/CN=Stephan A. Klein
Pid of logging process: 9366


I can't figure out the reason why this happens, sxpamauth (and the unix authentication against openldap) works well. The problem seems only to affect the imap server, the outlook interface has no problems.

Any help is welcome!

Regards
Stephan

Posted: Thu Jan 31, 2008 11:34 am
by stephan.klein
To add some information here:

I started to enable the trace on the imap process and tried to simulate an imap session using telnet.

I figured out, that only the satellite process dies. This happens every time II terminate the session by sending a 'logout' command.

But why does the satellite process die if imap authenticates against OpenLdap every time I logout?

Strange things...

Stephan