[SSSD] PAM: Do not overwrite ret

Stephen Gallagher sgallagh at redhat.com
Fri Jan 27 01:22:05 UTC 2012


On Wed, 2012-01-25 at 14:06 -0500, Stephen Gallagher wrote:
> On Wed, 2012-01-25 at 18:46 +0100, Jakub Hrozek wrote:
> > If pam_check_user_search returned ENOENT, we would rewrite the ENOENT
> > value stored in "ret" witch EOK returned from pam_initgr_cache_set().
> > "ret" is then used to decide whether to call pam_dp_forwarder or not.
> > 
> > I think we shouldn't add user to cache on ENOENT, we are not
> > implementing negative cache in the PAM responder.
> 
> Ack

Pushed to master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120126/b5092281/attachment.sig>


More information about the sssd-devel mailing list