PAM_IGNORE not being handled correctly

Mike Wham mtwham at gmail.com
Mon Mar 3 19:43:57 UTC 2014


Thank you very much! That "tutorial" page was misleading, then.


On Mon, Mar 3, 2014 at 7:20 AM, Tomas Mraz <tmraz at redhat.com> wrote:

> On Pá, 2014-02-28 at 20:13 -0600, Mike Wham wrote:
> > I'm trying to solve what I believe to be a red-hat / CentOS specific
> issue
> > with PAM_IGNORE.
> > Using this example code <http://www.makelinux.net/alp/084> as a base,
> I'm
> > trying to authenticate with a pam module which I made in PAM
> > Python.<
> http://ace-host.stuart.id.au/russell/files/pam_python/doc/index.html>
> > I
> > just replaced the "su" with my module.
> >
> > PAM_SUCCESS and PAM_AUTH_ERR work fine, but I get error code 6
> > (PAM_PERM_DENIED) when the module gives me PAM_IGNORE.
> >
> > Is there something about this conversation function that is wrong, or is
> > there something different between the RHEL implementation of PAM and that
> > found in Ubuntu?
>
> PAM_IGNORE should never be returned to the application.
>
> --
> Tomas Mraz
> No matter how far down the wrong road you've gone, turn back.
>                                               Turkish proverb
> (You'll never know whether the road is wrong though.)
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20140303/a2dbbc87/attachment.htm>


More information about the Pam-list mailing list