diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-25 13:02:08 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-25 13:02:08 +0100 |
commit | 8eda7551e939123181b4a5841288d7acf39b4438 (patch) | |
tree | 0b1d587c59a448f05db2cefd6c21fffd219230c1 /tools | |
parent | d1252ef8389effb0ba89045bc97230778f61019d (diff) | |
download | xen-8eda7551e939123181b4a5841288d7acf39b4438.tar.gz xen-8eda7551e939123181b4a5841288d7acf39b4438.tar.bz2 xen-8eda7551e939123181b4a5841288d7acf39b4438.zip |
xend: Fix PAM authentication method for some versions of PyPAM.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/XendAuthSessions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendAuthSessions.py b/tools/python/xen/xend/XendAuthSessions.py index 769c66f3fa..fb28e3f0ba 100644 --- a/tools/python/xen/xend/XendAuthSessions.py +++ b/tools/python/xen/xend/XendAuthSessions.py @@ -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] |