Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 19:31:14 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Mark Murray <mark@grondar.za>, 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>
In-Reply-To: <xzp665y9vsj.fsf@flood.ping.uio.no>
References:  <20020119101114.GA7243@nagual.pp.ru> <200201191051.g0JApTt20369@grimreaper.grondar.org> <20020119105943.GB7683@nagual.pp.ru> <20020119115555.GA8265@nagual.pp.ru> <xzp665y9vsj.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 19, 2002 at 16:59:08 +0100, Dag-Erling Smorgrav wrote:
> "Andrey A. Chernov" <ache@nagual.pp.ru> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020119163114.GA10976>