Searched refs:authtok (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c58 char *authtok; local
67 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok);
71 if (authtok == NULL) {
72 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
75 if (authtok != NULL) {
77 (void *)authtok);
150 char *authtok; local
155 "pam_authtok_get: verifying authtok");
162 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
163 if (res != PAM_SUCCESS || authtok
[all...]
/illumos-gate/usr/src/lib/libpam/
H A Dpam_impl.h145 char **authtok);
H A Dpam_framework.c59 /* PAM_AUTHTOK */ "authtok",
2774 * This function allocates memory for the new authtok.
2797 char **authtok)
2804 if ((*authtok = calloc(PASS_MAX+1, sizeof (char))) == NULL)
2824 free(*authtok);
2825 *authtok = NULL;
2827 (void) strlcpy(*authtok, new_password,
2867 (void) strlcpy(*authtok, ret_resp->resp, PASS_MAX+1);
2880 bzero(*authtok, PASS_MAX+1);
2881 free(*authtok);
2796 __pam_get_authtok(pam_handle_t *pamh, int source, int type, char *prompt, char **authtok) argument
[all...]

Completed in 105 milliseconds