Re: [exim] PLAIN authenticator failed... malformed parameter…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] PLAIN authenticator failed... malformed parameter setting precedes LDAP URL
On 27/04/2021 16:49, DIARRA Douba Samuel via Exim-users wrote:
> This is the message when i Try to test my SMTP authentication trought LDAP :
> PLAIN authenticator failed for .. (.....com) [192.168.10.2]: 435 Unable to
> authenticate at present (set_id=c2RpYXJyYQ==): malformed parameter setting
> precedes LDAP URL.


> LOGIN:
>
>    driver = plaintext

>
>    public_name = LOGIN

>
>    server_prompts = Username:: : Password::

>
> server_condition = ${if ldapauth {user="uid=${quote_ldap_dn:$1},LDAP_USERS"
> pass=${quote:$2} ldap:///}{yes}{no}}


I'd be looking carefully at the choice of quoting methods.

Testing using "exim -d-all+expand+lookup" would be my second step.
--
Cheers,
Jeremy