[Exim] exim 4.30 ldap lookup problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Paul Christie
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] exim 4.30 ldap lookup problem
I have upgraded exim from 3 to 4.30 on a Solaris 8 test machine. I have the
following in the Local/Makefile

LOOKUP_LDAP=yes
LDAP_LIB_TYPE=SOLARIS
LOOKUP_INCLUDE=-I/usr/local/include
LOOKUP_LIBS=-L/usr/lib -lldap

I am having trouble getting an ldap lookup to work.

configure includes the following line and router.

ldap_default_servers = ldap.bath.ac.uk::389

course_lists:
#!!# forbid_filter_run added because forbid_pipe is set
  driver = redirect
  no_check_local_user
  domains = courses.anaheim.bath.ac.uk
  file = /opt/lists/${uc:$local_part}
  forbid_file
  forbid_filter_run
  forbid_pipe
  no_more
  retry_use_local_part
  senders = ${lookup ldap\
            {ldap:///o=bath.ac.uk?mail?sub?\
            (uid=ccsphc) }}


This is just a test LDAP URL the real one is more complex. If this typed
into a brouser the mail address "P.Christie@???" is returned.

However the last part output from

exim -v -d -f ccsphc@??? -bt testlist@??? is
shoen below

This looks ok until the last two lines when a "Bus Error" occurs. Does
anyone know what might be going on here?


checking senders
search_open: ldap "NULL"
search_find: file="NULL"
key="ldap:///o=bath.ac.uk?mail?sub?(uid=ccsphc) " partial=-1 affix=NULL
starflags=0
LRU list:
internal_search_find: file="NULL"
type=ldap key="ldap:///o=bath.ac.uk?mail?sub?(uid=ccsphc) "
database lookup required for ldap:///o=bath.ac.uk?mail?sub?(uid=ccsphc)
LDAP parameters: user=NULL pass=NULL size=0 time=0 connect=-1 dereference=0
perform_ldap_search: ldap URL ="ldap:///o=bath.ac.uk?mail?sub?(uid=ccsphc)
" server=ldap.bath.ac.uk port=389 sizelimit=0 timelimit=0 tcplimit=-1
after ldap_url_parse: host=o=bath.ac.uk port=754280
Bus Error

Paul Christie
Bath University Computing Services