summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-10-01 17:11:22 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-10-01 17:11:22 +0000
commitfbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f (patch)
tree90af9cc6976ccbdac9943514a118cae5f43c7799
parent3f0979ee8bf09c9d5190c56f9facdcebb17a7680 (diff)
downloadkrb5-fbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f.tar.gz
krb5-fbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f.tar.xz
krb5-fbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f.zip
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
-rw-r--r--src/kim/lib/kim_credential.c7
1 files changed, 7 insertions, 0 deletions
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);