[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] Authentication Issues
Hello Everyone, I'm having some issues authenticating with the api. I keep getting a "SESSION_AUTHENTICATION_FAILED". No matter what user/pass combination I try. When authenticating against pam does the users' group matter or will the authentication work against any user? In my xend-config.sxp (xen-api-server ((4464 pam))) I have installed PyPAM and that got rid of this message: [2009-07-22 07:27:47 4927] WARNING (XendAuthSessions:81) python-pam is required for XenAPI support. I ran a trace on xend and that spit back this when attempting to hit the xmlrpc interface: [2009-07-22 08:31:30 6013] ERROR (xmlrpclib2:166) Internal error handling session.login_with_password Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 756, in session_login_with_password session = ((self.auth == AUTH_NONE and File "/usr/lib/python2.4/site-packages/xen/xend/XendAuthSessions.py", line 52, in login_with_password if self.is_authorized(username, password): File "/usr/lib/python2.4/site-packages/xen/xend/XendAuthSessions.py", line 104, in is_authorized try: File "/usr/lib/python2.4/site-packages/xen/xend/XendAuthSessions.py", line 104, in is_authorized try: File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 296, in trace self.print_trace("%4d %s" % File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 258, in print_trace for i in range(self.traceindent): TypeError: argument 2 must be string, not function I am sending a request formatted as follows: <?xml version="1.0"?>Any help with this would be greatly appreciated! And if you need any more logs or info don't hesitate to ask. -- ~Robert Navarro _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |