Bug#702116: exim4-daemon-heavy: LDAP for SMTP auth not working
Paul Muster
paul at muster.dyndns.info
Wed Mar 6 18:47:47 UTC 2013
Hello, Andreas,
thanks for your reply.
On 06.03.2013 19:33, Andreas Metzler wrote:
> your version is a mixture of LOGIN and PLAIN, it identifies itself as
> as PLAIN and uses auth2/auth3 but specifies nonempty server_prompts.
Maybe that's an _additional_ error...
> I think something like these would work:
>
> plain_server_ldap:
> driver = plaintext
> public_name = PLAIN
> server_prompts = :
> server_condition = ${if and{{ \
> !eq{}{$auth2} }{ \
> ldapauth{\
> user="uid=${quote_ldap_dn:$auth2},ou=Users,dc=BASE" \
> pass=${quote:$auth3} \
> ldap://ldap/} }} }
> server_set_id = $auth2
>
> login_server_ldap:
> driver = plaintext
> public_name = LOGIN
> server_prompts = Username:: : Password::
> server_condition = ${if and{{ \
> !eq{}{$auth1} }{ \
> ldapauth{\
> user="uid=${quote_ldap_dn:$auth1},ou=Users,dc=BASE" \
> pass=${quote:$auth2} \
> ldap://ldap/} }} }
> server_set_id = $auth1
... but not the final solution. Also with your authenticators (replacing
mine) it does not work. Exim's log message is the same as before (yes, I
restarted Exim) and the LDAP server still doesn't show any connection
from mail server.
Greetings,
Paul
More information about the Pkg-exim4-maintainers
mailing list