Changeset 501 in openpam for trunk


Ignore:
Timestamp:
Dec 7, 2011, 1:28:05 AM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Report an error if one of the modules in the chain does not implement
the requested primitive. This is a significant change, but it should
only affect poorly-written PAM modules, and the alternative is a
potential fail-open situation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_dispatch.c

    r460 r501  
    106106                        openpam_log(PAM_LOG_ERROR, "%s: no %s()",
    107107                            chain->module->path, pam_sm_func_name[primitive]);
    108                         continue;
     108                        r = PAM_SYSTEM_ERR;
    109109                } else {
    110110                        pamh->primitive = primitive;
Note: See TracChangeset for help on using the changeset viewer.