ia64/xen-unstable

changeset 15226:cf3cf0d1b175

xend: Fix PAM authentication method for some versions of PyPAM.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri May 25 13:02:08 2007 +0100 (2007-05-25)
parents ca62b4b4f762
children f2d2d5f18543
files tools/python/xen/xend/XendAuthSessions.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAuthSessions.py	Fri May 25 11:24:02 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendAuthSessions.py	Fri May 25 13:02:08 2007 +0100
     1.3 @@ -87,7 +87,7 @@ class XendAuthSessions:
     1.4          pam_auth.start("login")
     1.5          pam_auth.set_item(PAM.PAM_USER, username)
     1.6  
     1.7 -        def _pam_conv(auth, query_list, user_data):
     1.8 +        def _pam_conv(auth, query_list, user_data = None):
     1.9              resp = []
    1.10              for i in range(len(query_list)):
    1.11                  query, qtype = query_list[i]