Make sure identity is set when using kim prompter
authorAlexandra Ellwood <lxs@mit.edu>
Fri, 17 Oct 2008 17:04:09 +0000 (17:04 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Fri, 17 Oct 2008 17:04:09 +0000 (17:04 +0000)
ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20882 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/lib/kim_credential.c

index b4d15ab8160ebf9a4315d9b81e046e93ba0b0225..6a997159ec581ec3561e68d8144e0108a56bfa54 100644 (file)
@@ -657,6 +657,7 @@ kim_error kim_credential_create_for_change_password (kim_credential  *out_creden
         
         /* set counter to zero so we can tell if we got prompted */
         in_ui_context->prompt_count = 0; 
+        in_ui_context->identity = in_identity;
 
         err = krb5_error (credential->context,
                           krb5_get_init_creds_password (credential->context,