Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 13:52:13 +0000
From:      Mark Murray <mark@grondar.za>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, current@FreeBSD.ORG
Subject:   Re: Step5, pam_opie OPIE auth fix for review 
Message-ID:  <200201211352.g0LDqEt39193@grimreaper.grondar.org>
In-Reply-To: <20020121133326.GA35793@nagual.pp.ru> ; from "Andrey A. Chernov" <ache@nagual.pp.ru>  "Mon, 21 Jan 2002 16:33:27 %2B0300."
References:  <20020121133326.GA35793@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, Jan 21, 2002 at 14:07:48 +0100, Dag-Erling Smorgrav wrote:
> > Dag-Erling Smorgrav <des@ofug.org> writes:
> > > Umm, you can't use opiechallenge() for that.  You're not supposed to
> > > call opiechallenge() without also calling opieverify() (plus, I think
> > > opiechallenge() "consumes" a challenge).  Use opielookup() instead.
> > 
> > Even better, opie_haskey() (which is a wrapper around opielookup()).
> > New patch attached.
> 
> Yes, this patch works as expected, but I doubt about opie_haskey() status.
> It looks like non-standard FreeBSD addition since it is in the local
> opieextra.c file and not in contrib/opie. If you care about
> machine independance, better use opielookup() directly.

No, that is OK. :-)

The FreeBSD PAM modules are all written from scratch as BSD PAM modules.

M
-- 
o       Mark Murray
\_      FreeBSD Services Limited
O.\_    Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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