Home
last modified time | relevance | path

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

/freebsd/lib/libpam/modules/pam_ksu/
H A Dpam_ksu.c59 char *su_principal_name; in pam_sm_authenticate() local
78 rv = get_su_principal(context, user, ruser, &su_principal_name, &su_principal); in pam_sm_authenticate()
81 PAM_LOG("kuserok: %s -> %s", su_principal_name, user); in pam_sm_authenticate()
83 pamret = rv ? auth_krb5(pamh, context, su_principal_name, su_principal) : PAM_AUTH_ERR; in pam_sm_authenticate()
84 free(su_principal_name); in pam_sm_authenticate()
112 auth_krb5(pam_handle_t *pamh, krb5_context context, const char *su_principal_name, in auth_krb5() argument
125 if (su_principal_name != NULL) in auth_krb5()
126 (void)asprintf(&prompt, "Password for %s:", su_principal_name); in auth_krb5()
182 char **su_principal_name, krb5_principal *su_principal) in get_su_principal() argument
247 *su_principal_name = NULL; in get_su_principal()
[all …]