Re: [Exim] Ldap problems

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Nico Erfurth
CC: exim-users
Tárgy: Re: [Exim] Ldap problems
On Wed, 17 Jul 2002, Nico Erfurth wrote:

> FILTERFILE=${lookup\
> ldap{ldap:///uid=${quote_ldap:$local_part}, ou=users,domain=\
> ${quote_ldap:$domain},o=host?filterfile?sub?\
> (mailacceptinggeneralid=${quote_ldap:$local_part}@\
> ${quote_ldap:$domain})}}
>
> when i use this macro in a router like this one


...

>    require_files = FILTERFILE


...

> exim brings a error-message like this
> LOG: MAIN
>    == duke@??? R=ldap_forward defer (-1): failed to expand "${lookup
> ldap {ldap" for require_files: missing } at end of string



require_files is a LIST. Either double the colons in your query, or
use something like

require_files = <; FILTERFILE

(This will be in the revised FAQ that should be out next week, with
4.10).



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.