3 Jun 2003 11:48
Re: _pam_dispatch_aux does not ignore chained setcred on skip action
Sam Hartman <hartmans <at> mit.edu>
2003-06-03 09:48:24 GMT
2003-06-03 09:48:24 GMT
>>>>> "Andrew" == Andrew Morgan <morgan <at> transmeta.com> writes:
Andrew> I guess I'm completely confused by your
Andrew> observations. Could you try again to explain what you
Andrew> think is wrong?
OK, we are mostly on the same page for how the frozen chain works. Or
at least I agree with you that if you were to accept my bugs on
sourcforge, the frozen chain would work as you describe. Its released
behavior is broken for PAM_IGNORE, but that bug and a patch fixing it
is already on sourceforge.
I have some module that fails in the auth phase. As a sysadmin, I
have decided that I specifically want to ignore the failure in
question and jump over some dependent modules.
That is, I have something like
auth [default=1 other_stuff_goes_here] pam_module.so
No, I agree that the module path is set by the chain freezing and that seems fine.
The question is why does this module get to influence the return value
at all in the setcred, chauthtok or close_session phase even though
its return is ignored in the auth, open_session and first chauttok
phase.
I.E. in the freezing part of chain creation, a jump is a jump there
and ignore the value.
But a frozen jump is a jump over there and require the module to
(Continue reading)
RSS Feed