if (res) {
reply [replies].resp_retcode = PAM_SUCCESS;
} else {
reply [replies].resp_retcode = PAM_INCOMPLETE;
reply [replies].resp_retcode = PAM_TRY_AGAIN;
}