mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: Fix PAM authentication method for some versions of PyPAM.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
d1252ef838
commit
8eda7551e9
1 file changed
+1
-1
@@ -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]
|
||||
|
||||