The following issue has been SUBMITTED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=612
======================================================================
Reported By: vugluskr
Assigned To:
======================================================================
Project: DBMail
Issue ID: 612
Category: Authentication layer
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 17-Jun-07 15:51 CEST
Last Modified: 17-Jun-07 15:51 CEST
======================================================================
Summary: pop/imap/lmtp servers die when user logining and
LDAP connection is lost
Description:
When the dbmail servers detect that ldap connection is lost, they try to
reconnect to LDAP server but reconnect code looks broken.
Try to explain...
modules/authldap.c:260
static int auth_reconnect(void)
{
auth_disconnect();
return auth_connect();
}
When it call auth_disconnect then called not auth_disconnect defined at
modules/authldap.c:218 but auth_disconnect defined at authmodule.c:121.
The same thing happend and with auth_connect
I think this is incorrect behavior, becouse authmodule.c:auth_disconnect
and authmodule.c:auth_connect reload authldap plugin. Taht, in turn, could
lead to uncertain results.
And one more problem I have with LDAP connection - sometimes daemon catch
SIGPIPE in ldap funcions. It always happend in ldap_unbind and sometimes
in ldap_search_s when LDAP connect is lost.
I try to fix both issues, but I don't think that I found best solutions.
LDAP server is Microsoft windows 2003(PDC)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
17-Jun-07 15:51 vugluskr New Issue
17-Jun-07 15:51 vugluskr File Added: dbmail-2.2.5-fixldap.patch
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev