Re: [exim] ldap "OR" filter woes

Top Page
Delete this message
Reply to this message
Author: Tom Kinghorn
Date:  
To: Jan-Piet Mens
CC: exim-users
Subject: Re: [exim] ldap "OR" filter woes
On 06/10/2011 12:49, Jan-Piet Mens wrote:
>
> That looks ok at first glance. Have you checked your LDAP directory
> server logs to see what is being searched for?
>
> Be that as it may, I suggest you quote the values you're passing to the
> LDAP search. Here's an example taken from a running configuration.
>
>          (|(mail=${quote_ldap:$local_part@$domain})(alias=${quote_ldap:$local_part}))

>
> Hope that helps,
>
>          -JP


many thanks for the prompt response.

I tried the "quote_ldap aswell, to no avail.

a debug shows

/after ldap_url_parse: host=10.113.134.13 port=389
ldap_initialize with URL ldap://10.113.134.13:389/
initialized for LDAP (v3) server 10.113.134.13:389
LDAP_OPT_X_TLS_TRY set
binding with user=cn=XXXX,ou=XXXX,o=XXXXXXXX password=XXXXX
Start search/

It just hangs there.


Thanks
Tom