From owner-cvs-all Sat Jan 19 8:31:28 2002 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 8E95E37B402; Sat, 19 Jan 2002 08:31:20 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id g0JGVFn11079; Sat, 19 Jan 2002 19:31:16 +0300 (MSK) (envelope-from ache) Date: Sat, 19 Jan 2002 19:31:14 +0300 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_opie pam_opie.c Message-ID: <20020119163114.GA10976@nagual.pp.ru> References: <20020119101114.GA7243@nagual.pp.ru> <200201191051.g0JApTt20369@grimreaper.grondar.org> <20020119105943.GB7683@nagual.pp.ru> <20020119115555.GA8265@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-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jan 19, 2002 at 16:59:08 +0100, Dag-Erling Smorgrav wrote: > "Andrey A. Chernov" writes: > > All it means that there must be 3-state machine for pam_opie: PAM_SUCCESS, > > PAM_AUTH_ERR and some 3rd, PAM_CRED_ERR. > > pam_sm_authenticate() is not allowed to return PAM_CRED_ERR. Please > leave PAM hacking to those who understand it. I not insist on this particular code, but there must be something not equal to PAM_SUCCESS and PAM_AUTH_ERR. Maybe PAM_AUTHINFO_UNAVAIL or PAM_CRED_INSUFFICIENT? What you suggest? -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message