On Dec 17, 2005, at 5:56 pm, Pasi Sjoholm wrote:
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. =)
Sorry... I mean to include my updated config files. I don't seem to have a "template homedir" defined anywhere... but I'm not sure if I need it, as pam.d seems to be trying to create home directories in a reasonable place, anyway (as you can see from the log).
When I log in I'm just using the username "ned" not "domain\ned", and it seems to do the domain stuff on its own.
If you'd have a copy of your own configs I'd be extremely grateful for them - perhpas by private email, if you'd prefer? I'm gonna have a tinker with it later, in any case - it's a relief this is working for someone else, so I know that what I want is possible.
Stroller.