ia64/xen-unstable

changeset 12716:952c2cddff0c

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>
author Ewan Mellor <ewan@xensource.com>
date Thu Nov 30 20:16:54 2006 +0000 (2006-11-30)
parents fbfbc6ed47d9
children 697b0203e68f
files tools/python/xen/xend/server/SrvServer.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvServer.py	Thu Nov 30 20:07:58 2006 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvServer.py	Thu Nov 30 20:16:54 2006 +0000
     1.3 @@ -154,7 +154,7 @@ def create():
     1.4      if api_cfg:
     1.5          try:
     1.6              addrs = [(str(x[0]).split(':'),
     1.7 -                      len(x) > 1 and x[1] or XendAPI.AUTH_NONE,
     1.8 +                      len(x) > 1 and x[1] or XendAPI.AUTH_PAM,
     1.9                        len(x) > 2 and x[2] and map(re.compile, x[2].split(" "))
    1.10                        or None)
    1.11                       for x in api_cfg]