xen/xen-api-auth.patch

14 lines
580 B
Diff

Index: xen-4.0.1-testing/tools/python/xen/xend/XendAuthSessions.py
===================================================================
--- xen-4.0.1-testing.orig/tools/python/xen/xend/XendAuthSessions.py
+++ xen-4.0.1-testing/tools/python/xen/xend/XendAuthSessions.py
@@ -84,7 +84,7 @@ class XendAuthSessions:
# if PAM doesn't exist, let's ignore it
return False
- pam_auth.start("login")
+ pam_auth.start("xen-api")
pam_auth.set_item(PAM.PAM_USER, username)
def _pam_conv(auth, query_list, user_data = None):