Lines Matching refs:pamrc
190 int pamrc = pam_get_item(hPAM, PAM_CONV, (void **)&conv);
193 int pamrc = pam_get_item(hPAM, PAM_CONV, (const void **)&conv);
195 if ( pamrc == PAM_SUCCESS
206 pamrc = conv->conv(1 /* One message only */, &msg_p, &resp, conv->appdata_ptr);
351 int pamrc = pam_set_item(hPAM, PAM_USER, pszUsername);
352 if (pamrc != PAM_SUCCESS)
354 pam_vbox_error(hPAM, "pam_vbox_check_creds: could not set user name! pamrc=%d, msg=%s. Aborting\n",
355 pamrc, pam_strerror(hPAM, pamrc));
359 pamrc = pam_set_item(hPAM, PAM_AUTHTOK, pszPassword);
360 if (pamrc != PAM_SUCCESS)
361 pam_vbox_error(hPAM, "pam_vbox_check_creds: could not set password! pamrc=%d, msg=%s. Aborting\n",
362 pamrc, pam_strerror(hPAM, pamrc));
368 pam_vbox_log(hPAM, "pam_vbox_check_creds: returned with pamrc=%d, msg=%s\n",
369 pamrc, pam_strerror(hPAM, pamrc));