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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux