From owner-freebsd-current Sun Jan 20 11:54:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 860C037B402; Sun, 20 Jan 2002 11:54:10 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id g0KJs8I24217; Sun, 20 Jan 2002 22:54:08 +0300 (MSK) (envelope-from ache) Date: Sun, 20 Jan 2002 22:54:07 +0300 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: markm@freebsd.org, current@freebsd.org Subject: Re: Step2, pam_unix just expired pass fix for review Message-ID: <20020120195407.GA24138@nagual.pp.ru> References: <20020120191711.GA23576@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 20, 2002 at 20:41:09 +0100, Dag-Erling Smorgrav wrote: > pam_sm_acct_mgmt() is allowed to return PAM_AUTHTOK_EXPIRED (which is > a better return value than PAM_AUTH_ERR for this case). Other than > that, I have no objections to your patch. This is fix for pam_sm_authenticate(), not for pam_sm_acct_mgmt(). Is pam_sm_authenticate() allowed to return PAM_AUTHTOK_EXPIRED too? I don't find it in allowed return codes list. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message