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

/osnet-11/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c57 char *authtok; local
66 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok);
70 if (authtok == NULL) {
71 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
74 if (authtok != NULL) {
76 (void *)authtok);
149 char *authtok; local
154 "pam_authtok_get: verifying authtok");
161 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
162 if (res != PAM_SUCCESS || authtok
[all...]
/osnet-11/usr/src/lib/pam_modules/zfs_key/
H A Dzfs_key.c192 char *authtok; local
256 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
285 libzfs_crypto_set_key(g_zfs, authtok, strlen(authtok));
368 if (authtok != NULL)
369 zfs_crypto_set_key(zhp, authtok, strlen(authtok));
450 char *authtok, *oldauthtok; local
541 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
542 zfs_crypto_set_key(zhp, authtok, strle
[all...]
/osnet-11/usr/src/lib/libpam/
H A Dpam_framework.c60 /* PAM_AUTHTOK */ "authtok",
3037 * This function allocates memory for the new authtok.
3060 char **authtok)
3067 if ((*authtok = calloc(PASS_MAX+1, sizeof (char))) == NULL)
3087 free(*authtok);
3088 *authtok = NULL;
3090 (void) strlcpy(*authtok, new_password,
3130 (void) strlcpy(*authtok, ret_resp->resp, PASS_MAX+1);
3143 bzero(*authtok, PASS_MAX+1);
3144 free(*authtok);
3059 __pam_get_authtok(pam_handle_t *pamh, int source, int type, char *prompt, char **authtok) argument
[all...]

Completed in 290 milliseconds