WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] cli server should ask for password for local-session c

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] cli server should ask for password for local-session cmds
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 4 Feb 2010 18:22:16 +0000
Delivery-date: Thu, 04 Feb 2010 10:15:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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 +-


Attachment: 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 <=