On Fri, Mar 26, 2010 at 10:31:50AM -0700, Quanah Gibson-Mount wrote:

> --On Friday, March 26, 2010 6:28 PM +0100 Matias Surdi 
> <matiassu...@gmail.com> wrote:
>
>
>> Additionaly, on the postfix log I can see:
>>
>> Mar 26 15:44:17 calipso postfix/smtpd[27237]: warning:
>> dict_ldap_lookup: Search error 34: Invalid DN syntax
>
> Looks like dict_ldap_lookup is failing to properly encode the data before 
> querying LDAP.

No idle speculation please. Postfix encodes the LDAP query with particular
care, but Postfix is only responsible for encoding the variable parts
of the query and search base that it inserts via "%s", "%d", "%u",
... The fixed parts of the query and search base must be configured
correctly by the administrator. This also applies to any DNs found
in special_result_attribute values.

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to