From fbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Wed, 1 Oct 2008 17:11:22 +0000 Subject: [PATCH] Fill out credentials when getting tickets with changed password ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20795 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kim/lib/kim_credential.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/kim/lib/kim_credential.c b/src/kim/lib/kim_credential.c index 3dc88e576..249582c9d 100644 --- a/src/kim/lib/kim_credential.c +++ b/src/kim/lib/kim_credential.c @@ -323,6 +323,13 @@ kim_error kim_credential_create_new_with_password (kim_credential *out_credentia prompt_count = context.prompt_count; /* remember if we got prompts */ if (!err) { free_creds = 1; } + + if (!err) { + err = krb5_error (credential->context, + krb5_copy_creds (credential->context, + &creds, + &credential->creds)); + } } kim_string_free (&new_password); -- 2.26.2