Home
last modified time | relevance | path

Searched refs:pamh (Results 1 – 7 of 7) sorted by relevance

/openbmc/pam-ipmi/src/pam_ipmisave/
H A Dpam_ipmisave.c106 if (!pamh) { in get_option()
173 pam_syslog(pamh, LOG_DEBUG, in encrypt_decrypt_data()
180 pam_syslog(pamh, LOG_DEBUG, in encrypt_decrypt_data()
206 pam_syslog(pamh, LOG_DEBUG, in encrypt_decrypt_data()
223 pam_syslog(pamh, LOG_DEBUG, in encrypt_decrypt_data()
499 pam_syslog(pamh, LOG_DEBUG, in update_pass_special_file()
512 pam_syslog(pamh, LOG_DEBUG, in update_pass_special_file()
578 pamh, LOG_DEBUG, in update_pass_special_file()
684 pam_syslog(pamh, LOG_ERR, in pam_sm_chauthtok()
694 pamh, LOG_ERR, in pam_sm_chauthtok()
[all …]
/openbmc/pam-ipmi/src/pam_ipmicheck/
H A Dpam_ipmicheck.c57 int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_chauthtok() argument
67 pam_syslog(pamh, LOG_DEBUG, "Special group name is %s", spec_grp_name); in pam_sm_chauthtok()
70 pam_syslog(pamh, LOG_DEBUG, "PRELIM_CHECK Called"); in pam_sm_chauthtok()
76 retval = pam_get_authtok(pamh, PAM_AUTHTOK, &pass_new, NULL); in pam_sm_chauthtok()
78 pam_syslog(pamh, LOG_ERR, in pam_sm_chauthtok()
83 retval = pam_get_user(pamh, &user, NULL); in pam_sm_chauthtok()
91 grp = pam_modutil_getgrnam(pamh, spec_grp_name); in pam_sm_chauthtok()
108 pam_syslog(pamh, LOG_ERR, in pam_sm_chauthtok()
112 pam_error(pamh, in pam_sm_chauthtok()
/openbmc/qemu/authz/
H A Dpamacct.c36 pam_handle_t *pamh = NULL; in qauthz_pam_is_allowed() local
43 &pamh); in qauthz_pam_is_allowed()
50 ret = pam_acct_mgmt(pamh, PAM_SILENT); in qauthz_pam_is_allowed()
51 pam_end(pamh, ret); in qauthz_pam_is_allowed()
54 identity, pam_strerror(pamh, ret)); in qauthz_pam_is_allowed()
/openbmc/qemu/tests/unit/
H A Dtest-authz-pam.c42 pam_handle_t **pamh) in pam_start() argument
53 *pamh = (pam_handle_t *)0xbadeaffe; in pam_start()
59 pam_acct_mgmt(pam_handle_t *pamh, int flags) in pam_acct_mgmt() argument
70 pam_end(pam_handle_t *pamh, int status) in pam_end() argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/vlock/vlock-2.2.3/
H A Dvlock_pam_tally2_reset.patch22 fprintf(stderr, "vlock: %s\n", pam_strerror(pamh, pam_status));
24 + pam_status = pam_acct_mgmt(pamh, 0);
25 + if (pam_status == PAM_SUCCESS) pam_setcred(pamh, PAM_REINITIALIZE_CRED);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/
H A D0004-lxdm.c-add-function-to-change-password-with-pam.patch65 + pam_handle_t *pamh = NULL;
71 + int ret = pam_start("lxdm", user, &conv, &pamh);
78 + ret = pam_chauthtok(pamh, 0);
80 + g_warning("pam_chauthtok failed: %s", pam_strerror(pamh, ret));
84 + (void)pam_end(pamh, PAM_SUCCESS);
/openbmc/qemu/
H A Dmeson.build1863 pam_handle_t *pamh = NULL;
1864 pam_start(service_name, user, &pam_conv, &pamh);