|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH] cli server should ask for password for local-session c
# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1255434542 -3600
# Node ID d54ca830c12a088121560a96704338a85c016d51
# Parent 3474265d5c6f34d8ef5e3cd65a814936e9e37ece
CA-33730: cli server should ask password for local-session cmds
Signed-off-by: Marcus Granado <marcus.granado@xxxxxxxxxxxxx>
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
1 file changed, 1 insertion(+), 1 deletion(-)
ocaml/xapi/xapi_cli.ml | 2 +-
hotfix-cli-local.patch
Description: Text Data
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-API] [PATCH] cli server should ask for password for local-session cmds,
David Scott <=
|
|
|
|
|