From 102769b5296d5a4895fff466def7c99f8a255fb3 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 28 Oct 2007 00:13:37 -0400 Subject: [PATCH] Use daemon/sipb-xen.mit.edu and don't give user fake auth token in an HTML comment. Closes #31 svn path=/trunk/web/; revision=216 --- templates/controls.py | 2 +- templates/vnc.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/controls.py b/templates/controls.py index 5311dd9..1e769b0 100644 --- a/templates/controls.py +++ b/templates/controls.py @@ -23,7 +23,7 @@ def uuidToString(u): "%02x" * 6]) % tuple(u) # end stolen code -def kinit(username = 'tabbott/extra', keytab = '/etc/tabbott.keytab'): +def kinit(username = 'daemon/sipb-xen.mit.edu', keytab = '/etc/sipb-xen.keytab'): """Kinit with a given username and keytab""" p = subprocess.Popen(['kinit', "-k", "-t", keytab, username], diff --git a/templates/vnc.tmpl b/templates/vnc.tmpl index 47415fe..0dfa965 100644 --- a/templates/vnc.tmpl +++ b/templates/vnc.tmpl @@ -22,7 +22,7 @@ Console to $machine.name - +*# #end def -- 1.7.9.5