I suggest you try adding extra attributes to LDAP replies:
https://wiki.dovecot.org/AuthDatabase/LDAP/Userdb#Attribute_templates_.28v2.1.2B-.29
Primarily, define "mail=" explicitly.
And then compare auth userdb outputs in logs for both LDAP and non-LDAP.
Hope this helps.
18.03.2019 12:25, Anu
A problem with your /etc/dovecot/dovecot-ldap.conf.ext ?
Can you attach it?
Try:
auth_verbose = yes
auth_verbose_passwords = no
auth_debug = yes
auth_debug_passwords = no
and compare those strings in logs for LDAP and non-LDAP logins:
auth: Debug: master userdb out: USER470548
To be honest, I can't really understand your issue. Can you explain what
you did, what you expected to happen and what happened instead? Also
include any relevant log lines.
Aki
On 18.3.2019 7.02, Anushka Bandara via dovecot wrote:
> Here is my doveconf -n
>
> # 2.2.33.2 (d6601f4ec): /etc/dovecot
Here is my doveconf -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.9.125-linuxkit x86_64 Ubuntu 18.04.2 LTS overlay
auth_cache_size = 10 M
auth_mechanisms = plain login
auth_username_format = %n
disable_plaintext_auth = no
imap_idle
Hi Team,
I have enabled LDAP authentication with webmail client and it works
successfully. But I found an error with LDAP user's mail. Email is not
loaded when I log with an LDAP user. Login phase is successful and mail box
is the issue. I created a mail user without including LDAP and that user
w