[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: thoughts/comments on renewal/revocation/cleanup



On Tue, 17 Mar 1998, Andrew Morgan wrote:

> > I can't figure out how to avoid the problem of ending up with them
> > laying around in some scenario... unless I use a cleanup function of
> > some sort which cheats badly. I may do that.
> 
> What is so bad about using pam_set_data() and a cleanup() function?
> Why is this cheating?  I am under the impression that this is exactly
> the reason that these functions are part of the API.

The fact that PAM_DATA_REPLACE is not guaranteed to exist in all
implementations (at least by my reading?) scares me, mostly. i went ahead
and implemented the code to use this approach last night, though.

-D




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []