[Dovecot] Dovecot & pam_mkhomedir
Pasi Sjoholm
ptsjohol at cc.jyu.fi
Sat Dec 17 19:56:05 EET 2005
On Fri, 16 Dec 2005, Stroller wrote:
> dovecot: Dec 16 19:05:00 Error: imap(ned):
> mkdir(/home/DOMAIN/ned/.maildir/cur) failed: Permission denied
> dovecot: Dec 16 19:05:00 Error: imap(ned):
> mkdir(/home/DOMAIN/ned/.maildir/cur) failed: Permission denied
> I can remedy this easily by changing permissions on /home &
> /home/DOMAIN to 777, but obviously that's undesirable. Any suggestions,
> please?
What you have set for "template homedir", "winbind separator" and "winbind
use default domain" in smb.conf? I have "/home/%U", "+", "yes"
For me everything is working ok and pam_mkhomedir is making home
directories with correct umask (I have set this in /etc/pam.d/{$service}).
btw. when using "winbind use default domain" you don't have to use
windows-domain before the username. =)
--
Pasi Sjöholm
More information about the dovecot
mailing list