<div dir="ltr">Thank you all. I found the problem. The problem was a permission error of Maildir. I grant permission to write that folder. Problem solved. :)<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="times new roman, serif"><br></font></div><div dir="ltr"><font face="times new roman, serif">Best regards,</font><div><font face="times new roman, serif">Anushka Bandara</font></div><div><font face="times new roman, serif">Research Engineer,</font></div><div><font face="times new roman, serif">Lanka Software Foundation</font></div><div><font face="times new roman, serif">+94715846018</font></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 11, 2018 at 2:42 PM, Steffen Kaiser <span dir="ltr"><<a href="mailto:skdovecot@inf.h-brs.de" target="_blank">skdovecot@inf.h-brs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On Tue, 10 Jul 2018, Anushka Bandara wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Error: User initialization failed: Namespace '':<span class=""><br>
mkdir(/home/users/"user"/Deskt<wbr>op/Maildir) failed: Permission denied<br>
(euid=1000(myuser) egid=5000(<unknown>) missing +w perm: /home, we're not<br></span>
in group 100(users), dir owned by 0:100 mode=0775)*<br>
</blockquote>
<br>
Well, what is >>"user"<<, >>myuser<< and "<unknown>".<br>
Which information did you modified? Where is the correct data?<br>
Which permissions does /home/users/"user"/Desktop usually have? Is the uid/gid of /home/users/"user"/Desktop correspond to euid=1000 and egid=5000 ?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How should I give the permission to overcome this error. This is a dovecot<br>
error. LDAP authentication is successful.<br>
And also, I don't know the default user whom is creating mail directories<br>
for mail users.<br>
I think the problem will be solved if I grant user the permission. But I<br>
don't know how to grant.<br>
</blockquote>
<br></span>
Maybe, maybe not.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Tue, Jul 10, 2018 at 2:54 PM, Aki Tuomi <<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Turn on auth_verbose=yes and auth_debug=yes and post logs.<br>
<br>
<br>
<br>
---<br>
Aki Tuomi<br>
Dovecot oy<br>
<br>
-------- Original message --------<br>
From: Anushka Bandara <<a href="mailto:anushkab@opensource.lk" target="_blank">anushkab@opensource.lk</a>><br>
Date: 10/07/2018 08:53 (GMT+02:00)<br>
To: <a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a><br>
Subject: Authentication failure with OpenLDAP<br>
<br>
Hi all,<br>
<br>
<br></span>
*Dovecot version: 2.2.22 (fe789d2)*<br>
<br>
*Ubuntu version: 16.04*<br>
*OpenLDAP version: openldap-2.4.42+dfsg*<br>
<br>
Configurations<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
*# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf# Pigeonhole version 0.4.13<br>
(7b14904)# OS: Linux 4.10.0-28-generic x86_64 Ubuntu 16.04.3 LTS<span class=""><br>
disable_plaintext_auth = nolisten = *log_path =<br></span>
/var/log/dovecot.logmail_locat<wbr>ion = maildir:~/Maildirnamespace inbox {<span class=""><br>
inbox = yes  location =   mailbox Drafts {    special_use = \Drafts  }<br>
mailbox Junk {    special_use = \Junk  }  mailbox Sent {    special_use =<br>
\Sent  }  mailbox "Sent Messages" {    special_use = \Sent  }  mailbox<br>
Trash {    special_use = \Trash  }  prefix = }passdb {  args =<br>
/etc/dovecot/dovecot-ldap.conf<wbr>.ext  driver = ldap}protocols = pop3<br></span>
imapservice auth {  unix_listener /var/spool/postfix/private/aut<wbr>h {    mode<br>
= 0666  }}ssl = nouserdb {  args = /etc/dovecot/dovecot-ldap.conf<wbr>.ext<br>
driver = ldap}*<br>
I am having "*Authentication failed" *problem with dovecot-ldap. Before<span class=""><br>
it, I had binding error and I fixed it. Now I am having authentication<br>
problem when I am trying to log dovecot (usign telnet localhost 110) using<br>
a user which is created in ldap server. I can provide any configuration<br>
file and I did this configurations according to this "<br>
<a href="https://help.ubuntu.com/community/DovecotLDAP" rel="noreferrer" target="_blank">https://help.ubuntu.com/commun<wbr>ity/DovecotLDAP</a>".<br>
Now I am having an authentication error.<br>
<br>
Thank you<br>
<br>
<br>
</span></blockquote>
<br>
</blockquote>
<br>
- -- Steffen Kaiser<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
<br>
iQEVAwUBW0XKBsQnQQNheMxiAQIa/w<wbr>f+NaN70/blWGeyOWyqiEwLap/OY1V6<wbr>9QyU<br>
RzKmz6ui+xCo/ULn5JUdH60t5Ye+sU<wbr>PQg5TfVCSANR1Tl7in8rv0ZFmMglUq<wbr>uNUW<br>
gVXR9McSePdZYp/1ZO2Z8Rkz4YM0Ou<wbr>9jDzolruWI1Qlcoz/<wbr>QJNFheWP4LzlxFbzb<br>
su2uTUJwUAD8yj0yU2UNuOdoeoexn/<wbr>YI8tlAzJtaIIKf2Zr1Hq7+EdsDKLC8<wbr>U2xL<br>
EA6/lGknCM+K2fAnPdU14T2jjSeCyK<wbr>U5ciUwQ3RlO6Vcm8U127+<wbr>CTk4WbSdyNdgB<br>
2f56zT3yXrH4lYAMtRsHTDjRWRRMg0<wbr>y5G9OfsFlislIyjlaHv4N8Dg==<br>
=v6my<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>