[exim] ldap_result loop

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kerstin Espey
Dátum:  
Címzett: Exim-users
CC: ke
Tárgy: [exim] ldap_result loop

Hi,

I'm not sure if this is an exim or an ldap problem, but I hope, someone from
this list can help. We run exim 4.50 on debian sarge.

This is my exim router:

smart_route:
         driver = manualroute
         domains = +helinet
         local_parts = ${lookup ldapm {user="uid=cyrus"pass="XXX" \ 
ldap://192.168.111.100:389/dc=helinet,dc=de?alias?one}}
         transport = remote_smtp
         route_list = * webmail.ibbone.helinet.de


But exim -C /etc/exim/exim.conf.ke -bt -d espey@??? gives me the
following output:

Exim version 4.50 uid=0 gid=0 pid=16909 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (April 7, 2002)
Support for: iconv() Content_Scanning
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz ldap ldapdn
ldapm
pgsql
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=16909
auxiliary group list: <none>
configuration file is /etc/exim/exim.conf.ke
log selectors = 00000ffe 00024c00
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=8 euid=0 egid=8
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing espey@???
[test some other router]
--------> test_smart_route router <--------
local_part=espey domain=helinet.de
checking domains
helinet.de in "heli-net.de"? no (end of list)
test_smart_route router skipped: domains mismatch
--------> smart_route router <--------
local_part=espey domain=helinet.de
checking domains
helinet.de in "/etc/exim/helinet"? yes (matched "helinet.de"
in /etc/exim/heline
t)
helinet.de in "+helinet"? yes (matched "+helinet")
checking local_parts
search_open: ldapm "NULL"
search_find: file="NULL"
key="user="uid=cyrus" pass="XXX"
ldap://192.168.111.100:389/dc=helinet,dc=de?alias?one" partial=-1 affix=NULL
starflags=0
LRU list:
internal_search_find: file="NULL"
type=ldapm key="user="uid=cyrus,dc=helinet,dc=de" pass="Vbw10nS"
ldap://192.168.111.100:389/dc=helinet,dc=de?alias?one"
database lookup required for user="uid=cyrus" pass="XXX"
ldap://192.168.111.100:389/dc=helinet,dc=de?alias?one
LDAP parameters: user=uid=cyrus,dc=helinet,dc=de pass=Vbw10nS size=0 time=0
conn
ect=0 dereference=0
perform_ldap_search: ldapm URL =
"ldap://192.168.111.100:389/dc=helinet,dc=de?al
ias?one" server=NULL port=0 sizelimit=0 timelimit=0 tcplimit=0
after ldap_url_parse: host=192.168.111.100 port=389
ldap_initialize with URL ldap://192.168.111.100:389/
initialized for LDAP (v3) server 192.168.111.100:389
LDAP_OPT_X_TLS_TRY set
binding with user=uid=cyrus password=XXX
Start search
ldap_result loop
LDAP entry loop
ldap_result loop
[...]
LDAP entry loop
LDAP attr loop alias:postmaster
[...]
ldap_result loop
LDAP entry loop
[...]
LDAP attr loop alias:Kerstin.Espey
LDAP attr loop alias:ke
[...]
search ended by ldap_result yielding 101
ldap_parse_result: 0
ldap_parse_result yielded 0: Success
LDAP search: returning: postmaster, [...]
[some newlines]
Kerstin.Espey, ke
[more newlines and aliases]
**** debug string too long - truncated ****
lookup yielded: postmaster, [...]
[...]
**** debug string too long - truncated ****
smart_route router skipped: local_parts mismatch
[...]

Can anyone give me a hint, where to look for the loop? There are no log
messages from the ldap-server.
And why do I get comma-separated lists with ldapm if one single user has more
than one alias?

Any help is appreciated.
--
Regards,

Kerstin

PGP-Fingerprint: AB02 7E7B 5B6B 983F 8FF6 8870 3CFC 79FC 0E90 DDC9