Crazedfred
2011-09-05 02:30:49 UTC
Hello,
I'm having trouble with authentication on Debian 6.
I've set up Postfix to use Cryus-SASL to authenticate against LDAP.
The SASL configuration is a success:
sudo testsaslauthd -u "***@example.com" -p "notRightPassword"
0: NO "authentication failed"
sudo testsaslauthd -u "***@example.com" -p "testtest123"
0: OK "Success."
However, a telnet attempt does not work:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 ComputerName ESMTP Postfix (Debian/GNU)
auth plain PDAwPnRlc3RAZXhhbXBsZS5jb208MDA+dGVzdHRlc3QxMjM=
535 5.7.8 Error: authentication failed: authentication failure
When I try the above telnet authentication, I get the following errors in my syslog:
postfix/smtpd[31075]: connect from localhost.localdomain[127.0.0.1]
postfix/smtpd[31075]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
postfix/smtpd[31075]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
postfix/smtpd[31075]: warning: SASL authentication failure: Password verification failed
postfix/smtpd[31075]: warning: localhost.localdomain[127.0.0.1]: SASL plain authentication failed: authentication failure
My understanding is that the Berkeley warning is not relevant, since I'm using LDAP.
Please correct me if that is not the case.
I also get this error in my auth log:
postfix/smtpd[31208]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
I've checked that cryus is supported:
sudo postconf -a
cyrus
dovecot
sudo postconf -A
cyrus
Without further log errors, I'm a bit confused.
What can I do to get more information about this error? Where should I look?
I can provide full configuration files if desired.
Thanks for your time!
I'm having trouble with authentication on Debian 6.
I've set up Postfix to use Cryus-SASL to authenticate against LDAP.
The SASL configuration is a success:
sudo testsaslauthd -u "***@example.com" -p "notRightPassword"
0: NO "authentication failed"
sudo testsaslauthd -u "***@example.com" -p "testtest123"
0: OK "Success."
However, a telnet attempt does not work:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 ComputerName ESMTP Postfix (Debian/GNU)
auth plain PDAwPnRlc3RAZXhhbXBsZS5jb208MDA+dGVzdHRlc3QxMjM=
535 5.7.8 Error: authentication failed: authentication failure
When I try the above telnet authentication, I get the following errors in my syslog:
postfix/smtpd[31075]: connect from localhost.localdomain[127.0.0.1]
postfix/smtpd[31075]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
postfix/smtpd[31075]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
postfix/smtpd[31075]: warning: SASL authentication failure: Password verification failed
postfix/smtpd[31075]: warning: localhost.localdomain[127.0.0.1]: SASL plain authentication failed: authentication failure
My understanding is that the Berkeley warning is not relevant, since I'm using LDAP.
Please correct me if that is not the case.
I also get this error in my auth log:
postfix/smtpd[31208]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
I've checked that cryus is supported:
sudo postconf -a
cyrus
dovecot
sudo postconf -A
cyrus
Without further log errors, I'm a bit confused.
What can I do to get more information about this error? Where should I look?
I can provide full configuration files if desired.
Thanks for your time!