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

[Xen-changelog] [xen-unstable] xend: Fix PAM authentication method for some versions of PyPAM.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1180094528 -3600
# Node ID cf3cf0d1b175c399568cc44053a4dc3826baba2d
# Parent  ca62b4b4f76237016d9b61cd58b5e4480b25b673
xend: Fix PAM authentication method for some versions of PyPAM.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAuthSessions.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ca62b4b4f762 -r cf3cf0d1b175 tools/python/xen/xend/XendAuthSessions.py
--- a/tools/python/xen/xend/XendAuthSessions.py Fri May 25 11:24:02 2007 +0100
+++ b/tools/python/xen/xend/XendAuthSessions.py Fri May 25 13:02:08 2007 +0100
@@ -87,7 +87,7 @@ class XendAuthSessions:
         pam_auth.start("login")
         pam_auth.set_item(PAM.PAM_USER, username)
 
-        def _pam_conv(auth, query_list, user_data):
+        def _pam_conv(auth, query_list, user_data = None):
             resp = []
             for i in range(len(query_list)):
                 query, qtype = query_list[i]

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.