]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use preauth options when changing password
authorGreg Hudson <ghudson@mit.edu>
Fri, 28 Feb 2014 19:49:35 +0000 (14:49 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 3 Mar 2014 16:58:58 +0000 (11:58 -0500)
commit9f9c4acd9629913d2ff197e0f4994d091f2073d5
treec4eb7ff856864228f7cf93942d4571ecd3d74a9e
parent4356deefa2d2fe0bc7b52f3b62a387c7ec1eb369
Use preauth options when changing password

If we try to change the password in rb5_get_init_creds_password, we
must use all application-specified gic options which affect
preauthentication when getting the kadmin/changepw ticket.  Create a
helper function make_chpw_options which copies the application's
options, unsets the options we don't want, and sets options
appropriate for a temporary ticket.

ticket: 7868
src/lib/krb5/krb/gic_pwd.c