# HG changeset patch # User Marcus Granado # Date 1255434542 -3600 # Node ID d54ca830c12a088121560a96704338a85c016d51 # Parent 3474265d5c6f34d8ef5e3cd65a814936e9e37ece CA-33730: cli server should ask password for local-session cmds Signed-off-by: Marcus Granado diff -r 3474265d5c6f -r d54ca830c12a ocaml/xapi/xapi_cli.ml --- a/ocaml/xapi/xapi_cli.ml Wed Feb 03 23:27:37 2010 +0000 +++ b/ocaml/xapi/xapi_cli.ml Tue Oct 13 12:49:02 2009 +0100 @@ -81,7 +81,7 @@ | false, None -> Client.Client.Session.login_with_password ~rpc ~uname:u ~pwd:p ~version:Xapi_globs.api_version_string, true | true, None -> - Client.Client.Session.slave_local_login ~rpc ~psecret:(!Xapi_globs.pool_secret), true + Client.Client.Session.slave_local_login_with_password ~rpc ~uname:u ~pwd:p, true | _, Some session -> session, false in let do_logout () = if logout then begin