Mailing List Archive

[xen-unstable] xend: Fix PAM authentication method for some versions of PyPAM.
# HG changeset patch
# User kfraser@localhost.localdomain
# Date 1180094528 -3600
# Node ID cf3cf0d1b175c399568cc44053a4dc3826baba2d
# Parent ca62b4b4f76237016d9b61cd58b5e4480b25b673
xend: Fix PAM authentication method for some versions of PyPAM.
Signed-off-by: Keir Fraser <keir@xensource.com>
---
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@lists.xensource.com
http://lists.xensource.com/xen-changelog