What should be the parameters to this RPC "login_with_password" when I am already at the server...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


I have "xen-3.1.0-13.fc8" on my machine...My Dom-0 distro is "Fedora Core
8"... DomU VMs are "WinXP2" & "FC8"...


I have gone through Xen Management API reference where I found the RPC
"(session ref) login_with_password (string uname, string pwd)".... Now My
question is what should be the parameters to this RPC when I am already at
the server...? When I am accessing the server remotely then I can use this
RPC as follows-->


xen = xmlrpclib.Server("http://test:4464";)

session = session.login_with_password("user", "passwd")


But what if am already at the server..?


API reference -->

RPC name: login with password

Overview: Attempt to authenticate the user, returning a session id if
successful.

Signature:

(session ref) login_with_password (string uname, string pwd)

Arguments:

type name description

string uname Username for login.

string pwd Password for login.

Return Type: session ref

ID of newly created session


Thanks,

Kushal Waikar,

kushalwaikar@xxxxxxxxxxx 

-- 
View this message in context: http://n2.nabble.com/What-should-be-the-parameters-to-this-RPC-%22login_with_password%22-when-I-am-already-at-the-server...--tp2335876p2335876.html
Sent from the fedora mailing list archive at Nabble.com.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux