Re: [Dovecot] Checkpassword interface for custom password check and home mounting

2013-11-24 Thread Jouko Nikula
On Mon, Nov 25, 2013 at 10:57 AM, Kai Hendry wrote: > May I ask why you mount the user directory? Couldn't it just be already > mounted and you simply use the PAM interface? First of all, sorry about the double post. Yes I believe I could use the PAM interface. It looks more suitable to this. I w

Re: [Dovecot] Checkpassword interface for custom password check and home mounting

2013-11-24 Thread Kai Hendry
On Mon, Nov 25, 2013 at 09:36:39AM +0700, Jouko Nikula wrote: > I'm trying to use the checkpassword interface to do a password check and if > the check succeeds I mount the user home directory (including mail) using > the users login password and uid. May I ask why you mount the user directory? Co

[Dovecot] Checkpassword interface for custom password check and home mounting

2013-11-24 Thread Jouko Nikula
Hi, I'm trying to use the checkpassword interface to do a password check and if the check succeeds I mount the user home directory (including mail) using the users login password and uid. Things work well if I do the mount manually, but when I add the home directory mounting to checkpassword thi

[Dovecot] Checkpassword interface for custom password check and home mounting

2013-11-24 Thread Jouko Nikula
Hi, I'm trying to use the checkpassword interface to do a password check and if the check succeeds I mount the user home directory (including mail) using the users login password and uid. My password check seems to work, but when I add the home directory mounting things seem to stop. Dovecot neve