Re: Authentication failure with OpenLDAP
Hi all,
Thank you all for the help. The was with the ldap user attributes. I corrected it. Now I am having an error with dovecot. User can log into ldap but, system doesn't allow user to create user's directory in Maildir. Error is below,
- Error: User initialization failed: Namespace '': mkdir(/home/users/"user"/Desktop/Maildir) failed: Permission denied (euid=1000(myuser) egid=5000(<unknown>) missing +w perm: /home, we're not in group 100(users), dir owned by 0:100 mode=0775)* How should I give the permission to overcome this error. This is a dovecot error. LDAP authentication is successful. And also, I don't know the default user whom is creating mail directories for mail users. I think the problem will be solved if I grant user the permission. But I don't know how to grant.
Best regards, Anushka Bandara Research Engineer, Lanka Software Foundation +94715846018
On Tue, Jul 10, 2018 at 2:54 PM, Aki Tuomi <aki.tuomi@dovecot.fi> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 10 Jul 2018, Anushka Bandara wrote:
Well, what is >>"user"<<, >>myuser<< and "<unknown>". Which information did you modified? Where is the correct data? 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 ?
Maybe, maybe not.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBW0XKBsQnQQNheMxiAQIa/wf+NaN70/blWGeyOWyqiEwLap/OY1V69QyU RzKmz6ui+xCo/ULn5JUdH60t5Ye+sUPQg5TfVCSANR1Tl7in8rv0ZFmMglUquNUW gVXR9McSePdZYp/1ZO2Z8Rkz4YM0Ou9jDzolruWI1Qlcoz/QJNFheWP4LzlxFbzb su2uTUJwUAD8yj0yU2UNuOdoeoexn/YI8tlAzJtaIIKf2Zr1Hq7+EdsDKLC8U2xL EA6/lGknCM+K2fAnPdU14T2jjSeCyKU5ciUwQ3RlO6Vcm8U127+CTk4WbSdyNdgB 2f56zT3yXrH4lYAMtRsHTDjRWRRMg0y5G9OfsFlislIyjlaHv4N8Dg== =v6my -----END PGP SIGNATURE-----
Thank you all. I found the problem. The problem was a permission error of Maildir. I grant permission to write that folder. Problem solved. :)
Best regards, Anushka Bandara Research Engineer, Lanka Software Foundation +94715846018
On Wed, Jul 11, 2018 at 2:42 PM, Steffen Kaiser <skdovecot@inf.h-brs.de> wrote:
participants (2)
-
Anushka Bandara
-
Steffen Kaiser