Turn on auth_verbose=yes and auth_debug=yes and post logs.
-------- Original message --------
From: Anushka Bandara <anushkab@opensource.lk>
Date: 10/07/2018 08:53 (GMT+02:00)
To: dovecot@dovecot.org
Subject: Authentication failure with OpenLDAP
Hi all,
Dovecot version: 2.2.22 (fe789d2)
Ubuntu version: 16.04
OpenLDAP version: openldap-2.4.42+dfsgConfigurations
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 4.10.0-28-generic x86_64 Ubuntu 16.04.3 LTS
disable_plaintext_auth = no
listen = *
log_path = /var/log/dovecot.log
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
protocols = pop3 imap
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
}
ssl = no
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
I am having "
Authentication failed" problem with dovecot-ldap. Before it, I had binding error and I fixed it. Now I am having authentication problem when I am trying to log dovecot (usign telnet localhost 110) using a user which is created in ldap server. I can provide any configuration file and I did this configurations according to this "
https://help.ubuntu.com/community/DovecotLDAP".
Now I am having an authentication error.
Thank you