diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-09-26 14:05:55 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-09-26 14:05:55 +0000 |
commit | b0cca8266580d7f22b6c91e9930cea2429555ddf (patch) | |
tree | 42098999a183a7af46500c78894207329cd62980 /src/kim/lib/kim_ui_cli.c | |
parent | ec622cb22e93b74de7827c298f458976657918ec (diff) | |
download | krb5-b0cca8266580d7f22b6c91e9930cea2429555ddf.tar.gz krb5-b0cca8266580d7f22b6c91e9930cea2429555ddf.tar.xz krb5-b0cca8266580d7f22b6c91e9930cea2429555ddf.zip |
Initial checkin of Mac OS X ipc support.
Also moved "set application name" functionality to kim_library_
because most applications do not need to call it and their name
doesn't usually change over time or per thread By putting it
in a global setting apps that do need to call it only have to
call it once instead of every time they want to authenticate.
ticket: 6055
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20757 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kim/lib/kim_ui_cli.c')
-rw-r--r-- | src/kim/lib/kim_ui_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kim/lib/kim_ui_cli.c b/src/kim/lib/kim_ui_cli.c index 0e5fc9ec4..0b0188854 100644 --- a/src/kim/lib/kim_ui_cli.c +++ b/src/kim/lib/kim_ui_cli.c @@ -231,7 +231,7 @@ static kim_error kim_ui_cli_ask_change_password (kim_string in_identity_string) kim_string unknown_response = NULL; kim_boolean done = 0; kim_comparison no_comparison, yes_comparison; - + if (!err) { err = kim_os_string_create_localized (&ask_change_password, "KLStringPasswordExpired"); @@ -324,7 +324,7 @@ kim_error kim_ui_cli_change_password (kim_ui_context *in_context, if (!err && !out_old_password ) { err = check_error (KIM_NULL_PARAMETER_ERR); } if (!err && !out_new_password ) { err = check_error (KIM_NULL_PARAMETER_ERR); } if (!err && !out_verify_password) { err = check_error (KIM_NULL_PARAMETER_ERR); } - + if (!err) { err = kim_identity_get_display_string (in_identity, &identity_string); } |