1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

Load default options before requesting a ticket.

PR:		213909
Reported by:	basarevych@gmail.com
MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2017-03-03 14:06:22 +00:00
parent 5d1ce10bee
commit 886c581471
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314598

View File

@ -239,6 +239,8 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused,
retval = PAM_SERVICE_ERR;
goto cleanup2;
}
krb5_get_init_creds_opt_set_default_flags(pam_context,
service, NULL, opts);
if (openpam_get_option(pamh, PAM_OPT_FORWARDABLE))
krb5_get_init_creds_opt_set_forwardable(opts, 1);