Index: contrib/openpam/lib/openpam_dispatch.c =================================================================== RCS file: /home/ncvs/src/contrib/openpam/lib/openpam_dispatch.c,v retrieving revision 1.1.1.9 diff -u -r1.1.1.9 openpam_dispatch.c --- contrib/openpam/lib/openpam_dispatch.c 1 Jun 2003 12:54:03 -0000 1.1.1.9 +++ contrib/openpam/lib/openpam_dispatch.c 23 Mar 2005 03:35:15 -0000 @@ -129,13 +129,11 @@ continue; if (r == PAM_SUCCESS) { /* - * For pam_setcred() and pam_chauthtok() with the - * PAM_PRELIM_CHECK flag, treat "sufficient" as - * "optional". + * For pam_chauthtok() with the PAM_PRELIM_CHECK + * flag, treat "sufficient" or "binding" as "optional". */ if ((chain->flag == PAM_SUFFICIENT || chain->flag == PAM_BINDING) && !fail && - primitive != PAM_SM_SETCRED && !(primitive == PAM_SM_CHAUTHTOK && (flags & PAM_PRELIM_CHECK))) break;