Date: Wed, 17 Feb 2010 10:10:57 +0000 From: Mike Bristow <mike@urgle.com> To: Frank Bonnet <f.bonnet@esiee.fr> Cc: users@lists.roundcube.net, freebsd-questions@freebsd.org Subject: Re: FTP troubles with Roundcube vacation plugin Message-ID: <20100217101057.GA34458@cheddar.urgle.com> In-Reply-To: <4B7AA13B.1030505@esiee.fr> References: <4B7AA13B.1030505@esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet wrote: > I'm in trouble with vacation plugin which perform an FTP session at > localhost , for an obscure PAM/FreeBSD reason the FTP session is not > always working ... > > Sometimes it works well [snip] > > then suddenly it stops working > > Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1) > Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication > token required > Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost It is hard to debug this certainly without knowing your ftpd's PAM configuration (/etc/pam.d/ftpd), but assuming you have the default FreeBSD setup, then it is likely the password has expired. This would explain the behaviour if changing the password makes it work again. The expiry time is in /etc/master.passwd (it's the 5th or 6th field; I forget which; see passwd(5)), and the expiry time set when you change your password is controlled by your login class (see login.conf(5)) Cheers, -- Please help Imogen May keep talking - www.imogenmay.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100217101057.GA34458>