Re: [Exim] SMTP AUTH and LDAP bind

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Brian Candler
CC: exim-users
Assunto: Re: [Exim] SMTP AUTH and LDAP bind
On Wed, 7 Mar 2001, Brian Candler wrote:

> The problem is that if you present a good username but an invalid password
> for that username, you get a huge 4xx error message:
>
> auth plain AGJyaWFuAGJhZHBhc3N3b3Jk
> 435 Unable to authenticate at present: lookup of "user="uid=brian,dc=example,dc=com" pass=badpassword ldap:///dc=example,dc=com??sub?(uid=brian)" gave DEFER: failed to bind the LDAP connection to server 192.0.2.1:0 - LDAP error 49: Invalid credentials
>
> It is of course correct, but what I would like to do in this case is have a
> failed bind be treated just like a failed LDAP lookup, so I can get the same
> 535 response.
>
> Is there a way of doing this? If not, please consider this a feature request
> :-)


Noted. For Exim 4 I've already decided that some SMTP messages are
giving out too much internal information, and I've curtailed them. I'll
doublecheck that this applies to the authentication messages as well.

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