Re: PAM_IGNORE not being handled correctly
Mike Wham <[email protected]> Mon, 3 Mar 2014 13:43:57 -0600
| Newsgroups | gmane.linux.pam |
|---|---|
| Message-ID | <CAMJzJOXmmEz+kco4KY3mBPL9ZxN9JX=gjT=GNPxfoo-Nec6U1w@mail.gmail.com> |
Thank you very much! That "tutorial" page was misleading, then. On Mon, Mar 3, 2014 at 7:20 AM, Tomas Mraz <[email protected]> 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 > [email protected] > https://www.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pam-list