Re: Postfix, SASL and LDAPDB: no worthy mech found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 20 May 2010 16:59:14 +0200, "Dieter Kluenter"
<dieter@xxxxxxxxxxxx> wrote:
> Julien Vehent <julien@xxxxxxxxxxxxxx> writes:
> 
>> ----
>> pwcheck_method: auxprop
>> auxprop_plugin: ldapdb
>> mech_list: DIGEST-MD5 PLAIN LOGIN
>> ldapdb_uri: ldap://localhost
>> ldapdb_id: postfix
> ^^^^^^^^^^^^^^^^^^^^^
> 
> this has to be a DN.

It doesn't change anything... :(

----
root@samchiel:/etc/postfix/sasl# cat smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: ldapdb
mech_list: DIGEST-MD5 PLAIN LOGIN
ldapdb_uri: ldap://localhost
ldapdb_id: "cn=Postfix
Administrator,ou=infrastructure,dc=linuxwall,dc=info"
ldapdb_pw: xxxXXXXxxx
ldapdb_mech: DIGEST-MD5
----

----
# nc localhost 25
220 samchiel.linuxwall.info ESMTP Postfix (Debian/GNU)
ehlo mail
250-samchiel.linuxwall.info
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN DIGEST-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth plain xxxXXXXxxxx
535 5.7.8 Error: authentication failed: authentication failure
quit
221 2.0.0 Bye
----

The logs are the same:

----
# tail /var/log/mail.info /var/log/auth.log    
                                              
==> /var/log/mail.info <==                                                
                                                      
May 20 17:14:39 samchiel postfix/smtpd[743]: < localhost[127.0.0.1]: auth
plain xxxXXXXxxxx
May 20 17:14:39 samchiel postfix/smtpd[743]: xsasl_cyrus_server_first:
sasl_method plain, init_response xxxXXXXxxxx
May 20 17:14:39 samchiel postfix/smtpd[743]: xsasl_cyrus_server_first:
decoded initial response
May 20 17:14:39 samchiel postfix/smtpd[743]: warning: SASL authentication
failure: Password verification failed
May 20 17:14:39 samchiel postfix/smtpd[743]: warning:
localhost[127.0.0.1]: SASL plain authentication failed: authentication
failure
May 20 17:14:39 samchiel postfix/smtpd[743]: > localhost[127.0.0.1]: 535
5.7.8 Error: authentication failed: authentication failure
May 20 17:14:39 samchiel postfix/smtpd[743]: watchdog_pat: 0xb81d8250
May 20 17:14:41 samchiel postfix/smtpd[743]: < localhost[127.0.0.1]: quit
May 20 17:14:41 samchiel postfix/smtpd[743]: > localhost[127.0.0.1]: 221
2.0.0 Bye
May 20 17:14:41 samchiel postfix/smtpd[743]: match_hostname: localhost ~?
127.0.0.0/8
May 20 17:14:41 samchiel postfix/smtpd[743]: match_hostaddr: 127.0.0.1 ~?
127.0.0.0/8
May 20 17:14:41 samchiel postfix/smtpd[743]: disconnect from
localhost[127.0.0.1]

 
==> /var/log/auth.log <==
May 20 17:14:39 samchiel postfix/smtpd[743]: No worthy mechs found
----



Julien

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux