[Exim] large ldap queries, and strange errors

Top Page
Delete this message
Reply to this message
Author: Lawrence Walton
Date:  
To: exim
Subject: [Exim] large ldap queries, and strange errors
We are trying to do a ldap/exim solution
and for the most part had success, up till now, we are creating groups
with in ldap, and exim fails with some strange errors.

After the command exim -d9 -qff

The two errors are


<snip>

**** debug string overflowed buffer ****
after parsing a 1/8th of the messages
and it repeats three times.

<snip>

it tries to deliver again and succeeds to a point, and fails with a different error

<snip>

locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:nicov@???
search_open: ldap "NULL"
cached open
search_find: file="NULL"
key="ldap:///uid=nicov,ou=people,ou=business,dc=otak.com,o=top?uid" partial=-1
LRU list:
internal_search_find: file="NULL"
type=ldap key="ldap:///uid=nicov,ou=people,ou=business,dc=otak.com,o=top?uid"
database lookup required for ldap:///uid=nicov,ou=people,ou=business,dc=otak.com,o=top?uid
LDAP parameters: user=NULL pass=NULL size=0 time=0
perform_ldap_search: ldap URL ="ldap:///uid=nicov,ou=people,ou=business,dc=otak.com,o=top?uid" server=127.0.0.1 port=389 sizelimit=0 timelimit
=0
Re-using cached connection to LDAP server 127.0.0.1:389
Start search
search ended by ldap_result yielding -1
ldap_result failed
exim: /home/wichert/ldap/openldap2-2.0.23/libraries/libldap/error.c:221: ldap_parse_result: Assertion `r != ((void *)0)' failed.
LOG: 0 MAIN PANIC
queue run: process 5526 crashed with signal 6 while delivering 16qCT2-0001OR-00
set_process_info: 5524 running queue: waiting for children of 5526

<snip>

The strange thing is, if we run it again it will fail farther down the list.

Does anyone have a idea?

--
*--* Mail: lawrence@???
*--* Voice: 425.739.4247
*--* Fax: 425.827.9577
*--* HTTP://www.otak-k.com/~lawrence/
--------------------------------------
- - - - - - O t a k i n c . - - - - -