Searched refs:pamh (Results 1 - 4 of 4) sorted by relevance

/sssd/src/sss_client/
H A Dpam_test_client.c53 pam_handle_t *pamh; local
78 ret = pam_start("sss_test", user, &conv, &pamh);
80 fprintf(stderr, "pam_start failed: %s\n", pam_strerror(pamh, ret));
86 ret = pam_authenticate(pamh, 0);
87 fprintf(stderr, "pam_authenticate: %s\n", pam_strerror(pamh, ret));
90 ret = pam_chauthtok(pamh, 0);
91 fprintf(stderr, "pam_chauthtok: %s\n", pam_strerror(pamh, ret));
94 ret = pam_acct_mgmt(pamh, 0);
95 fprintf(stderr, "pam_acct_mgmt: %s\n", pam_strerror(pamh, ret));
98 ret = pam_setcred(pamh,
[all...]
H A Dpam_sss.c74 static void logger(pam_handle_t *pamh, int level, const char *fmt, ...) { argument
97 pam_vsyslog(pamh, LOG_AUTHPRIV|level, fmt, ap);
102 static void free_exp_data(pam_handle_t *pamh, void *ptr, int err) argument
107 static void close_fd(pam_handle_t *pamh, void *ptr, int err) argument
180 static int do_pam_conversation(pam_handle_t *pamh, const int msg_style, argument
201 logger(pamh, LOG_INFO, "User %s message: %s",
206 ret=pam_get_item(pamh, PAM_CONV, (const void **) &conv);
230 D(("Conversation failure: %s.", pam_strerror(pamh,ret)));
244 logger(pamh, LOG_NOTICE, "Passwords do not match.");
252 ret = do_pam_conversation(pamh, PAM_ERROR_MS
300 display_pw_reset_message(pam_handle_t *pamh, const char *domain_name, const char *suffix) argument
416 select_pw_reset_message(pam_handle_t *pamh, struct pam_items *pi) argument
451 user_info_offline_auth(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
499 user_info_grace_login(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
533 user_info_expire_warn(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
574 user_info_offline_auth_delayed(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
624 user_info_offline_chpass(pam_handle_t *pamh) argument
639 user_info_otp_chpass(pam_handle_t *pamh) argument
655 user_info_account_expired(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
712 user_info_chpass_error(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
767 eval_user_info_response(pam_handle_t *pamh, size_t buflen, uint8_t *buf) argument
813 eval_response(pam_handle_t *pamh, size_t buflen, uint8_t *buf, struct pam_items *pi) argument
1032 get_pam_items(pam_handle_t *pamh, uint32_t flags, struct pam_items *pi) argument
1136 send_and_receive(pam_handle_t *pamh, struct pam_items *pi, enum sss_cli_command task, bool quiet_mode) argument
1262 prompt_password(pam_handle_t *pamh, struct pam_items *pi, const char *prompt) argument
1293 prompt_2fa(pam_handle_t *pamh, struct pam_items *pi, const char *prompt_fa1, const char *prompt_fa2) argument
1414 prompt_sc_pin(pam_handle_t *pamh, struct pam_items *pi) argument
1467 prompt_new_password(pam_handle_t *pamh, struct pam_items *pi) argument
1499 eval_argv(pam_handle_t *pamh, int argc, const char **argv, uint32_t *flags, int *retries, bool *quiet_mode, const char **domains) argument
1562 get_authtok_for_authentication(pam_handle_t *pamh, struct pam_items *pi, uint32_t flags) argument
1617 get_authtok_for_password_change(pam_handle_t *pamh, struct pam_items *pi, uint32_t flags, int pam_flags) argument
1697 check_login_token_name(pam_handle_t *pamh, struct pam_items *pi, bool quiet_mode) argument
1752 pam_sss(enum sss_cli_command task, pam_handle_t *pamh, int pam_flags, int argc, const char **argv) argument
1959 pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
1966 pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
1972 pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
1978 pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
1984 pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
1990 pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv ) argument
[all...]
H A Dsss_pam_compat.h37 #define pam_vsyslog(pamh, priority, fmt, vargs) \
/sssd/src/providers/proxy/
H A Dproxy_child.c183 pam_handle_t *pamh=NULL; local
219 ret = pam_start(pam_target, shortname, &conv, &pamh);
224 ret = pam_set_item(pamh, PAM_TTY, pd->tty);
227 pam_strerror(pamh, ret));
229 ret = pam_set_item(pamh, PAM_RUSER, pd->ruser);
232 pam_strerror(pamh, ret));
234 ret = pam_set_item(pamh, PAM_RHOST, pd->rhost);
237 pam_strerror(pamh, ret));
242 pam_status = pam_authenticate(pamh, 0);
245 pam_status=pam_setcred(pamh,
[all...]

Completed in 1333 milliseconds