mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Fix default for the authentication on the Xen-API server -- the default should
be PAM, not none! Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
f99727ee65
commit
6a7c1b4ee0
1 file changed
+1
-1
@@ -154,7 +154,7 @@ def create():
|
||||
if api_cfg:
|
||||
try:
|
||||
addrs = [(str(x[0]).split(':'),
|
||||
len(x) > 1 and x[1] or XendAPI.AUTH_NONE,
|
||||
len(x) > 1 and x[1] or XendAPI.AUTH_PAM,
|
||||
len(x) > 2 and x[2] and map(re.compile, x[2].split(" "))
|
||||
or None)
|
||||
for x in api_cfg]
|
||||
|
||||